Alliedassault

Alliedassault (alliedassault.us/index.php)
-   Offtopic (alliedassault.us/forumdisplay.php?f=13)
-   -   .CSS Style sheets (alliedassault.us/showthread.php?t=43070)

Poseidon 12-18-2004 05:16 AM

.CSS Style sheets
 
Not sure if you know much about .css files, but i'm doing HTML at college and part of a assignment is to integrate a .css style sheet into my website.

I've got my css file to work but i have a few tables in the website and the styling of the text doesnt seem to be changing inside these tables... but is working for everything out of the tables.

Is there something else i need to add?

This is what i have in my css file:

[code:278e9]
body {
background-color: #769FA6;
Font-size: 12;
color: #EAF8F8;
font-family: Verdana, Geneva, Arial, sans-serif;
}

a:link {
color: #EAF8F8;
}

a:visited {
color: #EAF8F8;
}[/code:278e9]

This is the code in the website retriving the css file information:
[code:278e9]<link rel="stylesheet" type="text/css" href="cssfile.css">[/code:278e9]
This is placed in the head part of my site.

Anyone got any ideas?

Bleuachdu 12-18-2004 09:59 AM

Define a new style for the "table"

[code:13d7e]table {
Font-size: 12;
color: #EAF8F8;
font-family: Verdana, Geneva, Arial, sans-serif;
} [/code:13d7e]

Poseidon 12-18-2004 10:37 AM

Blitz refered me to a site on IRC, this said i had to add:

body, TH, TD {

to the beginning of my code! It worked but thanks anyway!


All times are GMT -6. The time now is 07:02 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.