Re: CSS?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Thomas A. Rowe (tarowe_at_mvps.org)
Date: 01/24/05


Date: Mon, 24 Jan 2005 15:43:20 -0500

Like I indicated, I don't care what graphical browser a user is using, I want them to see the site
basically like everyone else, and that is not possible using a lot of the CSS functions, so I see no
reason to use CSS.

ASP can be run on Unix/Linux server using ChiliSoft ASP or similar application, just that you can't
use a Access Database, but my method would work via a single include (SSI) page. It can also be done
with any server-side scripting language. ASP and Windows IIS happens to be what I use for all my
projects.

Here is a short example of code that I use:

<%
Plink = "#000099" ' Hyperlink color
Pvlink = "#000099" ' Visited Hyperlink color
Palink = "#000099" ' Active Hyperlink Color
Accent = "#4A4DC6" ' This is cell background color
CheckOut = "#2C60B6" ' This is cell background color
Backgrd = "#21498C" ' Page background color
Font1 = "Verdana, Arial, Helvetica" ' Specify Fonts
ExtLink1 = "http://www.microsoft.com/" ' hyperlink to site or page, etc.
DateNow = Date() ' Display Current date
%>

To use any of the above, you just include the page with the above content in all pages via SSI, then
insert:

<%=Plink%>
in the body tag in place of the color for hyperlinks or as a font color, etc.

or

<%=DateNow%>
where ever you want to display the current date (from the server, but can be adjusted for time
zones)

-- 
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"John" <use_net@puresilver.org> wrote in message news:v1kav09s48gkkn5ni8e35h2hch2j7jset0@4ax.com...
> On Mon, 24 Jan 2005 11:50:52 -0500, "Thomas A. Rowe" <tarowe@mvps.org>
> wrote:
>
>>Using CSS, your pages will NOT look right in all browsers, as all browsers currently in use do not
>>support CSS fully or at all.
>
> Just to clarify "currently in use" does not mean currently
> available. IE has supported the full implementation of CSS since IE5
> which was released on 4.12.99. Unfortunately AOL bought Netscape and
> stalled the development of a supporting browser until November of
> 2001. The funny thing is that Opera had already beat both out when
> they had release 3.5 in November of '98. Frankly if someone's still
> using IE4.X, NS4.X, Opera 2.X or some other piece of antiquity they
> might as well be using Lynx.
>
> I like your solution of using VB script but frankly it's much,
> much easier to create a few style sheets that can easily be updated in
> Notepad rather than have to learn ASP.
>
> Lastly, don't ASP and VB-based engines have to run MS based
> servers ?
>
> Regards,
>
>   John S. Douglas, Photographer -  http://www.puresilver.org
>              Please remove the "_" when replying via email 

Quantcast