![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
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 |
#4
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |