css header position is wrong

RESOLVED INVALID

Status

()

Core
Layout: R & A Pos
RESOLVED INVALID
14 years ago
14 years ago

People

(Reporter: Don Flew, Assigned: Ben Goodger (use ben at mozilla dot org for email))

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
This is a very simple css script, slightly modified from the original found at:
http://www.w3.org/Style/Examples/011/firstcss#HTML
but that page doesn't work right either.. 
is there a workaround? or a fix?

Comment 1

14 years ago
Set the h1's margin-top to 0.
(Reporter)

Comment 2

14 years ago
ok... that worked... is it considered a workaround or just polite css usage?  

Question #2.... why doesn't the menu render correctly?  there should be white 
lines between each menu line...
thx,
donflew 
(Reporter)

Updated

14 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

14 years ago
Nevermind... again some padding adjustments fixed it nicely.. 

Comment 4

14 years ago
(In reply to comment #2)
> ok... that worked... is it considered a workaround or just polite css usage?  

Different browsers use different default stylesheets. Here, IE uses
margin-top:auto for h1, Mozilla uses margin-top:1em. In your case (absolutely
positioned element, top's value not auto) margin-top:auto results in 0 top margin.

Two notes:
1. Please don't guess components, this is not a preferences problem. If you are
not sure, choose Firefox-General.
2. FIXED is reserved for cases where some Mozilla code was changed to fix the bug.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---

Updated

14 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago14 years ago
Component: Preferences → Layout: R & A Pos
Product: Firefox → Core
Resolution: --- → INVALID
Version: 1.0 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.