Torna indietro   Hardware Upgrade Forum > Software > Programmazione

DJI RS 5: stabilizzazione e tracking intelligente per ogni videomaker
DJI RS 5: stabilizzazione e tracking intelligente per ogni videomaker
Analizziamo nel dettaglio DJI RS 5, l'ultimo arrivato della famiglia Ronin progettato per videomaker solisti e piccoli studi. Tra tracciamento intelligente migliorato e ricarica ultra rapida, scopriamo come questo gimbal eleva la qualità delle produzioni.
AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequenze al top per il gaming
AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequenze al top per il gaming
AMD Ryzen 7 9850X3D è la nuova CPU gaming di riferimento grazie alla 3D V-Cache di seconda generazione e frequenze fino a 5,6 GHz. Nei test offre prestazioni superiori a 9800X3D e 7800X3D, confermando la leadership AMD nel gaming su PC.
Le soluzioni FSP per il 2026: potenza e IA al centro
Le soluzioni FSP per il 2026: potenza e IA al centro
In occasione del Tech Tour 2025 della European Hardware Association abbiamo incontrato a Taiwan FSP, azienda impegnata nella produzione di alimentatori, chassis e soluzioni di raffreddamento tanto per clienti OEM come a proprio marchio. Potenze sempre più elevate negli alimentatori per far fronte alle necessità delle elaborazioni di intelligenza artificiale.
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 19-10-2008, 17:03   #1
BeLakor
Senior Member
 
Iscritto dal: Dec 2006
Città: Lodi
Messaggi: 588
[PHP] margine inferiore ad un elemento inserito

Il sito il questione è questo.

Come potete vedere nell'header è presente un file .swf che non fà altro se non andarsi a prendere titolo e sottotitolo.

Il problema è che avrei bisogno di alzare un pò il title.swf che altrimenti si scontra con i bottoni a fianco.

Copio-incollo in codice dell'index.php del template sperando non sia troppo lungo e sperando qualcuno riesca ad aiutarmi:

EDIT: Se può interessare il file title.swf è lungo 500 e alto 100.

Quote:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );

if ($this->params->get('ueberschrift') == false) {
$seitentitel = $mainframe->getCfg('sitename');
} else {
$seitentitel = $this->params->get('ueberschrift');
}

if ($this->params->get('untertitel') == false) {
$untertitel = 0;
} else {
$untertitel = $this->params->get('untertitel');
}

if ($this->params->get('copyright') == false) {
$copyright = $mainframe->getCfg('sitename');
} else {
$copyright = $this->params->get('copyright');
}

