navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Stylesheets vs. themes

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Stylesheets vs. themes
Page: [1]
 
Laurie Cesario

 

Posts: 31
Joined: 1/11/2002
From: Petoskey MI USA
Status: offline

 
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

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
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>

< Message edited by bobby -- 6/10/2004 10:30:23 >


_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to Laurie Cesario)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Stylesheets vs. themes
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts