1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

tableless, search engine friendly CSS

Discussion in 'CSS' started by standarddeviant, Dec 4, 2004.

  1. #1
    After several failed attempts, I would like one of our sites converted to tableless, search engine friendly CSS (and that validates). Please pm me if you are experianced and interested in doing this freelance. Examples of your work are required and testimonials would help also.

    SD
     
    standarddeviant, Dec 4, 2004 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Tableless HTML is still not portable across various browsers. Copy the following HTML fragment and paste it in a file. Try IE and Mozilla/Firefox and you will see that borders are all screwed up:

    
    <div style="border: 1px solid red; padding: 0px 10px 0px 10px;">
    <div style="border: 1px solid green; padding: 0px 20px 0px 20px;">
    <div style="border: 1px solid blue; margin-left: auto; margin-right: auto; width: 100%;">
    content
    </div></div></div>
    
    <div style="border: 1px solid red; padding: 0px 10px 0px 10px;">
    <div style="border: 1px solid green; padding: 0px 20px 0px 20px; width: 100%;">
    <div style="border: 1px solid blue; margin-left: auto; margin-right: auto; width: 100%;">
    content
    </div></div></div>
    
    Code (markup):
    There's nothing wrong with tables - just make sure all of it is formatted using CSS2, not HTML (in HTML v4.01 most formatting is depreciated in favor of CSS2 anyway).

    J.D.
     
    J.D., Dec 7, 2004 IP
  3. eski009

    eski009 Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    always try and use tableless... otherwise you'll be stuck in the 20th century
     
    eski009, Mar 1, 2007 IP
  4. veckd

    veckd Peon

    Messages:
    1,065
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #4
    agreed =D.
     
    veckd, Mar 2, 2007 IP