Forums | MacLife

You are not logged in.

#1 2003-01-20 11:53 am

JeremyA
Member
Registered: 2002-12-30
Posts: 18

css2 across web browsers

Hi,

I mostly hand-code my web pages and, until now, I have always used tables for page layout.

Recently I became interested in css2 and I thought that I would try to layout a simple page using css2 instead of tables. I was particularly keen to used the fixed position elements that css2 offers.

However, on trying this, it seems to me that cross-browser support for css2 is patchy to say the least. The page I designed looks great on all browsers on the Mac (except that javascript rollovers wouldn't work in fixed elements in IE). But when I tested on a PC everything went pear-shaped. IE6 would not display fixed elements at all, and plain text links in netscape6.2 refuse to work. I discovered a trick to make fixed-position elements work as absolute-positioned element in IE6 but then none of these elements show in IE5.

So my question is - are there any tricks/tips for getting a page to work well across multiple browsers with css2, or is this still a dead loss at the moment?

thanks,

Jeremy

Offline

 

#2 2003-01-20 9:21 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: css2 across web browsers

That sounds pretty odd.  There are a few minor cross-platform things but nothing major.  The biggest differences have to do with cross-browser.  (or more to the point: IE)

Can you post a link?


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#3 2003-01-21 3:57 pm

JeremyA
Member
Registered: 2002-12-30
Posts: 18

Re: css2 across web browsers

Sorry, no link as yet because it is all on my powerbook HDD and not on a server.

I think that I have sorted out the IE problems - you can hide css elements from IE by making child elements that IE can't see.

I'm still having problems with netscape 6.2 not seeing links within <div> elements properly, but everything works fine on netscape 7 so I'm not too worried about that.

ta

Jeremy

Offline

 

#4 2003-01-22 1:08 am

iKnight
Member
From: Brisbane, Qld, Australia
Registered: 2002-02-03
Posts: 72
Website

Re: css2 across web browsers

cross-browser support for css2 is patchy to say the least.

Yes, it is.

are there any tricks/tips for getting a page to work well across multiple browsers with css2

At the bottom of the colophon of my web site http://homepage.mac.com/rhook/colophon.html are references to various CSS and web standards experts and advocates. Wander around the sites linked from there, and you'll find out much more about how to get CSS to "work" across various browsers.


I have a hunch that Richard was Innocent

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson