Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


HTML validation trouble



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
ReFredzRate
1000+ Club


Joined: 20 Aug 2004
Posts: 2186
Location: Netherlands

PostPosted: Wed Mar 23, 2005 5:46 pm    Post subject: HTML validation trouble Reply with quote

Dudes, I have some trouble. I have for nearly 100% finished my new company's website design. Only problem is I got some errors during HTML validation. I'm quite good at HTML, but those two errors I can't figure out unfortunately. Anyone able to help me out?

Here is the source page:
http://www.vermanen.nl/bytesize9/index.html

Here are the errors shown:
http://validator.w3.org/check?uri=www.vermanen.nl%2Fbytesize9%2Findex.html

Thanks!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Wed Mar 23, 2005 10:11 pm    Post subject: Re: HTML validation trouble Reply with quote

Line 9, column 27: there is no attribute "HEIGHT"

Thats easy to fix... just take out the space between the " and the 100
Back to top
View user's profile Send private message Send e-mail AIM Address
ReFredzRate
1000+ Club


Joined: 20 Aug 2004
Posts: 2186
Location: Netherlands

PostPosted: Wed Mar 23, 2005 10:17 pm    Post subject: Re: HTML validation trouble Reply with quote

It looks as if there's a space. There is none... Believe me. Check out the coding in the source page. It's pure HTML, so no PHP generated coding.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Malcolm
100+ Club


Joined: 07 Oct 2004
Posts: 199
Location: Ontario, Canada

PostPosted: Wed Mar 23, 2005 10:51 pm    Post subject: Re: HTML validation trouble Reply with quote

For the HTML table element height is an invalid attribute:
http://www.htmlhelp.com/reference/html40/tables/table.html
http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TABLE
Back to top
View user's profile Send private message Visit poster's website
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Wed Mar 23, 2005 11:28 pm    Post subject: Re: HTML validation trouble Reply with quote

thats funny.... because the forums here use the <table height="100%">

Smile
Back to top
View user's profile Send private message Send e-mail AIM Address
Malcolm
100+ Club


Joined: 07 Oct 2004
Posts: 199
Location: Ontario, Canada

PostPosted: Thu Mar 24, 2005 1:50 am    Post subject: Re: HTML validation trouble Reply with quote

Just because it works doesn't make it right Wink
Back to top
View user's profile Send private message Visit poster's website
webmaster
Site Admin


Joined: 17 Aug 2004
Posts: 3590
Location: Sweden

PostPosted: Thu Mar 24, 2005 2:26 am    Post subject: Re: HTML validation trouble Reply with quote

Phate wrote:
thats funny.... because the forums here use the <table height="100%">

Smile


The phpBB forum (which this is) does not validate at all, someday... when I have alot of sparetime I will reprogram the forum to a div/css deisign, it will be much faster. (and validate) Smile
Back to top
View user's profile Send private message Visit poster's website
Malcolm
100+ Club


Joined: 07 Oct 2004
Posts: 199
Location: Ontario, Canada

PostPosted: Thu Mar 24, 2005 2:35 am    Post subject: Re: HTML validation trouble Reply with quote

why not just use punbb then?
http://www.punbb.org/
Back to top
View user's profile Send private message Visit poster's website
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Thu Mar 24, 2005 5:13 am    Post subject: Re: HTML validation trouble Reply with quote

Personally... I like how <table height="100%"> looks...

It just seems smoother how it dissapears into the bottom of the page...
Back to top
View user's profile Send private message Send e-mail AIM Address
ReFredzRate
1000+ Club


Joined: 20 Aug 2004
Posts: 2186
Location: Netherlands

PostPosted: Thu Mar 24, 2005 7:11 am    Post subject: Re: HTML validation trouble Reply with quote

True... Alright, right now I'm at a point where I don't know what to do. Get rid of the height attribute, or leave it like it is, and have an invalid HTML document.

*edit*
/insert light bulb here
Just had an idea! I'll rip out the tables, and redo it in div's. I'll insert everything in CSS. I bet that will be valid in CSS. (Thanks for the idea Razz!)
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Malcolm
100+ Club


Joined: 07 Oct 2004
Posts: 199
Location: Ontario, Canada

PostPosted: Thu Mar 24, 2005 12:22 pm    Post subject: Re: HTML validation trouble Reply with quote

Remember to use XHTML as the doc type! Smile
Back to top
View user's profile Send private message Visit poster's website
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Thu Mar 24, 2005 8:43 pm    Post subject: Re: HTML validation trouble Reply with quote

ReFredzRate wrote:

*edit*
/insert light bulb here
Just had an idea! I'll rip out the tables, and redo it in div's. I'll insert everything in CSS. I bet that will be valid in CSS. (Thanks for the idea Razz!)


Brilliant idea!!

I still like the looks of the height=100%
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap