This is a discussion on "[SOLVED] 2 validation errors" within the Web Page Design section. This forum, and the thread "[SOLVED] 2 validation errors are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] 2 validation errors
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] 2 validation errors
hey, could somebody please tell me how to fix the 2 validation errors im getting......
http://www.design365.co.uk/farmaround/home.htm Ive managed to get the errors down from 96 to 2 lol. Thanks |
|
|
|
|||
|
Re: 2 validation errors
You need to move the presentational attributes "border" and "align" out of your XHTML, and into your CSS.
For example, this CSS removes borders on all images that are inside a <a> element:
|
|
|||
|
Re: 2 validation errors
thanks mike that worked a treat. Im a bit gutted i cant use div align=center though lol!
|
|
|||
|
Re: 2 validation errors
Quote:
<div align="center"> is no loss: CSS can do this. For centred boxes, use auto margins:
|
|
|||
|
Re: [SOLVED] 2 validation errors
hmmm. Yea i use margin: 0 auto; all the time. However, when i removed the div align=center i put a margin: 0 auto; on the div#footer_container but it didnt center it. Im guessing for margin: 0 auto; to work you need to set a width?
|
|
|||
|
Re: [SOLVED] 2 validation errors
Quote:
Congratulations for validating your site against a Strict doctype. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Please help validate 4 css errors! | Oak | Web Page Design | 3 | Jan 10th, 2008 11:20 |
| validation errors | danny322 | Web Page Design | 10 | Nov 13th, 2007 12:51 |
| Can someone make sense of these validation errors? | alexgeek | Web Page Design | 7 | Oct 10th, 2007 13:38 |
| Some confusing validation errors on my home page | Zonglars | Web Page Design | 2 | Jul 16th, 2007 14:51 |
| Validation errors I can't resolve | Craigj1303 | Web Page Design | 4 | May 29th, 2007 22:23 |