Announcement

Collapse
No announcement yet.

Xhtml Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Xhtml Help

    How do I set a table background to be XHTML valid??

    Code:
    <table width="100%"  border="0" cellpadding="0" cellspacing="0" background="<A href="http://www.mysite.com/images/header.gif">[/CODE">http://www.mysite.com/images/header.gif">
    I did this but it is not showing the image.

    Add this to the CSS

    Code:
    .hdr {
    background: url(http://www.mysite.com/images/header.gif;
    }
    And then change it to this:

    Code:
    <table class="hdr" width="100%"  border="0" cellpadding="0" cellspacing="0">

  • #2
    You forgot the closing ) on the class.

    Comment


    • #3
      Thanks Zachary, I can't believe it missed that. I been at it for an hour!!!!

      Comment

      Loading...
      Working...
      X