Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Dont understand this error and how to fix it
Old 08-01-2008, 07:16 AM Dont understand this error and how to fix it
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
I'm validating my website and I am left with just one error now which can be found on here: http://validator.w3.org/check?uri=ht...Inline&group=0

Can someone please help me out by telling me what the error means and how I could fix it?

Thanks
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-01-2008, 07:34 AM Re: Dont understand this error and how to fix it
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
My guess would be that
Quote:
there is no attribute "height"
means that there is no height="something" that should be applied on an element
;-)

The fact is, that a table element has no height attribute, although the browser interprets it if it's found. That's because too many lazy developers have used this to drop 100% of its support.

The correct way as of today, would be to set the height via CSS, either online via the style attribute, or from an css file, referencing the element tag name or id
Code:
<!-- Dynamic Banner provided by RevenuePILOT.com -->
<table border='0' align='center' cellspacing='0' width='468' style="height:60px">
or in html:
Code:
<!-- Dynamic Banner provided by RevenuePILOT.com -->
<table id="revPilTbl" align='center' cellspacing='0'>
and in the css file:
Code:
#revPilTbl{
  height: 60px;
  width: 468px;
  border: 0px;
}
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 08-01-2008, 07:37 AM Re: Dont understand this error and how to fix it
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
there is no attribute "height"

So the use of the height-attribute in a table isn't allowed. Remove the table's height-attribute and your page is valid!

If you really want to give a height to your table, use height:60px; with CSS instead.
bas is offline
Reply With Quote
View Public Profile
 
Old 08-01-2008, 07:47 AM Re: Dont understand this error and how to fix it
Ultra Talker

Posts: 254
Name: Daniel Mousdell
Trades: 0
Thanks so much, it worked great

Thanks again
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Danaldinho is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dont understand this error and how to fix it
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.37899 seconds with 12 queries