#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Location
    Southampton
    Posts
    17
    Rep Power
    0

    XHTML CSSp is it ready for the Prime time?


    Hi all
    simple question really, Im about to rebuild a site for a client and Id like it to be the bee's knees of accessability. I'd love to make it xhtml compliant with a nice textual version for the screen readers etc. however this will require CSSpositioning as tables are not allowed for layout in strict XHTML.
    Do people think CSSp is OK cross browsers, are there any good detection scripts for browser support (rather than detecting browser type) how bad will NS4 make it all look?
    whats the general feeling, Id like to make it accessable but not at the cost of the end users, some of whom will be on old browsers...
  2. #2
  3. |<.+#f@#+.&.|
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Mar 2002
    Location
    norway
    Posts
    3,009
    Rep Power
    1224
    Actually tables was never intended to be used to controll the layout.

    from the html 4.01 spec
    Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media.
    [...]To minimize these problems, authors should use style sheets to control layout rather than tables
    http://www.w3.org/TR/html401/struct/tables.html#h-11.1
    you can take a look at ie. wired.com
    they are using css to do the layout,
    and they serve a plain text version to useragents that isn't compliant.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Location
    Southampton
    Posts
    17
    Rep Power
    0
    Cheers for the link, not a bad job they've done at wired.

    anyone know of a method for detecting if the browser can use cssp I don't want to do a browser detect just a capability detect.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Location
    Southampton
    Posts
    17
    Rep Power
    0
    Ive been doing a bit of testing for browser compatability.
    whilst looking into this I found
    http://www.skyzyx.com/archives/000094.php
    this is a smart way to run multiple versions of IE on 1 machine so you can see all the bugs your end users will.

    I must say that this puts me off using CSSp on this job. a lot of my users will be using Ie4 and looking at wired with it brings up a load of bugs (although IE4 is supposed to cssp)
    I know xhtml and cssp are the right thing to do but I cant easily justify it to the client when tables can do the job.

    I realise that tables arent designed for layout, but people want layout so I've got to use something...

IMN logo majestic logo threadwatch logo seochat tools logo