Closed Bug 277729 Opened 20 years ago Closed 20 years ago

css header position is wrong

Categories

(Core :: Layout: Positioned, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: donflew, Assigned: bugs)

References

()

Details

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?
Set the h1's margin-top to 0.
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 
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Nevermind... again some padding adjustments fixed it nicely.. 
(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 → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 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.