SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2003
    Location
    California
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS/DW template margin spacing issue

    Hi all,

    Looking for someone's help once again on a CSS issue.

    On this page I have most of my problems sorted out except one (that relates to CSS anyway): http://www.hpiracing.com/buyhpi/

    I'm using a DW template to make the overal style of the site. The center column between the nav buttons and the "featured items" is the "content cell", which has 3 pixel spacing all the way around. I want to get the Flash animation to butt up against the table to the top and the left and right cells but with the template spacing for .contentcell I can't do this.

    I also want to make the text underneath the Flash have the 3 pixel spacing still so it's readable, I guess I can do that by putting it in a simple single cell table if I can make the content cell spacing for this one page 0 pixels.

    How can I accomplish what I'd like to do?

  2. #2
    SitePoint Member
    Join Date
    Apr 2003
    Location
    California
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Solved it - removed ".contentcell" class from the cell and add ".content" class to the style sheet:

    .content{
    margin : 3px 3px 3px 5px;
    }


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
  •