> So is this what I would want to do if I wanted an "entry point" that
> sent CSS capable browsers 'one way' and non-CSS browsers 'the other
> way'?
>
It could also be done with a Java Script. In general, I prefer Perl
since it's on the servers side and therefore universal. Not all browswers
out there support JS>
> I would have index.html that would call a perl script -- the perl script
> would look at environmental variable (ie browser version) and use if
> this/then that statements to go to index_css.html or index_non.html???
>
> Did I follow this right, Urb?
>
You got it. There is an environment variable called
HTTP_USER_AGENT containing the browser information. If you want an idea
of what is available to to:
http://usats.com/env.html and click on the link. The internal link is:
<A HREF="/cgi-bin/env.pl?name=Urb&zip=08087
so you see how variables are passed.
The Perl code to accomplish redirection base on user's browser is
trivial.
> Is there another way to perform this chore? (and yes, I know it
would > only work on the entry point, but that's all I care about right now).
It can work anywhere you want in an html document, not just the
entry point. I frequently take a random entry for a guestbook and
display it in the middle of the home page.
Let me know if you need some help with this.
Urb, [EMAIL PROTECTED]
Visit America's Town Square. Creators of extraordinary Web sites.
http://www.usats.com Build your own Home Page without knowing
any HTML. Many user selectable options. After creation, your page
is e-mailed to you. http://usats.com/homepage
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------