SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict goma's Avatar
    Join Date
    Jan 2002
    Location
    smelly armpit of Asia
    Posts
    305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dreamweaver 2004 CSS bug?

    I've always used Class to assign attributes like border:1px solid #000000 in MX without any problems. But then I do the same to thumbnail images in a table in DW 2004, the table cell width for each of the thumbnails increased, like something has been added to the cell aside from the image. I tried adding the CLASS tag to the TD but I get the same irritating cell width expansion. What is causing this?
    http://www.soapbox101.com

  2. #2
    SitePoint Addict
    Join Date
    May 2003
    Location
    Auckland
    Posts
    309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, adding a 1px border to the image will mean that effectively the image becomes 2px wider and 2px taller.

    This means that the cells dimensions will need enlarged.

    If youve got padding on your table cells, then you might be able to get around this by settings the padding of the thumbnail cell to zero, and leaving the rest of the cells with a padding (2px or more)

    This should mean that the thumbnail cell shouldnt be any larger than the other cells


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
  •