This is a discussion on "Why wont it Validate" within the Web Page Design section. This forum, and the thread "Why wont it Validate are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Why wont it Validate
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Why wont it Validate
I have tried to validate my website and it says that it will not due to the errors below
http://validator.w3.org/check?uri=ht...00=1&verbose=1 But I am confused with what I have to change. Can someone help please. Cheers Dan |
|
|
|
#2
|
|||
|
|||
|
Re: Why wont it Validate
Pretty simple ... you have a <center> tag that not closed.
BTW ... you do realize the center element is deprecated yes? You really shouldn't be using it. CSS is what you should be using instead. |
|
#3
|
|||
|
|||
|
Re: Why wont it Validate
Thank you very much,
Am now struggling to center using CSS please could you help. Cheers Dan |
|
#4
|
|||
|
|||
|
Re: Why wont it Validate
|
|
#5
|
|||
|
|||
|
Re: Why wont it Validate
I found a page searching google which said, that to obtain centre alignment you can set an elements formatting (using CSS) to this:
margin-left: auto; margin-right: auto; I currently use this style of alignment for my pages, for both centre and right alignment (seeings how left is by default :P). |
|
#6
|
||||
|
||||
|
Re: Why wont it Validate
|
|
#7
|
|||
|
|||
|
Re: Why wont it Validate
Yeah, i still feel more comfortable doing it the long way right now :S. I'll get to shortening it eventually.
|
|
#8
|
|||
|
|||
|
Re: Why wont it Validate
i had like 150 errors on my site but i dont really care about validating it yet
|
|
#9
|
|||
|
|||
|
Re: Why wont it Validate
Have made alot changes to the website and now have 5 errors cant figure out how to fix these ones.
(CSS is fine) I want to keep the XHTML logo on there but if I cant validate it I will have to take it off. Can someone help me yet again. Cheers Dan |
|
#10
|
|||
|
|||
|
Re: Why wont it Validate
Error #1 wants you to add a equals symbol.
target="_blank" 3-6 just add either the end> or the beginning< |
|
#11
|
|||
|
|||
|
Re: Why wont it Validate
error 3 is because you need to add an id to the map element... usually the same as your name attribute.
|
|
#12
|
|||
|
|||
|
Re: Why wont it Validate
The target attribute is not valid xhtml. You will have remove that in order to validate. A simple javascript pop-up would be better or no pop-up at all would probably be the best.
Pete. |
|
#13
|
|||
|
|||
|
Re: Why wont it Validate
I spent about 4 hours trying to validate my page. And in did in the end. All the answers are there for you.
|
![]() |
| Tags |
| html |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Div wont line up with Nav bar? | Oak | Web Page Design | 1 | Mar 1st, 2008 12:26 |
| sometimes a link wont work.. why? | col | Web Page Design | 1 | Aug 20th, 2007 22:38 |
| why wont my image show up? :( | monkeymafia | Web Page Design | 4 | Jun 20th, 2007 17:12 |
| for #%&* sake why wont this validate! | bruno89 | Flash & Multimedia Forum | 1 | Feb 26th, 2007 18:08 |
| my div wont move | cheataweb | Web Page Design | 1 | Dec 19th, 2006 17:44 |