Problem z marginesem w IE
-
Witam,
ostatnio mam problemy z IE i Chrome – ponieważ w tych dwóch przeglądarkach tworzy mi się margines od góry strony:http://imageplay.net/img/tya22325781/problem_ie.jpg
Tak jak na zdjęciu – mój krótki kod css:
body { margin: 0; padding: 0; background: #eae6db; background-image: url('images/bg1.png'); background-repeat:repeat-x; font-family: "Times New Roman", Georgia, Serif; font-size: 12px; color: #ffffff; } #wrapper { margin: 0px auto; width: 980px; } #header { width: 170px; height: 56px; float: left; background: red; } #header img { } #menu { background: green; float: right; width: 750px; height: 20px; }
i początek pliku header.php
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo('charset') ?>" /> <title>64</title> <link rel="stylesheet" href="<?php bloginfo( 'template_url' ); ?>/reset.css" type="text/css" /> <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" /> <?php wp_head(); ?> </head> <body> <div id="wrapper"> <div id="header"> </div> <div id="menu"> <?php wp_nav_menu(array('name' => 'Menu Główne')); ?> </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- Temat ‘Problem z marginesem w IE’ jest zamknięty na nowe odpowiedzi.