On Sat, 2004-09-11 at 22:36, Jeff Swanberg wrote:

> Nope, I have them all.  Any other ideas???  Do I need to load the style.css 
> on every sub-page or just on the main page?  Perhaps the style sheet is 
> cached so, after I upload a new one, I need to do something to flush the 
> cache?
> 
> js
> 

Hi Jeff,

This is totally OT for a PHP list but I'll give you an answer.

CSS has rules of precedence.  When a browser is looking at a html page
for styles it first looks for external style sheets, just like you said
you have, then it looks for style tags in the <head>...</head> section
of the page, finally the browser looks at individual tags, <div>'s <p>'s
whatever.  The browser will then use the style rules which are closest
to the tag, therefore external rules are overridden by style tags in the
<head> section of a page which are overridden by style rules embedded
into actual tags. e.g. <hr color='red' align='center'>.

Hope that clarifies.

David

Reply via email to