Hi there,
This is my my first website in over 10 years. At first I made it using html, tabels & iframes (as back in the days) but decided to remake it using css for the first time ever.
In dreamweaver it looks good but in all my browsers, safari, firefox, chrome and opera it "breaks" or rather two of the pictures are placed wrong.
The divs are in the right place, same size as the pictures.
The problem can be seen here:
This is how it should look like:
Right click on the page for the source code in test.html...
Been trying a cuple of things but non works. Guess its just a simple extra line that could fix this..
CSS code for all the divs:
This is my my first website in over 10 years. At first I made it using html, tabels & iframes (as back in the days) but decided to remake it using css for the first time ever.
In dreamweaver it looks good but in all my browsers, safari, firefox, chrome and opera it "breaks" or rather two of the pictures are placed wrong.
The divs are in the right place, same size as the pictures.
The problem can be seen here:
This is how it should look like:
Right click on the page for the source code in test.html...
Been trying a cuple of things but non works. Guess its just a simple extra line that could fix this..
CSS code for all the divs:
Code:
[COLOR="SlateGray"] * { padding: 0; margin: 0; } body { font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px 0px 0px 0px; background-image:url(../layout/bg1.png) } #wrapper { margin: 0 auto; height: 588px; width: 991px; } #logo { width: 991px; float: left; padding: 0px; border: 0px solid #ccc; height: 132px; margin: 0px 0px 0px 0px; }[/COLOR] [COLOR="Black"]#uppekant { border: 0px solid #ccc; margin: 0px 0px 0px 0px; padding: 0px; width: 991px; height: 7px; float: left; }[/COLOR] [COLOR="SlateGray"]#navigering1 { float: left; width: 24px; height: 39px; color: #333; padding: 0px; border: 0px solid #ccc; margin: 0px 0px 0px 0px; } #navigering2 { float: left; width: 460px; height: 39px; color: #333; padding: 0px; border: 0px solid #ccc; margin: 0px 0px 0px 0px; } #navigering3 { float: left; width: 66px; height: 39px; color: #333; padding: 0px; border: 0px solid #ccc; margin: 0px 0px 0px 0px; } #navigering4 { float: left; width: 367px; height: 39px; color: #333; padding: 0px; border: 0px solid #ccc; margin: 0px 0px 0px 0px; } #navigering5 { float: left; width: 74px; height: 39px; color: #333; padding: 0px; border: 0px solid #ccc; margin: 0px 0px 0px 0px; } #vansterkant { color: #333; border: 0px solid #ccc; margin: 0px 0px 0px 0px; padding: 0px; height: 363px; width: 8px; float: left; } #vansterruta { color: #333; border: 0px solid #ccc; background: #FFFFFF; margin: 0px 0px 0px 0px; padding: 0px; height: 363px; width: 491px; float: left; } #mittenbreak { color: #333; border: 0px solid #ccc; margin: 0px 0px 0px 0px; padding: 0px; height: 363px; width: 36px; float: left; } #hogerruta { color: #333; border: 0px solid #ccc; background: #FFFFFF; margin: 0px 0px 0px 0px; padding: 0px; height: 363px; width: 448px; float: left; } #hogerkant { color: #333; border: 0px solid #ccc; margin: 0px 0px 0px 0px; padding: 0px; height: 363px; width: 8px; float: left; } [COLOR="Black"]#nerekant { width: 991px; float: left; padding: 0px; border: 0px solid #ccc; height: 7px; margin: 0px 0px 0px 0px; }[/COLOR] #copyright { width: 991px; height: 40px; clear: both; color: #333; border: 0px solid #ccc; background: none; margin: 0px 0px 10px 0px; padding: 0px; }[/COLOR]
Comment