Help - Search - Members - Calendar
Full Version: Why the margin issue in Opera?
Invision Power Services > Community Forums > Community Web Design and Coding
Trel
http://area51.krahs-emag.com/index42.php

With that file, it validates fine and it works in both Mozilla and IE. However, in Opera there's a border (by border I mean that the logo and content isn't agaisnt the sides) around the page, what is causing that?
Phil Mossop
Change this CSS definition:

CODE
body
{
    background: #0c4676;
    margin: 0px;
}


to this:

CODE
body
{
    background: #0c4676;
    margin: 0px;
    padding: 0;
}
Trel
will do, thanks original.gif
_
On another note, there's no reason to put px after zero-values.
Trel
QUOTE(Veracon @ Apr 16 2006, 04:48 PM) *
On another note, there's no reason to put px after zero-values.


I use it for conformity in the numbers xD
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.