Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

css layering question

Status
Not open for further replies.
This was an easy one: IE is too forgiving and allows you to use incorrect css syntax:
Code:
z-index=1;
FF is more strict and is waiting for the same z-index to come in a proper code. Since it doesn't, it simply ignores that part. Change to:
Code:
z-index: 1;
and it works. Incidentally, your page has neither a complete and valid doctype at the top, which is bad for cross-browser compatibility and uses only absolute positioning, which is best avoided if not trully needed. And it is not needed at all to produce a page like yours.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top