...

View Full Version : <br /> causing errors in validation



Partizan
02-19-2009, 10:29 PM
Hi, Just wondering how I can correct my code to get rid of following validation errors relating to my use of the <br /> tag..

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.minifigtimes.com%2F

basically I want to be able to add blank lines for spacing. Can I use something else other than <br />

BoldUlysses
02-19-2009, 10:44 PM
A better way is to use CSS margins. But if you're set on using line breaks temporarily, use <br> without the self-closing /. Your DOCTYPE specifies HTML, where tags don't have to be closed, whereas with XHTML they do.

Partizan
02-19-2009, 11:17 PM
Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum