Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS Confusion

Status
Not open for further replies.

artnat

Programmer
Jun 16, 2006
15
0
0
US
I set a quality in CSS and then I select the "class" on the type or box definitions but it often won't apply. I look at the thread list at the bottom of the work area and don't see 2 CSSes, so there is not a conflict but can anyone give me a heads up on some simple reasons why my CSS might not be working?
 
Could you post one specific example that doesn't seem to be working?
e.g.
Code:
.myclass {color: red;}

...

<p class="myclass">This isn't the right color.</p>

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Yes, my css is titled and listed as follows:
claud.css
"body" Arial background-color 663300

There are two places for background under the section background in CSS

1. says "background" with a blank area on the right (where you can put a number)
2. says "background-color" and it has a box where I currently have a brown, next to which is my number 663300

This brown shows up in DW covering the entire background around my table BUT it doesn't show up on the site. Evidently , it is blocked by something else although I can't find it.

Nor can I remove the brown, even if I switch the CSS to blank and even go into the code and remove everyhting extraneous.

I "search " the code but can't find either the word "color" or number "663300."

Thanks fro your help!
 
Can you follow traingamer's advice and post the actual code that is in claud.css and the code where it isn't working

[Peace][Pipe]
 
Sure, Cheech, and thanks for your interest.

body {
font-family: Arial, Helvetica, sans-serif;
background-color: 663300;
}

td {
font-family: Arial, Helvetica, sans-serif;
}

th {
font-family: Arial, Helvetica, sans-serif;
}.claud {
background-attachment: fixed;
background-image: url("claudi_bg.jpg");
background-repeat: repeat;
background-position: left top;
}
.background {
}
.style4_sml {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
font-weight: normal;
font-variant: normal;
text-transform: none;
}
 
how about
Code:
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: [COLOR=blue]#[/color]663300;
}

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top