PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > HTML/CSS/Javascript
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools
Old 8-23-03, 10:56 PM   #1
B&T
Just tryin' to help
 
B&T's Avatar
 
Join Date: Jan 2003
Location: along the journey
Posts: 8,036
Reputation: 125
W3C Validation

There seems to be no way to get this statement past W3C Using Transitional Validation. It seems to not like the & (at least that is what it seems to me it is saying). Any thoughts?

action='index.php?action=vote&id=20&vote=votes_up'
B&T is offline  
Old 8-24-03, 12:05 AM   #2
RocketJeff
just a former customer...
 
RocketJeff's Avatar
 
Join Date: Oct 2002
Location: Chicago, IL
Posts: 1,630
Reputation: 9
According to the documentation on the W3C site:
Quote:
- A reference to a URI that uses & as a separator between parameters, such as "http://example.org/prog?x=1&y=2".

To solve this problem, simply replace all the &'s in attribute values with & (user agents will convert them back before following the links.)
So change your line to be:
Code:
action='index.php?action=vote&id=20&vote=votes_up'
RocketJeff is offline  
Old 8-24-03, 12:58 AM   #3
B&T
Just tryin' to help
 
B&T's Avatar
 
Join Date: Jan 2003
Location: along the journey
Posts: 8,036
Reputation: 125
hmmm . . . guess I should have found that. Thanks
B&T is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:21 AM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.