Torna indietro   Hardware Upgrade Forum > Software > Programmazione

ASUS ROG Swift OLED PG34WCDN recensione: il primo QD-OLED RGB da 360 Hz
ASUS ROG Swift OLED PG34WCDN recensione: il primo QD-OLED RGB da 360 Hz
ASUS ROG Swift OLED PG34WCDN è il primo monitor gaming con pannello QD-OLED Gen 5 a layout RGB Stripe Pixel e 360 Hz su 34 pollici: lo abbiamo misurato con sonde colorimetriche e NVIDIA LDAT. Ecco tutti i dati
Recensione Nothing Phone (4a) Pro: finalmente in alluminio, ma dal design sempre unico
Recensione Nothing Phone (4a) Pro: finalmente in alluminio, ma dal design sempre unico
Nothing Phone (4a) Pro cambia pelle: l'alluminio unibody sostituisce la trasparenza integrale, portando una solidità inedita. Sotto il cofano troviamo uno Snapdragon 7 Gen 4 che spinge forte, mentre il display è quasi da top dig amma. Con un teleobiettivo 3.5x e la Glyph Matrix evoluta, è la prova di maturità di Carl Pei. C'è qualche compromesso, ma a 499EUR la sostanza hardware e la sua unicità lo rendono un buon "flagship killer" in salsa 2026
WoW: Midnight, Blizzard mette il primo, storico mattone per l'housing e molto altro
WoW: Midnight, Blizzard mette il primo, storico mattone per l'housing e molto altro
Con Midnight, Blizzard tenta il colpaccio: il player housing sbarca finalmente su Azeroth insieme a una Quel'Thalas ricostruita da zero. Tra il dramma della famiglia Ventolesto e il nuovo Prey System, ecco com'è la nuova espansione di World of Warcraft
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 19-10-2008, 16: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 16:08.
BeLakor è offline   Rispondi citando il messaggio o parte di esso
Old 19-10-2008, 17: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, 17: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


ASUS ROG Swift OLED PG34WCDN recensione: il primo QD-OLED RGB da 360 Hz ASUS ROG Swift OLED PG34WCDN recensione: il prim...
Recensione Nothing Phone (4a) Pro: finalmente in alluminio, ma dal design sempre unico Recensione Nothing Phone (4a) Pro: finalmente in...
WoW: Midnight, Blizzard mette il primo, storico mattone per l'housing e molto altro WoW: Midnight, Blizzard mette il primo, storico ...
Ecovacs Goat O1200 LiDAR Pro: la prova del robot tagliaerba con tagliabordi integrato Ecovacs Goat O1200 LiDAR Pro: la prova del robot...
Recensione Samsung Galaxy S26+: sfida l'Ultra, ma ha senso di esistere? Recensione Samsung Galaxy S26+: sfida l'Ultra, m...
Altera estende il supporto ufficiale per...
GPU NVIDIA e connettori che si sciolgono...
Gli smartphone Samsung ed Apple sono i p...
PC più cari in arrivo: il boom de...
Tesla potrebbe realizzare un SUV elettri...
Secondo Elon Musk FSD è più...
Anche Cloudflare fissa il 2029 per la si...
Hacker sfruttano da mesi un bug segreto ...
ASUSTOR Lockerstor 24R Pro Gen2: 24 bay ...
Rigetti supera la soglia dei 100 qubit: ...
eFootball raggiunge il miliardo di downl...
Come provare OpenClaw facilmente grazie ...
Microsoft conferma: questo glitch dell'o...
Toyota bZ7: una berlina da oltre 5 metri...
Artemis II, le prime foto del lato nasco...
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: 07:52.


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