Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
margin'y w google chrome - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: Początkujący webmaster (https://www.webmastertalk.pl/forum-poczatkujacy-webmaster)
+--- Wątek: margin'y w google chrome (/thread-margin-y-w-google-chrome)



margin'y w google chrome - omxd - 15-05-2011

Witam,
mam problem z marginami w chrome pod IE i FF dziala jak należy.
Kod:
.layoutcontent{
    width:940px;
    background-color: white;
    margin-left:2px;
    
}
.layoutmargin{
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
}
[code]<div class="layoutcontent">
<table cellspacing="0" cellpadding="0" class="layoutmargin">
    <tr><td>2</td>
        <td>3</td>
        <td>4</td>
    </tr>
</table>

</div>
Chciałbym ,żeby tabelka z klasą layoutmargin wyświetlałą się z z marginesami w stosunku do layoutcontent i wszystko dziala fajnie ale na chromie dostaje taki cos:
[Obrazek: 1.png]
jak to rozwiązać[/code]?

pozdrawiam


RE: margin'y w google chrome - Kartofelek - 15-05-2011

Powyższy kod jest bez sensu. Popraw zanim coś takiego zamieścisz bo będzie ostrzeżenie


RE: margin'y w google chrome - omxd - 15-05-2011

co w nim jest bez sensu?


RE: margin'y w google chrome - Kartofelek - 15-05-2011

Pierwsze pomieszałeś tagi formatujące, 2 kod w żaden sposób nie przedstawia obrazka itp