The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> My stylesheet is not showing up...HELP
Rating  5
jcjdoss
post Sep 23 2006, 04:02 PM
Post #1


Novice
**

Group: Members
Posts: 23
Joined: 23-September 06
From: California
Member No.: 211



www.powrsource.com My stylesheet is not loading. Can anyone help.

sad.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 23 2006, 04:41 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



The CSS checker tells you. A class name cannot start on a number. I wasn't aware browsers cared though.

http://jigsaw.w3.org/css-validator/validat...;usermedium=all
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jcjdoss
post Sep 23 2006, 05:20 PM
Post #3


Novice
**

Group: Members
Posts: 23
Joined: 23-September 06
From: California
Member No.: 211



QUOTE(pandy @ Sep 23 2006, 02:41 PM) *

The CSS checker tells you. A class name cannot start on a number. I wasn't aware browsers cared though.

http://jigsaw.w3.org/css-validator/validat...;usermedium=all



Thanks for your quick reply I made the changes that the validator told me. That was a different one than I was using and seemed to catch more. Thanks for the link.

Here is the updated results with no change to the site.
Validate Now
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jcjdoss
post Sep 23 2006, 05:21 PM
Post #4


Novice
**

Group: Members
Posts: 23
Joined: 23-September 06
From: California
Member No.: 211



You guys are great. (Dup post)

This post has been edited by jcjdoss: Sep 23 2006, 05:24 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 23 2006, 05:30 PM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Hmmm, it worked when I tried it locally. Must brood. blink.gif

What validator did you use earlier, just out of interest?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 23 2006, 05:33 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You forgot the change the class name in the HTML. tongue.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 23 2006, 05:37 PM
Post #7


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



The HTML still uses <div class="1darkbrowninfobar"> pandy was quicker.

Also: http://www.htmlhelp.com/cgi-bin/validate.c...entprojects.htm
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jcjdoss
post Sep 23 2006, 05:42 PM
Post #8


Novice
**

Group: Members
Posts: 23
Joined: 23-September 06
From: California
Member No.: 211



Web Design Group

And thanks that fixed it. Now I can get back to work. While I'm here, how do I specify link color. I will google too, I just like to hear from a real person.

Thanks again
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jcjdoss
post Sep 23 2006, 05:54 PM
Post #9


Novice
**

Group: Members
Posts: 23
Joined: 23-September 06
From: California
Member No.: 211



QUOTE(jcjdoss @ Sep 23 2006, 03:42 PM) *

Web Design Group

And thanks that fixed it. Now I can get back to work. While I'm here, how do I specify link color. I will google too, I just like to hear from a real person.

Thanks again

Christian, thats funny. That is the validator I was using and it was clear. Now, I have errors. Don't get me wrong. The error is probably with me.

This post has been edited by jcjdoss: Sep 23 2006, 06:07 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 23 2006, 05:58 PM
Post #10


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Like this.
http://www.w3.org/TR/REC-CSS2/selector.htm...-pseudo-classes
http://www.w3.org/TR/REC-CSS2/selector.htm...-pseudo-classes

Note that bit that says the order is important. For normal links you want this order.

a:link
a:visited
a:hover

If you put :visited last, it will win over :hover, so to speak. When you put the mouse pointer over a visited link it's both visited and hovered at the same time. The last declared declaration will be applied (the cascade).

If you have named anchors, <a name="blah">, they will also be affected by this in modern browsers other than IE. To avoid that you need a little more complicated selectors, but let's take one step at the time.

CSSCheck is good. But it's only CSS 1. Feel free to nag Liam about upgrading it. happy.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jcjdoss
post Sep 23 2006, 06:06 PM
Post #11


Novice
**

Group: Members
Posts: 23
Joined: 23-September 06
From: California
Member No.: 211



Thanks, I know it is hard to tell but I am not an expert coder. My dad was/is a computer programmer and I took on the design side of the computer gene. But I think at 32, it is time for be to get serious with the code if anyone is going to take me seriously with the internet. Photoshop can only get you so far. I have a long ways to go. I'd like to learn java, ajax, flash, xml...well you get the drift. I hope you guys are ready to help me learn.

Oh and I will be sure to drop a line to him... wink.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 23 2006, 06:46 PM
Post #12


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Sure thing. I'll help you. But only if you teach me to make pretty pictures - I tend to resort to clipart. blush.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jcjdoss
post Sep 23 2006, 07:44 PM
Post #13


Novice
**

Group: Members
Posts: 23
Joined: 23-September 06
From: California
Member No.: 211



QUOTE(pandy @ Sep 23 2006, 04:46 PM) *

Sure think. I'll help you. But only if you teach me to make pretty pictures - I tend to resort to clipart. blush.gif

Deal biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 09:45 PM