SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question tables keep showing white background

    I feel a little silly about posting this, but I'm trying to help someone I met online style their article site. The site uses tables for layout, which I'm not used to, and I want to make their backgrounds transparent so the background images are visible, but no matter what I do some of them still show up with white backgrounds.

    I've taken all references to background-color out of the css and can't find anything inline in any of the template files that would keep them white either.

    Again, this isn't my site.

    articleparade.com/login.php

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,710
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Perhaps it's the actual image that is showing wihte? I don't see anything else =/
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,467
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Welcome to Sitepoint

    The background color of the table has been hard coded into the deprecated bgcolor attribute of the table.

    e.g.

    Code:
    <table border="0" cellpadding="3" cellspacing="0" width="100&#37;" bgcolor="#FFFFFF"
    Either remove those attributes from the tables or override them with some css like this:

    Code:
    table,td {background-color:transparent!important}


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •