Forum Moderators: open

Message Too Old, No Replies

hopefully easy color question

         

ganderla

6:08 pm on Aug 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have color codes on the top of my pages, I would kike something different just on one section of the page. Is there a way to do this without CSS.

Here is what I have

<BODY BGCOLOR="#FFFFFF" text="#999966" link="#CCCC00" alink="#FFFF66" vlink="#CCCC00">

On one section I want this:

<BODY BGCOLOR="#FFFFFF" text="#000000" link="#0000CC" alink="#FFFF66" vlink="#800080">

encyclo

6:14 pm on Aug 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not sure why you don't want to use CSS, which is the only way to set visited and active link colors outside of the body tag attributes.

However, if you absolutely insist, you can simply use font tags to set the text and link colors. Another possibility is to use an

iframe
and include the section which is kept in a separate page.

Or is inline CSS (ie. not in a separate stylesheet) acceptable to you?

ganderla

6:20 pm on Aug 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would do an inline CSS if I knew how.
I am assuming that I would just set the style before the section and end it after?