473,401 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

CSS validation question

Hi all,

In the CSS I'm working on I have code along the following lines:

#pageMenu a {
[style info] }

This seems fine to me, but I'm obviously wrong as it doesn't validate. I
just wondered if someone could tell me specifically why this is, as the
validator itself doesn't give any clue?

The site is at www.nowpc.co.uk

Thanks in advance,
Neil

e-mail: take THIS out
Jul 20 '05 #1
5 1606

"NWhite" <ne********@THISneilwhite.org.uk> wrote in message
news:Ve*******************@doctor.cableinet.net...
Hi all,

In the CSS I'm working on I have code along the following lines:

#pageMenu a {
[style info] }

This seems fine to me, but I'm obviously wrong as it doesn't validate. I
just wondered if someone could tell me specifically why this is, as the
validator itself doesn't give any clue?


The blendTrans macro is IE-specific, so the validator doesn't know how to
read blendTrans(duration=0.5).

Jul 20 '05 #2
"NWhite" <ne********@THISneilwhite.org.uk> wrote in message
In the CSS I'm working on I have code along the following lines:

#pageMenu a {
[style info] }

This seems fine to me, but I'm obviously wrong as it doesn't validate. I
just wondered if someone could tell me specifically why this is, as the
validator itself doesn't give any clue?

"Harlan Messinger" replied The blendTrans macro is IE-specific, so the validator doesn't know how to
read blendTrans(duration=0.5).


Hi Harlan,

Thanks for the reply. So is that why the [#pageMenu a] style is shown as an
error? Is the validator being thrown a curve that it can't deal with? Why
doesn't it just reject the blendTrans?
Jul 20 '05 #3

"NWhite" <ne********@THISneilwhite.org.uk> wrote in message
news:BN*******************@doctor.cableinet.net...
"NWhite" <ne********@THISneilwhite.org.uk> wrote in message
In the CSS I'm working on I have code along the following lines:

#pageMenu a {
[style info] }

This seems fine to me, but I'm obviously wrong as it doesn't validate. I just wondered if someone could tell me specifically why this is, as the validator itself doesn't give any clue?
"Harlan Messinger" replied
The blendTrans macro is IE-specific, so the validator doesn't know how
to read blendTrans(duration=0.5).


Hi Harlan,

Thanks for the reply. So is that why the [#pageMenu a] style is shown as

an error? Is the validator being thrown a curve that it can't deal with? Why
doesn't it just reject the blendTrans?


It *is* rejecting it. It's telling you that it's invalid. What do you think
"validate" means? "Ignore all the invalid constructs in my code and then
tell me that my code is valid anyway"?

Jul 20 '05 #4
"NWhite" wrote in message
> In the CSS I'm working on I have code along the following lines:
>
> #pageMenu a {
> [style info] }
>
> This seems fine to me, but I'm obviously wrong as it doesn't validate.
I
> just wondered if someone could tell me specifically why this is, as the > validator itself doesn't give any clue?


"Harlan Messinger" replied The blendTrans macro is IE-specific, so the validator doesn't know how to read blendTrans(duration=0.5).

Neil White replied Hi Harlan,

Thanks for the reply. So is that why the [#pageMenu a] style is shown as

an
error? Is the validator being thrown a curve that it can't deal with? Why doesn't it just reject the blendTrans?


"Harlan Messinger" replied It *is* rejecting it. It's telling you that it's invalid. What do you think "validate" means? "Ignore all the invalid constructs in my code and then
tell me that my code is valid anyway"?


Not quite, Harlan :-)

My point was that the specific problem wasn't highlighted. As it is, valid
code was shown as an error - hence the post. Of course, you're right though:
the CSS validates fine without the filter:blendTrans line; yes, it was my
fault for not checking its validity before using it.

Thanks for the help,
Neil White
Jul 20 '05 #5

"NWhite" <ne********@THISneilwhite.org.uk> wrote in message
news:HJ*******************@doctor.cableinet.net...
"NWhite" wrote in message
> > In the CSS I'm working on I have code along the following lines:
> >
> > #pageMenu a {
> > [style info] }
> >
> > This seems fine to me, but I'm obviously wrong as it doesn't validate.
I
> > just wondered if someone could tell me specifically why this is,
as the
> > validator itself doesn't give any clue?

"Harlan Messinger" replied > The blendTrans macro is IE-specific, so the validator doesn't know
how to
> read blendTrans(duration=0.5).
Neil White replied Hi Harlan,

Thanks for the reply. So is that why the [#pageMenu a] style is shown
as an
error? Is the validator being thrown a curve that it can't deal with?

Why doesn't it just reject the blendTrans?


"Harlan Messinger" replied
It *is* rejecting it. It's telling you that it's invalid. What do you

think
"validate" means? "Ignore all the invalid constructs in my code and then
tell me that my code is valid anyway"?


Not quite, Harlan :-)

My point was that the specific problem wasn't highlighted. As it is, valid
code was shown as an error - hence the post.


I see what you mean. By the way, though, it would have been helpful if you
had provided the error messages in your original posting.
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: wumingshi | last post by:
Hi, When validating an XML instance, sometimes the schema is not enough to expression the validation rules. Additional validation rules may be expressed in an application-specific way. For...
9
by: rbronson1976 | last post by:
Hello all, I have a very strange situation -- I have a page that validates (using http://validator.w3.org/) as "XHTML 1.0 Strict" just fine. This page uses this DOCTYPE: <!DOCTYPE html PUBLIC...
16
by: Hosh | last post by:
I have a form on a webpage and want to use JavaScript validation for the form fields. I have searched the web for form validation scripts and have come up with scripts that only validate...
1
by: Colin Basterfield | last post by:
Hi, I have a web form which takes daily sales totals, both counts and monetary value and is done on a weekly basis, so on a Monday morning the User would enter these totals. Each total has a...
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
5
by: Chris | last post by:
Based upon some prevoius postings on what to do for adding a 'add' row to a datagrid I utilize the footer to create the 'add' row. The only issue is that I have it sharing the 'UpDate_Command' and...
8
by: Joe | last post by:
Hi, I have a form with three text fields and a Submit button. The two text fields have ReqiredFieldValidator and third text field has RegularExpressionValidator. The page validation works fine...
2
by: winnie_us99 | last post by:
Hi All, I am trying to do validation on my text field before going to the next page to create a user. It doesn't look like the next button will fire any validation. Am I missing something? Can...
9
by: julie.siebel | last post by:
Hello all! As embarrassing as it is to admit this, I've been designing db driven websites using javascript and vbscript for about 6-7 years now, and I am *horrible* at form validation. To be...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.