SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: CellPadding

  1. #1
    SitePoint Zealot Da Mouse's Avatar
    Join Date
    Aug 2002
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CellPadding

    whats the CSS equivalent to cellpadding I'm trying to make my page validate as Xhtml 1.0 Transitional and thats the only thing stopping me
    I am DaMouse
    Nobody can beat me so long as I'm stubborn -DaMouse
    Squeak

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2002
    Location
    Bristol, UK
    Posts
    2,240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,

    Just looked these up in my HTML book, hopefully it's what you're looking for:

    You can use 'padding' (e.g. style="padding: 5px;") to specify the cellpadding for all edges of the element, or padding-top; padding-left; padding-right; padding-bottom to specify individual values.

    Hope this helps.

    -Sam
    Sam Hastings

  3. #3
    SitePoint Zealot Da Mouse's Avatar
    Join Date
    Aug 2002
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    where'd you get your book?
    I am DaMouse
    Nobody can beat me so long as I'm stubborn -DaMouse
    Squeak

  4. #4
    SitePoint Wizard
    Join Date
    Mar 2002
    Location
    Bristol, UK
    Posts
    2,240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why? Is it wrong or something?

    It's a book called 'Instant HTML Programmer's Reference', published by Wrox Press. The ISBN is 1-861001-56-8. It's a good book, would recommend it to anybody

    -Sam
    Sam Hastings

  5. #5
    SitePoint Zealot Da Mouse's Avatar
    Join Date
    Aug 2002
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it worked as far as I can see, thats why I would like the book
    I am DaMouse
    Nobody can beat me so long as I'm stubborn -DaMouse
    Squeak


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
  •