chameleon

msg:1583755 | 7:54 pm on Sep 4, 2002 (gmt 0) |
Birdman - I'm not sure I exactly understand your question, but maybe this will help: IE, Opera and Netscape have different Margin widths. It could be that's what's messing you up. Try setting the margins to zero, then position everything relative to that. Then it should line up correctly on all platforms. Good luck!
|
Birdman

msg:1583756 | 8:20 pm on Sep 4, 2002 (gmt 0) |
chameleon, thank you! I had thought that was the prob. I already had body margin set to zero. After reading your post I went back and messed with it some more. .banner { position: absolute; border: none; width: 600px; height: 80px; margin-left: 100px; margin-top: 0px; } |
| I removed the "margin-" and voila. I can never remember whether to use [/b]margin-left[/b], padding-left, or just left. It is looking good now. Thanks again. <added>Now the banner is aligned tight to the left in NN4 :0
|
pageoneresults

msg:1583757 | 8:52 pm on Sep 4, 2002 (gmt 0) |
If I'm not mistaken, there is another fix for this issue and that is to set both padding and margin to 0px. {margin:0px;padding:0px;}
|
Nick_W

msg:1583758 | 8:59 pm on Sep 4, 2002 (gmt 0) |
That's right. The body element also has padding in Opera which always throws me ;) Nick
|
Birdman

msg:1583759 | 6:00 am on Sep 5, 2002 (gmt 0) |
I'm glad I took the CSS-XHTML step. It's been challenging, but the benefits far outweigh the alternatives. After my first site(tables, of course), I realized(after hangin' out here, of course) that pure CSS layout was the way to go. I could still use some clarification on the difference of {margin-left and left}. Is that shorthand? <added>Thanks, pageone
|
starway

msg:1583760 | 6:44 am on Sep 5, 2002 (gmt 0) |
margin-left and left are two completely different things. "The left property sets the physical distance of how far the left content edge of an element is to the right from the left content edge of the containing block." Check this out: [devguru.com...]
|
chameleon

msg:1583761 | 2:25 am on Sep 6, 2002 (gmt 0) |
You're welcome, Birdman. Glad to see your problem was solved!
|
|