if ($this->params->get('flash') == 'ja') {
$useflash = true;
} else {
$useflash = false;
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<jdoc:include type="head" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $this->baseurl ?>/images/favicon.ico" />

<script type="text/javascript" charset="utf-8">

window.addEvent('domready', function() {
/* Loader positionieren */
$('loader').effect('opacity').set(0);
/* Body verschwinden lassen */
$('body').effect('opacity').set(0);

var marginChange = new Fx.Style('header', 'margin-top', {duration:500});
marginChange.set(-175);


});

window.addEvent('load', function() {




$('loader').effect('opacity', {duration: 750, transition: Fx.Transitions.linear}).start(1,0).addEvent('onComplete', function(){


var marginChange = new Fx.Style('header', 'margin-top', {duration:750});
marginChange.start(-175, 0).addEvent('onComplete', function(){
$('body').setStyles({'display': 'block'});
$('body').effect('opacity', {duration: 750, transition: Fx.Transitions.linear}).start(0,1);


});




});


});
</script>

</head>
<body><div id="loader"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/loader.gif"/></div>
<div id="header">
<div id="header_content">
<div id="seitentitel">
<!-- Flash-Header -->
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="100">
<param name="movie" value="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/title.swf?titeltext=<?php echo $seitentitel; ?>&amp;untertiteltext=<?php echo $untertitel; ?>" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/title.swf?titeltext=<?php echo $seitentitel; ?>&untertiteltext=<?php echo $untertitel; ?>" width="500" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>

<?php if ($this->countModules('user3')) : ?>
<div id="module_user3">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php endif; ?>
</div>

</div>
<div id="body">

<div id="body_content">
<span class="nisi">JTCLASSBLU 15</span>
<div id="body_menue">
<div style="padding:15px;">
<?php if ($this->countModules('left')) : ?>
<div id="module_left"><jdoc:include type="modules" name="left" style="xhtml" /></div> <?php endif; ?>
<?php if ($this->countModules('user4')) : ?>
<div id="module_user4"><jdoc:include type="modules" name="user4" style="xhtml" /></div> <?php endif; ?>
<?php if ($this->countModules('right')) : ?>
<div id="module_right"><jdoc:include type="modules" name="right" style="xhtml" /></div> <?php endif; ?>

</div><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/menue_bg_bottom.gif" style="float:left;"/>
</div>
<div id="body_maincontent">
<jdoc:include type="component" />





<?php if ($this->countModules('footer')) : ?>
<div id="module_footer"><jdoc:include type="modules" name="footer" style="xhtml" /></div> <?php endif; ?>

</div><div style="clear:left;"></div>
</div>
<div id="body_footer">
<div id="body_footer_content">

<table width="100%" border="0" cellspacing="5">
<tr>
<?php if ($this->countModules('top')) : ?>
<td width="33%" valign="top"><div id="module_top"> <jdoc:include type="modules" name="top" style="xhtml" /> </div></td> <?php endif; ?>
<?php if ($this->countModules('user1')) : ?>
<td width="33%" valign="top"><div id="module_user1"> <jdoc:include type="modules" name="user1" style="xhtml" /> </div></td> <?php endif; ?>
<?php if ($this->countModules('user2')) : ?>
<td width="33%" valign="top"><div id="module_user2"> <jdoc:include type="modules" name="user2" style="xhtml" /></div></td> <?php endif; ?>


</tr>
</table>

</div>
<div style="width:950px; margin:0px auto; color:#FFF; vertical-align:top;">&copy; <?=$datum[year]." ".$copyright.'
'; ?>
</div>

</div>
</div>
</body>
</html>
Ringrazio in anticipo chi proverà ad aiutarmi.

BeLakor
__________________
HWBot - BeLakor
Il mio PC: alimentatore LC POWER Arkangel 850Watt, scheda video Gigabyte GTX 970 4GB OC WF3, SSD Samsung 850 PRO, 2 Velociraptor 300 GB in raid 1, ASRock X99 OC Formula, 16GB G.Skill Ripjaws 4 Series DDR4-2400, I7 5820K

Ultima modifica di BeLakor : 19-10-2008 alle 17:08.
BeLakor è offline   Rispondi citando il messaggio o parte di esso
Old 19-10-2008, 18:00   #2
ciuhd
Junior Member
 
L'Avatar di ciuhd
 
Iscritto dal: May 2006
Città: cosenza
Messaggi: 14
Prova ad aggiungere un margine inferiore di qualche pixel al div #seitentel nel foglio di stile:

Codice HTML:
#seitentitel{
margin-bottom:10px;
}
ciuhd è offline   Rispondi citando il messaggio o parte di esso
Old 19-10-2008, 18:28   #3
BeLakor
Senior Member
 
Iscritto dal: Dec 2006
Città: Lodi
Messaggi: 588
Non avevo proprio pensato al CSS, grazie mille.

BeLakor
__________________
HWBot - BeLakor
Il mio PC: alimentatore LC POWER Arkangel 850Watt, scheda video Gigabyte GTX 970 4GB OC WF3, SSD Samsung 850 PRO, 2 Velociraptor 300 GB in raid 1, ASRock X99 OC Formula, 16GB G.Skill Ripjaws 4 Series DDR4-2400, I7 5820K
BeLakor è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


DJI RS 5: stabilizzazione e tracking intelligente per ogni videomaker DJI RS 5: stabilizzazione e tracking intelligent...
AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequenze al top per il gaming AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequen...
Le soluzioni FSP per il 2026: potenza e IA al centro Le soluzioni FSP per il 2026: potenza e IA al ce...
AWS annuncia European Sovereign Cloud, il cloud sovrano per convincere l'Europa AWS annuncia European Sovereign Cloud, il cloud ...
Redmi Note 15 Pro+ 5G: autonomia monstre e display luminoso, ma il prezzo è alto Redmi Note 15 Pro+ 5G: autonomia monstre e displ...
Intel Xeon 600, le nuove CPU per le work...
Tesla, è ufficiale: i Robotaxi fa...
DeepL sempre più evoluto: arriva ...
Un vecchio assegno venduto a 4.800 volte...
Portatili Dell 16 in offerta su Amazon: ...
Amazfit punta ancora più in alto:...
Deep tech e venture capital: ScaleUp Lab...
GWM ha creato un font specifico per i di...
Oro rosa e charm Les Néréi...
La XPeng P7+ è salpata in direzio...
Quali sono i componenti più affid...
Amazon Haul raddoppia lo sconto: -30% su...
Germania e Danimarca accelerano sull'eol...
Azienda cinese che chiede aiuto ad una a...
Per aumentare la competitività ne...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 01:04.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Served by www3v