5 Great CSS Techniques To Improve Your Website

CSS or Cascading Style Sheets is normally used to separate the style and layout of your HTML files from the actual content. However, few are aware of the added value that CSS can give to your website. Aside from the obvious ones like style standardization, CSS can be utilized to provide other useful stuff not possible with table-based layouts.

Among these benefits are things like:

Much information about these techniques can be found on the web. Below are some example implementations.

Server bandwidth reduction

CSS Optimization can translate to huge savings in server bandwidth, resulting in lower operational costs.

This article compares some of the best CSS optimizers available on the web by using heavy traffic websites like Digg and Slashdot as an example.

Media type formatting

By utilizing the CSS media attribute, you can easily control display for different media types. This is best used when formatting websites for mobile display and creating printer-friendly pages.

Here is a good tutorial that covers CSS development for mobile browsers. For techniques related to print styling, refer to this tutorial, another tutorial, and this article by Eric Meyer.

Menu overlapping

The CSS z-index property specifies the order an element is stacked, similar to how layers are arranged in Adobe Photoshop. It is also relatively easy to understand, and can be quite powerful when used correctly. It can also come in handy when creating overlapping menus. Here is a very good tutorial on how this can be done.

Styling of form elements

In a previous article we linked to Jeff Howden’s CSS-Only, tableless forms article which gives an example of what can be accomplished with CSS form styling.

Then, there’s also The Form Assembly, a CSS Zen Garden clone for showcasing form designs.

E-mail address obfuscation

When displaying an e-mail address on a website you obviously want to obfuscate it to avoid it getting harvested by spammers. There are many ways to accomplish this, and one such method can easily be implemented in CSS. Silvan Mühlemann tested nine methods and published a test page for spambots to harvest. 1.5 years later the results are out and surprisingly, only the CSS methods resulted in absolutely zero spam.

