UK Webmaster Talk - Online Marketing - SEO


 

CSS and validation WC3 compliance

This is a discussion on CSS and validation WC3 compliance within the Website Design Forum forums, part of the Website Design & Development category; Hi, Just joined your forum and have a couple of questions. I am in the process of converting my whole ...


Go Back   UK Webmaster Talk - Online Marketing - SEO > Website Design & Development > Website Design Forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices

Reply

 

LinkBack Thread Tools Display Modes
Old 14-10-2008, 16:12   #1 (permalink)
Newbie
 
Join Date: Oct 2008
Location: Doncaster, UK
Posts: 1
iTrader: 0 / 0%
Yangster is an unknown quantity at this point
Default CSS and validation WC3 compliance

Hi,

Just joined your forum and have a couple of questions. I am in the process of converting my whole site to use CSS as I am seeing some brilliant results in the search engines and particularly google by doing so, I am also trying to get the pages to be totally valid code - hence the below problem I am having trouble solving.

Hi,

Just coded the following page in CSS but getting warnings when testing the specific errors are -

<img> discarding newline in URI reference

I can see that this is caused by a RETURN or newline in the code - the page is dynamically generated - here is the section that shows the error -

</form></td></tr><tr align='center' valign='middle'>
<td align='center'><img src='products/canon
_s.gif' alt='Canon'> </td>

So at the end of line 2 you can see the URL is broken over to the newline .... here is the chunk of code that is producing same -

$strTable = $strTable . "<tr align='center' valign='middle'>\n"."<td align='center'>$strManufacturerNameLogo</td>\n"."<td align='center' valign='middle'>".($strManufacturerName)." " . $strProductType . "</td>\n"."<td align='left' valign='middle'>";

Can anyone tell me why this is causing the warnings that I am getting please.

Any help would be much appreciated.

Simon
Yangster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14-10-2008, 20:46   #2 (permalink)
Web Slave
 
blacknight's Avatar
 
Join Date: Sep 2008
Location: Ireland
Posts: 453
iTrader: 1 / 100%
blacknight is an unknown quantity at this point
Default

Simon

Welcome to the site.

Can you give us a link to the live page so that I can check the full validation results?

I've found in the past that the validator can barf on line X, as a result of something on line Y (if you follow what I mean)

Michele
__________________
Work | Blog | UK Webmaster Chat
blacknight is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
compliance, css, validating, validation, wc3

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 20:20.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
UK Webmaster Forum © WebmasterTalk.co.uk | Design by Forbairt

Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41