Results 1 to 4 of 4

Thread: HTML coding for Craig's List, a step into the ancient past

  1. #1
    Site Contributor KLB's Avatar
    Join Date
    Feb 2006
    Location
    Saco Maine
    Posts
    1,181

    HTML coding for Craig's List, a step into the ancient past

    Last night I was working on creating a Craig's List real estate listing for my wife for the first time and quickly cranked out some beautiful tableless HTML 4.01 strict compliant code, as I am use to doing, that used the "style=" attribute. Much to my horror, Craig's List stripped my style attribute instructions from all my tags except <dd>, <li> and <img>. I was stunned and flustered as I could not use any form of styling on <Hx>, <P>, <DIV>, <UL>, <DL>, etc. What was worse, was that they even stripped out the "title=" attribute from images, which meant no proper use of tooltips to provide descriptions of images (alt of course is for alternative text when a image does not display, NOT for tooltip descriptions).

    This forced me to spend about three hours playing around to figure out what exactly Craig's List would allow. In the end, I had to revert to tables, font tags and <BR> tags to get the styling I wanted as the <P> tag even seemed to be set to "clear:all". This in turn created nightmare printing options (my wife wanted to print out the listing for her client) as images were not breaking across pages correctly due to the bastardized code.

    Having to rely on coding tricks that have been obsolete for around eight years and are fraught with usability issues makes me almost feel like I need to go to confession for using them in a listing. At the very least, it was an unwelcome trip into ancient history and the bad old days of dirty code.
    Ken Barbalace - EnvironmentalChemistry.com (Environmental Careers, Blog)
    InternetSAR.org: Volunteers Assisting Search and Rescue via the Internet
    My Firefox Theme Classic Compact: Based onFirefox's classic theme but uses much less window space

  2. #2
    You spent more time on it than I would have. That's ridiculous!

    I guess that since I came into the web design game when tables were already on the outs, all I've ever known is tableless layouts so if I had to do something in tables, I honestly don't think I'd be able to. lol

  3. #3
    Registered
    Join Date
    Jul 2005
    Posts
    33
    Look into digg.com sources, you'll be amazed how ingenuous is it.

  4. #4
    Registered
    Join Date
    Jun 2007
    Posts
    14
    ha, from that tooltip comment you're clearly not an IE user. But maybe craig's list strips that stuff to keep people from manipulating the page? for example, if you could position a div to cover up their logo, navigation, etc. just a thought.

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
  •