76 Responses to “5 Great CSS Techniques To Improve Your Website”

  1. Bushe Says:

    Would you be interested in writing for The Neave Online Publication? I love your writing style and I feel like you would fit in perfectly with the other writers.

  2. Free Gadget Says:

    Love this page, is it updated often? Bookmarked :)

  3. Web design blog Says:

    Very nice, keep posting!

  4. Iven Says:

    I dont usually reply but WoW!! Thanks man!. Good work!

  5. Alan Toaca Says:

    Hey there my friend usually I don’t post on many blogs these days, but I would like to let you know that this post really forced me to do so! Keep up the good work my friend, I love your blog & your style of writing!

  6. calificar a los usuarios Says:

    It

  7. wiod Says:

    http://www.szcji.com

  8. mark Says:

    nice post ;)

  9. ArticleDirectory Says:

    Hi, I found your page when i was searching Google for sites related to this article. I have tell you, your site is good. I like the layout too, its pleasing. I don’t have much time at the moment to fully read your web site but I have bookmarked it and I also subscribed for your RSS feed. I will be back in a day or two. Thanks for an informative web site.

  10. Cat @ flower shop Says:

    I’ve been looking for the WWW for my research on this topic. I’m so grateful what you shared bestows a new dimension to the data I’m collecting. I truly appreciate the way which you look at this field, it extend to me a distinct means of seeing at it now. Thanks for the share.

  11. Jasmine @ local flower delivery Says:

    This is by far one of the neatest composed articles on this theme. I was exploring on the exact corresponding content and your post totally took me off with the way you understand this subject area. I congratulate your insight but do leave me to come back to comment further as I’m currently broadening my research on this topic further. I will be back to join in this discussion as I’ve bookmarked and tag this very page.

  12. Dang Jamaal Says:

    if i die 2nite i go with no regrets if its in ur arms den i kno i was blessed but if ur eyes r the last thing i see den i know the beauty heaven holds for me

  13. Sohbet Says:

    Would you be interested in writing for The Neave Online Publication? I love your writing style and I feel like you would fit in perfectly with the other writers

  14. sohbet Says:

    thank you good web site

  15. John K Says:

    Wow, I didn’t know there were so many uses for CSS. I’ll have to start looking into using that and learning it. Thanks!

  16. Boob Says:

    Great info. Thanks for posting this.

  17. Flyttst Says:

    Nice to be visiting your blog again. Thanks for posting this informative post. Regards, Hayden Charles ~ Flyttst

  18. Betty Says:

    I posted some comments before anyway, because lots of your stuff is really informative.Absolutely amazing man!

  19. Ronald Says:

    Cheers for the useful information

  20. I hate this part Music Says:

    Hola :)\ just passed by consedince while for a song in some blogs :) anyway nice blog gotta check it out hope you accept me as a follower and a friend blogger. thanks ^^

  21. Randell Jimmie Says:

    J’adore votre site, le contenu est vraiment de qualité ! bonne chance pour la suite ;)

  22. Araba Oyunları Says:

    http://www.mixx.com/stories/9639677/araba_yar

  23. Hannah A. Parrott Says:

    I am experiencing trouble with viewing your site properly through the most recent release of Opera. Looks good in IE6 and Firefox however.Have a lovely day.

  24. Matthew C. Kriner Says:

    I normally do not leave comments but I found your post very useful. Im new to building webistes and this gave me a good point to start from. I also bookmarked your post

  25. Vanna Budlong Says:

    hey this post was quite informative to me. looking for your next post.

  26. kelly Says:

    Nice posts. Keep it up.

  27. Cameron James Says:

    Comfortabl y, the article is actually the freshest on this valuable topic. I agree with your conclusions and will eagerly look forward to your future updates. Saying thanks will not just be enough, for the tremendous lucidity in your writing. I will directly grab your rss feed to stay privy of any updates. Fabulous work and much success in your business dealings!

  28. Pamela Says:

    Thank you, I love to read articles that are informative and beneficial in nature.

  29. Funny Christmas Songs Says:

    You wouldn’t believe this but I have wasted all day researching for some information about this. Thanks for this, it was a essential read and really helped me out. Cheers, <a href=”http://ezinearticles.com/?Funny-Christmas-Songs-For-Children—Groove-King-Senseless

  30. jackfusion Says:

    This comment refers to your size and is downright insensitive. Don

  31. Dynalite Says:

    You not going to believe it but I have spent all day looking for some info about this. You’re a lifesaver, it was a wonderful read and has helped me out to no end. Have a good one,X10 Home Automation

  32. Gregory Despain Says:

    Anyone who wants to start a blog can do so by becoming a member of a blogging website of their choice. Once they’ve become members, they automatically become a part of that particular blogging community. They can browse through other bloggers pages, and link them back to their own blogs. They can also make comments on other members’ blogs.

  33. Kayla Says:

    Hi there, thank you so much for this article, it

  34. Swarovski Pendants Says:

    Thanks thanks thanks! I was looking for something along lines of this for hours and couldn’t find it.

  35. Dorthy Hall Says:

    A buddy recommended me to read this post, great post, fascinating read… keep up the nice work!

  36. Carlene Geise Says:

    I went to the link you give to get the free gift card for toys from Kmart but it says I am not in USA and do not qualify, do you know if Kmart is doing this in canada too?

  37. Antalya rehberi Says:

    Thanks u admin. Its important for me :) Can I use it on my blog in different languages.

  38. how to repair wii Says:

    Easily, this post is actually the freshest on this worthy topic. I agree with your conclusions and will eagerly look forward to your next updates. Saying thanks will not be sufficient, for the tremendous clarity in your writing. I’ll immediately subscribe to your rss feed to stay abreast of any updates. Delightful work and much success in your business dealings!

  39. Hipolito M. Wiseman Says:

    I’ve been reading a few posts and really and enjoy your writing. I’m just starting up my own blog and only hope that I can write as well and give the reader so much insight.

  40. John Travel to Oahu Says:

    Howdy I sumbled upon this article by accident, I was browsing the net for sites to see on Oahu when I found your webpage, I must say your site is very great I truely think the layout, its amazing!. I’m in a bit of a rush right now to totally browse your site but I have bookmarked it and also subscribed for your RSS feeds. I will be back in a day or two. Bravo for a excellent webpage.

  41. pansieMovie Says:

    this was a great read

  42. Roy P.Talbot Says:

    thank you allot, for this useful post!
    Here, I found a youtube video about watching tv online that I would like to share: International tv Online.
    But seriously, amazing post and thanks allot !
    I look ahead to your next post !!
    ;-)

  43. Kendra Lee Says:

    I’ve been on acai products for 2 months now and besides the fact that I’m losing weight my energy level is also way higher. I found some reviews and free samples of acai berry diet at http://www.acai.ekaranga.com/acai1.php you should check it out.

  44. Clark Hebert Says:

    Funny where Google sends you, and how I have even more questions now.

  45. Rochelle Hopper Says:

    Went through your post and thought hey, someone was really good in debate classes.

  46. DSi Says:

    Wiked blog, really enjoyed the information you have here, will bookmark!

  47. baise niquer Says:

    Perhaps you should give news on the whole thing more often

  48. Sarah O'Neil Says:

    http://johndarnell.wordpress.com/2009/10/01/buying-a-mans-munchkins-and-the-intentional-love-of-god/

  49. çizgi film izle Says:

    A buddy recommended me to read this post, great post, fascinating read… keep up the nice work!

  50. Will Kendall Says:

    Hi i read your site frequently and thought i would say all the best for the New Year!

  51. Ethel Glanden Says:

    I found this article by searching yahoo, I would like to say the 5 CSS skills are really helpful, I will imply them to my PS3 New Game website.

    Thank you!

    Ethel

  52. natural spectrum lamp Says:

    Yes, I really believe this advice is important. Thank You.

  53. Bobby Says:

    Hi. I’m french. Your post can interesting lot of people in France. So, if you are ok, i can copy it on a french blog. ;-)

  54. Terry Near Says:

    Wow, I just started, and this content on your site helps a lot, thanks for sharing!

  55. Angie M. Lawton Says:

    I don’t comment on blogs too often, but I like this post and theme - just wanted you to know that!     
    Thanks!
    Thank You Note Wording

  56. Thank You Words Says:

    I don’t comment on blogs too often, but I like this post and theme - just wanted you to know that!     
    Thanks! 
    Thank You Note Wording

  57. Eric Di Bari Says:

    Great ideas. I never really thought of decreasing load time by making css more efficient.

  58. world travel Says:

    My friend referred me to your site. I enjoy reading here. Thanks for posting!

  59. Ridling Says:

    I don’t hang out at blogs much but I like yours. Thanks for the posts. I have enjoyed reading here.

  60. testAuthor_103 Says:

    lkasd fkas dfkj k dfk adf ladfkl lkadf testComment_95

  61. testAuthor_103 Says:

    testComment_103

  62. happy birthday ringtone free download Says:

    Nice blog. I am bookmarking this page.

  63. Sheryl James Says:

    Such a great path i had found for the knowledge, and i had also bookmarked it.
    thanks to all generous present here.

  64. mardinkusu Says:

    thank you

    mardin kusu mardin miro resansi miski sus
    kusu

  65. Haiti Help Says:

    Hey Great Post! My prayers are with the Haiti peopleThe Haiti tragety totally sadens me and my heart goes out to them. ; I just donated to the Red Cross and urge you all to do the same too.  What a sad time for these people. I found a great site with a list of legitimate companies to go to offer Haitian CharitiesI just donated to the Soles2Souls. My prayers are with the Haitian people.

  66. blackpearl Says:

    Nice article.

    CSS is much better than using traditional HTML table to create website layouts.
    It help pages load faster and has lots of features that only HTML can’t do.

  67. Salvador Early Says:

    great information thanks for writing, hope you had a good new year.

  68. Marsha Smith Says:

    Hey, This is a good post. I found you on google. Keep up the work.

  69. QuotesToLiveBy Says:

    I just started to make a website and your tips really help me a lot. I use them on my new site Quotes to live by. Thank You!

  70. Jacob miller Says:

    At last this is what i was looking for. Some wonderful infomation here good work. sorry I cannot leave a constructive comment as i’m abit out of my deph I will be checking back here periodically for your new updates. london insurance 30 St Mary Axe, london, EC3A 8EP 020 7193 4776

  71. seviyeli sohbet Says:

    ilginç bilgiler teşekkürler admin

  72. sohbet Says:

    thank you admin end modaratör

  73. sohbetodalari Says:

    bilgiler için teseküürler sohbet seviyeli sohbet

  74. Makeup DIY Says:

    Hi hun, sweet blog! I genuinely appreciate this blog post.. I was curious about this for a while now. This cleared a lot up for me! Do you have a rss feed that I can add?

  75. V-pills Says:

    I was curious about this for a while now. This cleared a lot up for me! Do you have a rss feed that I can add?

  76. Galen Cvetkovic Says:

    Hi there

Leave a Reply