Stylesheets vs. themes (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


Laurie Cesario -> Stylesheets vs. themes (6/10/2004 7:35:30)

I'm new to css and wondering about the order of things.....
Pages in my website link to both a stylesheet and a theme(and use include pages). I want to control the text in my tables externally, vs. doing it inline. How do these two relate to one another? i.e. Does "stylesheet.css" have rank over "theme.css"?

The following is from the head of the page:

<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.magnetics.com/stylesheet.css">
<meta name="Microsoft Theme" content="bigbizred2 000, default">
</head>


This is taken from the theme:

table { font-family: Arial, Arial, Helvetica; font-size: 10pt }
textarea { font-style: normal; font-size: 8pt; font-family: Arial,
Arial, Helvetica;
border-style: solid; border-width: 1pt }
th { font-family: Arial, Arial, Helvetica; font-style: normal }
*, td { font-family: Arial, Helvetica, sans-serif; font-size: 10pt }


This is from the stylesheet:

Td{
font-family: Arial;
font-size: 12px;
color: #00000;
}

Which would I want to modify to control the text in my tables?

Thanks!
Laurie




bobby -> RE: Stylesheets vs. themes (6/10/2004 13:30:10)

quote:

Td{
font-family: Arial;
font-size: 12px;
color: #00000;
}


Modify the font-family in the TD declaration above... that should change text in each table cell... (<td>) and it will take precidence over the stylesheet declaration, since the theme defines the font for the Table, but not each <td>




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125