Attribute 'height'

  • mx_webb00
  • Born
  • Born
  • mx_webb00
  • Posts: 4

Post 3+ Months Ago

I have two warning I am not sure of the syntex to fix can someone help!


Warning 1 Validation (XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'table'. C:\ITPROJECTS\CRM\index.aspx 15 20 ARAllegiance

Warning 2 Validation (XHTML 1.0 Transitional): Attribute 'background' is not a valid attribute of element 'table'. C:\ITPROJECTS\CRM\index.aspx 15 77 ARAllegiance

HERE IS THE LINE OF CODE:
<table width="472" height="115" border="0" cellpadding="0" cellspacing="0" background="images/login_back.gif">


mwebb@arallegiance.com


Michael
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

You need to remove the height and background attributes of the table tag. You can replace them with...
Code: [ Select ]
style="height:115px:background:url(images/login_back.gif);"
  • mx_webb00
  • Born
  • Born
  • mx_webb00
  • Posts: 4

Post 3+ Months Ago

I get this message now:
Error 1 Validation (CSS 2.0): '115px:background:url(images/login_back.gif)' is not a valid value for the 'height' property. C:\ITPROJECTS\CRM\index.aspx 15 34 ARAllegiance


From this line of code:
<table width="472" style="height:115px:background:url(images/login_back.gif)">
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

Oops, sorry. It was a typo.

Code: [ Select ]
style="height:115px;background:url(images/login_back.gif);"
  • mx_webb00
  • Born
  • Born
  • mx_webb00
  • Posts: 4

Post 3+ Months Ago

Not a problem!!

Thanks !!!!
  • mx_webb00
  • Born
  • Born
  • mx_webb00
  • Posts: 4

Post 3+ Months Ago

YOUR ARE THE MAN!!!


Maybe I should say Person!


Awesome

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 86 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.