HighDots Forums  

Firefox and Netscape

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Firefox and Netscape in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
News
 
Posts: n/a

Default Firefox and Netscape - 01-19-2006 , 09:52 PM






If I try the following

div
{
position: relative;
top: 50%;
left: 40%;
}

It shows different in IE 6.0 , Firefox 1.5 and Netscape 8.0.4 .

I have tried everything from 50% to 350% and in Firefox and Netscape the top
remains positioned in the same spot. In IE it moves.

Could someone tell me what the problem is.



Reply With Quote
  #2  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Firefox and Netscape - 01-19-2006 , 10:06 PM






Deciding to do something for the good of humanity, News
<warren (AT) no_S_P_A_M_wyght (DOT) com> spouted in
comp.infosystems.www.authoring.stylesheets:

Quote:
I have tried everything from 50% to 350% and in Firefox and Netscape the top
remains positioned in the same spot. In IE it moves.

Could someone tell me what the problem is.
Not really without a URL.

--
Mark Parnell
================================================== ===
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/


Reply With Quote
  #3  
Old   
News
 
Posts: n/a

Default Re: Firefox and Netscape - 01-19-2006 , 10:21 PM




"Mark Parnell" <webmaster (AT) clarkecomputers (DOT) com.au> wrote

Quote:
Deciding to do something for the good of humanity, News
warren (AT) no_S_P_A_M_wyght (DOT) com> spouted in
comp.infosystems.www.authoring.stylesheets:

I have tried everything from 50% to 350% and in Firefox and Netscape the
top
remains positioned in the same spot. In IE it moves.

Could someone tell me what the problem is.

Not really without a URL.

--
Mark Parnell
I don't have it in a URL as of yet, I did try changing it from

div
{
position: relative;
top: 50%;
left: 40%;
}

TO
div
{
position: absolute;
top: 50%;
left: 40%;
}

It works in all of them, which tells me that IE is willing to make up for my
errors or lazy code where as the others are not. I will "try" to find the
reason absolute works and relative does not.

Thanks for your help




Reply With Quote
  #4  
Old   
News
 
Posts: n/a

Default Re: Firefox and Netscape - 01-26-2006 , 02:38 PM




"kchayka" <usenet (AT) c-net (DOT) us> wrote

Quote:
News wrote:

div
{
position: relative;
top: 50%;
left: 40%;
}

It shows different in IE 6.0 , Firefox 1.5 and Netscape 8.0.4 .

I suspect you are misusing position:relative. Chances are you didn't
read the CSS specs, so you are probably making some false assumptions on
what relative positioning does.

URL:http://www.w3.org/TR/CSS21/visuren.h...opdef-position

You might actually be wanting position:absolute, but that opens up a
whole new can of worms and shouldn't be used unless you understand the
repercussions.

It is even possible you don't need explicit positioning at all, but it's
hard to say without knowing what you are trying to accomplish.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
I am ONLY trying to learn how to do this, I have not begun to apply CSS to a
URL yet as I am a C++ coder and only just moved into this field.

I will read that thanks




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.