CSS having no effect on FP Includes files (Full Version)

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



Message


cooper -> CSS having no effect on FP Includes files (8/20/2003 22:27:09)

I am using the following as an external CSS for my site...

quote:

body, p {font-family: verdana, arial, helvetica;
font-size: 10pt}

a:link {
text-decoration: none;
color: #7E1718;
background: transparent;
}

a:visited {
text-decoration: underline;
color: #666666;
background: transparent;
}

a:hover {
text-decoration: underline;
color: #7E1718;
background: transparent;
}

a:active {
text-decoration: none;
color: #CC0000;
background: transparent;
}


I have the header, footer and a breakout box on the page as "includes pages" but the CSS does not seem to effect these pages. What am I missing?




Gil -> RE: CSS having no effect on FP Includes files (8/20/2003 23:03:30)

Got a URL?

Are you using FP's includes or SSI?




cooper -> RE: CSS having no effect on FP Includes files (8/20/2003 23:06:59)

Gil,

I have not published yet. I am using FP Includes, not server side.




_gail -> RE: CSS having no effect on FP Includes files (8/20/2003 23:31:12)

quote:

CSS having no effect on FP Includes...

I am using the following as an external CSS for my site...



Just a thought.

Do you have your includes in a separate folder? If so, you have to add an extra bit of code such as:

<link rel="stylesheet" type="text/css" href="../name.css">


As opposed to:

<link rel="stylesheet" type="text/css" href="name.css">

gail




cooper -> RE: CSS having no effect on FP Includes files (8/20/2003 23:57:57)

The start of the site can be seen at http://www.bacwebdesign.com/red_swish/

I do have the Includes pages in an "includes" folder and I had the ../ at the start of the link to the style.css page.

Any other ideas?




pageoneresults -> RE: CSS having no effect on FP Includes files (8/21/2003 14:58:20)

Any other ideas? Yup! Your inline styles are overriding the external styles. On that page you provided as an example, you have styles in your <body> tag that will override any external styles being referenced.

Also, you are using a theme. I've never used them but I believe theme styles will override external referenced styles too.




gorilla -> RE: CSS having no effect on FP Includes files (8/27/2003 13:00:41)

quote:

ORIGINAL: pageoneresults

Also, you are using a theme. I've never used them but I believe theme styles will override external referenced styles too.


Correct.

Carsten (With a "C" [;)]) Pedersen
Spokesgorilla
Copenhagen
Denmark
August 27th 2003




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875