SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: CSS and myspace

  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS and myspace

    Hello,

    I have been playing around with myspace and was hoping that someone could explain some css code.

    I have 2 examples below that I have found to help in my myspace design. I know that this is not "normal" css structure. Could someone exlplain what this "nesting" does?

    table table table { all the great css stuff in here }

    td.text td.text table table table td a img {all the great css stuff in here}

    Thanks!

  2. #2
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    table table table, css for the 2 table in a table

    td.text td.text table table table td a img
    img in A tag, in a TD, in table, in table, in table, in a td with the class text, in a td with a class text

  3. #3
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Makes sense!!

    Thanks for the reply, now back to playing with myspace.


  4. #4
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    another question related to this post

    i understand the explanation... but my question is this. for example if you have:

    table table table {declarations here}

    does that refer to the very first table in the body?

  5. #5
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    No
    any 2 table in a table on the page

    any 2 table in any nested table also

  6. #6
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, another question.

    Is it possible to set the cellpadding of a table to 0 if it is already hard coded.

    <TABLE CELLPADDING="3">


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
  •