SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2006
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How good is XHTMLized CSS?

    I do some CSS, but I'm no guru. I was wondering how good http://XHTMLized.com/ CSS is? (not just their page, but the pages in their mini portfolio at the bottom)

    Cheers!

    Cooper

  2. #2
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Code:
    h1,h2,h3,h4{
    	margin:0;padding:0;color:#FFF;background-color:transparent;background-image:none;
    }
    p{
    	margin:0;padding:0;color:white;background-color:transparent;background-image:none;
    }
    a{
    	text-decoration:none;background-color:transparent;background-image:none;
    }
    img{
    	border:0;
    }
    /* layout */
    #wrapper{
    	margin:0 auto;padding:0;width:760px;text-align:left;
    }
    #header{
    	margin:0 auto;padding:0;width:760px;height:183px;
    }
    In that block alone, I can see about 9 completely unnecessary rules. Also note the inconsistency between the headings and p selectors with color. The html mark-up is not the cleanest, but not horrible either.

    On*http://flywire.com.au/ (from the folio) I spotted a number of inline styles.


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
  •