Forum Moderators: not2easy

Message Too Old, No Replies

Absolute Positioning In IE 6 and Netscape 7

         

ThisEndup

2:40 pm on Jul 23, 2003 (gmt 0)

10+ Year Member



I've recently been designing a webpage completely in CSS, and I've noticed that Netscape 7 handles my absolute positioning differently than IE 6. In Netscape, everything is a little out of position... Is this just because Netscape handles CSS positioning completely different, or do I need to go back into my code and start do some tweeking?

<snip>

[edited by: engine at 3:09 pm (utc) on July 23, 2003]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]

Nick_W

2:51 pm on Jul 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>> In Netscape, everything is a little out of position

hehehe, you'll most likely find that it's IE that has everything just a little wrong ;)

I like to build in standards compliant browsers such as Opera and Moz (NS6/7) and then tweak for IE. You'll find it much less painfull...

Welcome to WebmasterWorld...

Nick

DrDoc

2:52 pm on Jul 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

I've noticed that Netscape 7 handles my absolute positioning differently than IE 6

Differently how?

AWildman

2:57 pm on Jul 23, 2003 (gmt 0)

10+ Year Member



Yes, ie and nn handle absolute positioning differently. But only enough to drive you crazy! ;)
I had to absolutely position a picture into a corner on one of my sites. It had to fit like a glove cross-browser/platform. WHAT A PAIN! but I managed. If you'd like some help, I can post some code.

ThisEndup

3:08 pm on Jul 23, 2003 (gmt 0)

10+ Year Member



Some code would be great, I'm trying to brush up on my CSS, it's been a while.

ThisEndup

3:22 pm on Jul 23, 2003 (gmt 0)

10+ Year Member



I think I may have found my problem... I completely omitted the <!DOCTYPE HTML PUBLIC... tag. This is sort of new to me, I've never used this tag before. Would anyone mind explaining it to me a little more than it just being the tag that fixed all my problems :)

Oh, and thanks for everybody's time, this has been a huge help.

Nick_W

3:26 pm on Jul 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This'll get you started: [w3.org...]

Nick