On Tue, 14 Sep 2004, Sean Davis wrote:
> Thanks Chris and Gunnar. Setting the inner table width worked, but I
> can see that using CSS would offer significant benefits and I will
> need to migrate that direction at some point. It seems like the
> "table" version seems to work on many browsers--is the [envisioned]
> CSS solution also generally compatible across browsers these days?
> It seems that browser layout engines are still suboptimal for some
> particulars of CSS. Just curious...
As near as I can tell, the "best" approach these days is to implement at
least the minimal subset of CSS that current versions of IE can do, on
grounds that just about everything else can do much, much better -- the
Mozilla browsers, Safari/Konqueror, Opera, etc -- but as long as 90% or
more of people are using IE, that has to be the baseline support.
It should be possible to design for CSS2 in such a way that your site
looks really good on a recent version of Mozilla (say) or Safari, and
gracefully degrades to a not-as-pretty-but-not-broken-either version on
IE.
If you want a demo site, take a look at my blog, and the CSS for it:
<http://devers.homeip.net:8080/blog/>
I'm not doing anything fancy -- I'm no designer and I haven't yet spent
the time I'd like to spend learning CSS layout -- but I've set it up so
that the stylesheet for each page is actually retrieved by a CGI script
that grabs one of several other stylesheets at random. As a result, the
layout & colors can change drastically just by reloading the page, but
the HTML is basically the same each time.
I'm just goofing around with this, but it can be taken much farther, and
done much better, and yet it seems like the site still holds up
reasonably well on every browser I've wanted to try it on -- basically
anything newer than Netscape 4.7. That's good enough for me....
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>