Posted by Els on 07/31/05 16:04
Frogleg wrote:
> How can I get a 'div' with no top margin? Or is there a better method
> for doing this? Example of problem at:
>
> http://home.earthlink.net/~absolutelyfake/test.htm
That /is/ a div without a top margin ;-)
It's a page with a top padding though. Either on <html> or <body> -
fiddle to find the culprit :-)
Why are you mixing HTML and CSS for the look though? I'd change
'bgcolor' to background-color to go inside the style attribute, and
align:center on the div seems superfluous, as you already set a width
and a left and right margin in the style too.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Status Quo - ROADHOUSE - Roadhouse Blues - The Wanderer
- Marguerita Time - Living On An Island - Break The Rules
[Back to original message]
|