navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Validation Warning

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Validation Warning
Page: [1]
 
Avick

 

Posts: 177
From: Ireland
Status: offline

 
Validation Warning - 8/15/2006 16:20:21   

I have been trying to validate my CSS style sheet using the W3C validation service.

I am getting no errors but I am getting the warnings similar to the following.

quote:


Line : 11 (Level : 1) You have no background-color with your color : a


I have set the background color to transparent but I am still getting this warning.

I don’t want to put a color in the background as there are gradients on the page and it would not look right on the site I am working on.

Should I ignore these warnings and show my page as CSS valid or try to get round the problem.

At the end of the page it is showing the W3C CSS valid icon but no reference link to take people back to the validation page.



_____________________________

Alan
http://www.newebirl.net
jaybee

 

Posts: 14122
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Validation Warning - 8/15/2006 16:37:27   
Ahhh yes, the good old background warning.

It's recent message, never used to happen. It suddenly appeared one day and I nearly had a heart attack.

The reason for the warning is, transparent isn't a colour.

Basically, it's a visual warning check to get you to make sure that you have sufficient contrast and aren't "disappearing things" into the background. As long as you're happy that it's all visible then ignore it.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Avick)
womble

 

Posts: 5501
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Validation Warning - 8/15/2006 16:59:49   
If it starts throwing up the background warnings I usually put in "inherit" - that usually keeps it happy, and providing I've checked a background's not going to start inheriting anything from the <body> tag or whatever that I don't want it to, it usually works okay.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to jaybee)
jaybee

 

Posts: 14122
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Validation Warning - 8/15/2006 17:12:06   
Last time I did that my page became ummm interesting.

My background image was everywhere. :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to womble)
womble

 

Posts: 5501
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Validation Warning - 8/15/2006 17:39:18   
:)

Guess I've been lucky with it then

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to jaybee)
Avick

 

Posts: 177
From: Ireland
Status: offline

 
RE: Validation Warning - 8/15/2006 18:01:26   
Tried the inherit function but it screwed up the page so that’s a no no.

If this is a relatively recent thing will that mean that all pages with transparent background are not valid CSS??

I think I will display my pages as Valid CSS as there is no way around this problem and its not really an error more a warning. :)


_____________________________

Alan
http://www.newebirl.net

(in reply to womble)
jaybee

 

Posts: 14122
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Validation Warning - 8/15/2006 19:18:23   
quote:

ORIGINAL: Avick

If this is a relatively recent thing will that mean that all pages with transparent background are not valid CSS??


It's valid css to use transparent.

The warning is just to tell you that you don't have specific colours specified and to go check that the page is OK. If it was invalid then you'd get an error not a warning.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Avick)
Avick

 

Posts: 177
From: Ireland
Status: offline

 
RE: Validation Warning - 8/15/2006 19:55:26   
Thanks jaybee
From now on if I just get warnings its Valid :)

Spent hours trying to get them to go away

_____________________________

Alan
http://www.newebirl.net

(in reply to jaybee)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Validation Warning
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts