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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) |
| Newbie | 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 |
| | |
| | #2 (permalink) |
| Web Slave Recent Blog: A Bit of SQL For Jobberbase Open Source Job Board | 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 |
| | |
| Tags |
| compliance, css, validating, validation, wc3 |
| Thread Tools | |
| Display Modes | |
| |