CSS Problems

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I've got a main php page called index.php.

Depending on what comes after ?content= in the url index.php?content=,
it uses include() to include a page.  On each individual content page,
I've got some CSS includes.

I also have a css include on index.php for the menu, default content
formatting, etc.

But my problem comes from the content pages CSS.  It seems as though
the CSS for index.php is overriding the CSS for the content page...

Should it be?  Can I fix it?


Re: CSS Problems

Nevermind, I've just realized I'm a complete idiot and my problems were
stemming from a different unrelated place.

But still, which has precidence?

Re: CSS Problems

Quoted text here. Click to load it

AFAIK, if several external CSS files are linked in and they have conflicting
styling, the last one linked has precedence.

These can all be over-ridden by styling in the header, and these in turn are
over-ridden by any in-line styling...

Not sure how deprecated styling tags compete with CSS (eg FONT tags etc)


Re: CSS Problems

Writing in news:alt.www.webmaster
 From the safety of the http://groups.google.com cafeteria

Quoted text here. Click to load it


William Tasso

** Business as usual

Site Timeline