Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    hey

    this is my first css layout, i just converted firethrottle's old table layout intoa new css one and with new graphics. What do you think? Please compare the table based layout and css layout:

    Table based original Firethrottle
    CSS version new

    Please also note that the css version isnt finished

    Thanks a lot
  2.  permalink
    good job. the CSS edition loaded about 5 times faster than your original.
    • CommentAuthoradmin
    • CommentTimeJan 4th 2006
     permalink
    I would take a close look at the HTML and strip unnecessary <br />, <img> and <div> tags.

    Use <ul> for your navigation, and right column links, and assign background images for the <li>.

    You are going in the right direction, but need to fix those things.
    • CommentAuthorspyyddir
    • CommentTimeJan 4th 2006
     permalink
    Just a quick tip, when you use an unordered list for you navigation (and you should, its the best way to do it), don't pad your li elements, pad the a elements. It makes more area clickable.
  3.  permalink
    Should we be using <nl> now?
    • CommentAuthorspyyddir
    • CommentTimeJan 4th 2006 edited
     permalink
    <nl>?
  4.  permalink
    <nl> = navigational lists. should be using it instead of <ul> for menu lists, nav bars, and so on?
  5.  permalink
    nevermind, it's an xHTML 2.0 spec.
    • CommentAuthorspyyddir
    • CommentTimeJan 4th 2006
     permalink
    I've never heard of it before... is it still in working draft or something?
  6.  permalink
    Yeah, I thought I rea dsomewhere you can use it still. Something about browsers still being able to read it or w/e. I'm not sure if it'd validate though.
  7.  permalink
    You can also use definition lists for your navigation lists if you really wanted although a standard unordered list is fine.

    Remember, use h# tags for headings. Things like <li class="title">, <span class="title">, or <p class="header"> are semantically incorrect as they should be an h# tag.

    Line breaks should be used to break lines within paragraphs if needed, not to space things out. Margins should be used for that and padding to space things out within objects.

    Rid yourself of image tags unless they are used as part of the content. The little image beside your forum content should be a list-style-image, not a background or image tag.

    Divisions should be used to logically group sections of your website - not holders that can be styled. At the very worst, you should use a division to add the ability to further style something.

    Clear the next element in the markup, don't add things like blank divisions and such unless absolutely needed.

    With that, you should be moving in the right direction.
  8.  permalink
    how do i use list-style-image?

    the only reason i used a blank div was because i needed to vertically center something, and since vertical align is useless, i had to use a some complicated hack.

    design wise, is there anything i could improve? are the colours ok?
  9.  permalink
    ul { list-style-image: url("image.ext"); }
  10.  permalink
    ok, thats seems easy enough, whats the .ext extension?
    •  
      CommentAuthornifkin
    • CommentTimeJan 6th 2006
     permalink
    it's whatever the file extension for your image is (gif, jpg, png)...
  11.  permalink
    yeah i know that, but i've never heard of the .ext extension
    •  
      CommentAuthornifkin
    • CommentTimeJan 6th 2006
     permalink
    dude, it's sample code where he used "image.ext" as a placeholder for whatever image file you want to use!

    url(/path/to/your/silly/image.gif)
  12.  permalink
    kk
Add your comments
    Username Password
  • Format comments as (Help)