|
| |
|
|
MCD
Posts: 758 Joined: 3/19/2002 From: Al USA Status: offline
|
A Newbie Margin ? - 7/23/2008 7:58:09
I'm in the process of building my second tableless website. I am creating a basic header, 3 column, footer layout. I want a 1% margin around my header. The following works fine in IE7 but there is no top margin in FF. Would someone give me or point me to the problem of this dilemma? Here is my header css. #outerWrapper #header { background-color: #99cc99; margin: 1% 1% 1% 1%; padding: 10px 10px 10px 10px; font-weight: bold; border-bottom: solid 1px #627850
_____________________________
Author of " How To Build A Website With Duct Tape"
|
|
|
|
MCD
Posts: 758 Joined: 3/19/2002 From: Al USA Status: offline
|
RE: A Newbie Margin ? - 7/23/2008 8:38:59
quote:
ORIGINAL: Tailslide Sounds like a border collapse issue. If you have margins on different divs touching each other they'll collapse in Mozilla (and opera?) browsers. This is to prevent double margins (e.g. on a paragraph with top and bottom margins in theory there'd be double margin between paragraphs which isn't what you actually want - you'd actually want only one margin-depth between paragraphs). I knew you would solve the mystery for me. My hair is getting thinner every day. Thanks for your help Tailside.
_____________________________
Author of " How To Build A Website With Duct Tape"
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|