Salve.
Guardate qui: http://neogpt.altervista.org/blog/
Sia con chrome, sia con mozilla, sia con explorer, il form di ricerca viene piu basso.
Questo è lo style.css:
Mentre questo è il pezzo in cui è contenuto l'header:codice:body { font-size: 62.5%; /* Resets 1em to 10px */ font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; background: #d5d6d7 url('images/kubrickbgcolor.jpg'); color: #333; text-align: center; margin-top: 0px; } #pagina { width: 900px; } #header { background-image: url(images/header.gif); height: 100px; width: 900px; } #menu { background-image: url(images/menu.gif); background-repeat: no-repeat; height: 50px; text-align: left; font-size: 16px; color: #fff; } #menu-t { height: 50px; text-align: left; font-size: 16px; color: #fff; margin-left: 10px; padding-top: 15px; float:left; } #contenuto { background: #fff; width: 550px; text-align: left; margin-top: 0px; float: left; } #testo { background: #fff; width: 530px; text-align: left; margin-left: 5px; margin-right: 5px; margin-top: 15px; color: #000; font-size: 12px; } #cerca { float: right; margin-left: 10px; } .go { background:url(images/cerca.png) no-repeat; ; width: 100px; height: 25px; border:none; } .postedby { float:left; width:42px; height:45px; background:#badcff; text-align:center; padding-top:5px; margin-right:8px; border-top:2px solid #fcb023; } .post-date { color:#fff; float:right; position:relative; background:url(images/i_date.png) no-repeat; padding:0 0 0 22px; } .post-day { font-size: 24px; color:#23578d; text-align:center; } .post-month { font-size:11px; text-transform: uppercase; color:#23578d; } #sidebar-p { background: #fff; width: 340px; height: 300px; margin-left: 5px; float: right; margin-top: auto; } #sidebar { background: #fff; width: 340px; margin-left: 5px; float: right; } #sidebar1 { background: #fff; width: 168px; height: 300px; margin-left: 5px; float: right; } #sidebar2 { background: #999; width: 168px; height: 300px; margin-left: 4px; float: right; } #footer { background-image: url(images/footer.gif); background-repeat: no-repeat; height: 35px; text-align: left; color: #000; }
codice:<!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" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> </head> <body> <div style=" margin: 0 auto;" id="pagina"> <div style=" margin: 0 auto;" id="header"> </div> <div style=" margin: 0 auto;" id="menu"> <div id="menu-t"> Home | Wordpress | News | Pubblicità | Iscriviti | Contattaci <div id="cerca"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div> </div></div> Vorrei che il modulo di ricerca sia allineato con le scritte del menu. Cosa sbaglio? Grazie.

Rispondi quotando