Re: More CSS Trouble URGENT

by "Paul Rudolf" <paul(at)ntyc.net>

 Date:  Mon, 27 Sep 1999 01:30:41 -0700
 To:  <Reywob(at)aol.com>,
<dms(at)zetnet.co.uk>,
<hwg-basics(at)hwg.org>
  todo: View Thread, Original
I just duplicated the problem with IE4.

I think the problem is that your "style definitions" are being overpowerd by
the stuff in your <body> tag.

Try this!

First!!!!!!  create a backup of your existing files!!!!!!!!!

create a file called nav.css and place the follow code in the file.  but
don't use the -----      ------ lines.
put this file in the same directory as the .html files.

-----start of file-----
BODY {
 background-image:
url(http://members.aol.com/reywob/trapp/images/background8.jpg);
 background-color: white;
 }

A:link {
 font: 10pt;
 font-family: Arial, Verdana, Sans-serif;
 color:#002200;
 text-decoration: none;
 font-weight: bold
 }

A:hover {
 font: 10pt;
 font-family: Arial, Verdana, Sans-serif;
 color: #00bb00;
 text-decoration: none;
 font-weight: bold
 }

A:visited {
 font: 10pt;
 font-family: Arial, Verdana, Sans-serif;
 color:#444444;
 text-decoration: none;
 font-weight: bold
 }

-----end of file-----

Next remove all of the code in your <head> section relating to your style.

Next, place the following line in your <head> area.

<link REL="stylesheet" TYPE="text/css" HREF="nav.css">

Then, eliminate EVERYTHING in your <body> to show just <BODY>.

this should work.  Let me know.

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA