|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
10px layer position problem with CSS -> Mozilla only
I've seen a fix for this online before, but I can't seem to find it now.
Basically I've got the following layer declartion: HTML Code _NOT_ php PHP Code:
When I make this layer visible it shows up in the exact position I want it to in most browsers, but in Mozilla it is 10 pixels to low. How can I get this layer to show up on Mozilla in the same pos as IE? Should I use javascript to adjust that "top" to 125 if its Mozilla? Or is there a CSS way to resolve this. |
|
#2
|
||||
|
||||
|
Give the first block element, eg. p or hn, {margin-top: 0;}
cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. My html and css workshop, demos and tutorials. Ask a better question, get a better answer. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > 10px layer position problem with CSS -> Mozilla only |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|