CSS and XHTML conflict?

Discussion in 'OT Technology' started by Divine Vengeance, Nov 25, 2003.

  1. Divine Vengeance

    Divine Vengeance New Member

    Joined:
    May 21, 2003
    Messages:
    20,453
    Likes Received:
    0
    Due to the pressure of my other programming friends, I've decided to make all my websites XHTML compliant. I've run into a problem however; the height and padding attributes in my css stylesheets are invalid. Dunno how to fix it, and I can't really find anything specific with Google. Anyone have suggestions?
     
  2. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    I can't answer your question, but the place I go for web development help is SitePoint. Amazing people over there for web based stuff.

    www.sitepoint.com
     
  3. Astro

    Astro Code Monkey

    Joined:
    Mar 18, 2000
    Messages:
    2,047
    Likes Received:
    0
    Location:
    Cleveland Ohio
    Peer pressure! :)

    Check out: www.w3schools.com

    They have HTML, CSS, XHTML, and a bunch of other stuff. Don't try using it like a tutorial but more like a reference manual. I used it to reference my CSS because I can't remember all the attributes.

    Although not very flashy, check out http://www.rsbauer.com (my site). Its XHTML and CSS driven.

    You can also use W3C's validation service and they're pretty good about pinpointing the problems (not sure if thats what you've done or not). Here's the main link:

    http://validator.w3.org/

    But if you're thinking about using the W3C, I would HIGHLY recommend checking a plugin for Mozilla and Firebird called PNH Toolbar:

    http://placenamehere.com/pnhtoolbar/

    With this, it gives you a page test drop down. On the page you want to test, select the test (HTML and CSS will be of interest for you) and it opens a new tab with the results. Nifty stuff. It also has some other nifty tools like opening the view source in anothe tab (versus a new window) and form and cookie details. Plus Mozilla/Firebird are both very very CSS/XHTML friendly (unlike IE which is just down right quirky).
     
  4. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    Just an FYI, I'm redoing my site (www.compiledmonkey.com) in true XHTML/CSS. I'm planning to make multiple stylesheets you can choose between that give completely different layouts. :big grin:
     

Share This Page