Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS 1

Status
Not open for further replies.

Tuttsy

Technical User
Jul 11, 2001
16
AU
I am officially going nuts. I have created a style sheet "white.css" that contains 4 user created styles (.dates .textWhite etc) I have placed a LINK rel= in the head of my document and then the class tag in the paragraphs that the style is to be applied to. When I preview it offline in a browser it looks great. As soon as I upload it to the web, none of the styles are applied. Could someone go to my page, check the coding and see if they can pick up the problem. I have uploaded the white.css file and it is in the same folder as the index.htm file.
 
I looked at the page and the .css tags seemed to work...but you may need to add this to you're HTML file:

<style>
all.textLink { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; text-decoration: none}
.textLinkGrey { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #999999; text-decoration: none}
.textWhite { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; line-height: 22px; font-weight: 400}
.dates { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; color: #000063; text-decoration: none; font-weight: bold}
</style>

ok?? I have not failed; I merely found 100,000 different ways of not succeding...
 
Hello Tuttsy!

One detail of this string taken from your site looks strange for me
<LINK rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;white.css&quot; title=&quot;style1&quot;>

I looked thru HTML reference and haven't found TITLE attribute of LINK tag. Try to remove it.

And moreover your page look pretty good using CSS, so what was the problem around?

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top