...

View Full Version : .cse-branding CSS Validator problem



cincinnatiboy4867
02-11-2009, 09:24 PM
I am having a problem with the only error on the CSS Validator page. Here's the link: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fdurkmusicbeats.tripod.com%2FCopy_of_home.html&profile=css21&usermedium=all&warning=1&lang=en
I don't know how I could possibly fix this since I don't have access to it... I'm so confused on this one.

Thanks :)

_Aerospace_Eng_
02-11-2009, 10:36 PM
You could just copy the styles to your own stylesheet and use that on your page. Also style tags don't go within the body. They go within the head element.

cincinnatiboy4867
02-13-2009, 12:57 PM
Any other solutions?

abduraooft
02-13-2009, 01:05 PM
I don't know how I could possibly fix this since I don't have access to it... I'm so confused on this one. I'm also confused! How do you fix some error in your code if you don't have access to it?

Anyway, you may replace zoom: 1; with height:1%; to avoid that validation error.

_Aerospace_Eng_
02-13-2009, 03:18 PM
Okay what is the issue? This is the url to their stylesheet
http://www.google.com/cse/api/branding.css

Go to it. Then copy and paste everything you see there in your own stylesheet file called
branding.css then change this

<style type="text/css">
@import url(branding.css);
</style>
Now you can get rid of those errors because the stylesheet is NOW on your YOUR own server. It helps if you actually try things out. If you don't know how to do something just ask.

cincinnatiboy4867
02-13-2009, 10:25 PM
I did what you said and it still shows the zoom error... even though I copied it and have it on my own server it still gets it from google?

Pepe, the bull
02-13-2009, 10:34 PM
That's because in your code you are still calling the stylesheet from google.


<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>

Look for this code and delete it.

_Aerospace_Eng_
02-13-2009, 10:55 PM
Did you change this

<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
to

<style type="text/css">
@import url(branding.css);
</style>

cincinnatiboy4867
02-15-2009, 03:19 AM
Thanks so much guys, Pepe was right I was changing the wrong page in my file manager (simple mistake).

Now I fixed every error in the validator for my html except 5 that I can't figure out. Anyone know what I could do to fix any of these?

Thanks so much!

http://validator.w3.org/check?uri=http%3A%2F%2Fdurkmusicbeats.tripod.com%2FCopy_of_home.html&charset=(detect+automatically)&doctype=Inline&group=0

abduraooft
02-15-2009, 12:18 PM
1)
required attribute "ALT" not specified.
See

The alt attribute is the alternative description. This is used for people who cannot or choose not to view images. This is a requirement in the latest versions of HTML.
2) Your style tag should be inside <head>
3)Change all &s in your links to it's corresponding html entitie => &amp;

cincinnatiboy4867
02-15-2009, 11:11 PM
Okay, thanks so much. That fixed them all. Such a big help...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum