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:
- Server bandwidth reduction
- Media type formatting
- Menu overlapping
- Styling of form elements
- and even E-mail address obfuscation
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.







August 10th, 2009 at 12:38 pm
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.
August 22nd, 2009 at 7:41 pm
Love this page, is it updated often? Bookmarked
October 17th, 2009 at 3:40 am
Very nice, keep posting!
October 25th, 2009 at 10:46 am
I dont usually reply but WoW!! Thanks man!. Good work!
October 31st, 2009 at 8:00 am
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!
November 8th, 2009 at 1:39 pm
It
November 13th, 2009 at 5:14 pm
http://www.szcji.com
November 17th, 2009 at 3:26 am
nice post
November 17th, 2009 at 5:54 pm
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.
November 19th, 2009 at 7:28 pm
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.
November 19th, 2009 at 8:49 pm
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.
November 23rd, 2009 at 7:38 am
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
November 26th, 2009 at 10:12 pm
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
November 26th, 2009 at 10:14 pm
thank you good web site
November 28th, 2009 at 12:07 am
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!
November 28th, 2009 at 12:40 am
Great info. Thanks for posting this.
November 28th, 2009 at 10:02 pm
Nice to be visiting your blog again. Thanks for posting this informative post. Regards, Hayden Charles ~ Flyttst
November 30th, 2009 at 7:43 pm
I posted some comments before anyway, because lots of your stuff is really informative.Absolutely amazing man!
November 30th, 2009 at 7:48 pm
Cheers for the useful information
December 3rd, 2009 at 7:58 pm
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 ^^
December 6th, 2009 at 5:55 am
J’adore votre site, le contenu est vraiment de qualité ! bonne chance pour la suite
December 6th, 2009 at 5:10 pm
http://www.mixx.com/stories/9639677/araba_yar
December 6th, 2009 at 8:59 pm
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.
December 7th, 2009 at 8:06 am
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
December 7th, 2009 at 8:50 am
hey this post was quite informative to me. looking for your next post.
December 7th, 2009 at 9:29 am
Nice posts. Keep it up.
December 10th, 2009 at 11:09 pm
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!
December 11th, 2009 at 5:56 am
Thank you, I love to read articles that are informative and beneficial in nature.
December 11th, 2009 at 9:28 am
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
December 14th, 2009 at 3:04 am
This comment refers to your size and is downright insensitive. Don
December 14th, 2009 at 1:17 pm
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
December 16th, 2009 at 6:23 am
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.
December 16th, 2009 at 1:59 pm
Hi there, thank you so much for this article, it
December 16th, 2009 at 11:36 pm
Thanks thanks thanks! I was looking for something along lines of this for hours and couldn’t find it.
December 18th, 2009 at 11:21 pm
A buddy recommended me to read this post, great post, fascinating read… keep up the nice work!
December 20th, 2009 at 11:16 am
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?
December 22nd, 2009 at 8:38 am
Thanks u admin. Its important for me
Can I use it on my blog in different languages.
December 23rd, 2009 at 1:09 pm
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!
December 23rd, 2009 at 1:50 pm
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.
December 23rd, 2009 at 11:07 pm
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.
December 24th, 2009 at 3:07 am
this was a great read
December 25th, 2009 at 7:15 am
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 !!
December 25th, 2009 at 12:37 pm
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.
December 28th, 2009 at 7:46 am
Funny where Google sends you, and how I have even more questions now.
December 28th, 2009 at 8:23 am
Went through your post and thought hey, someone was really good in debate classes.
December 28th, 2009 at 10:20 am
Wiked blog, really enjoyed the information you have here, will bookmark!
December 28th, 2009 at 4:55 pm
Perhaps you should give news on the whole thing more often
December 28th, 2009 at 5:42 pm
http://johndarnell.wordpress.com/2009/10/01/buying-a-mans-munchkins-and-the-intentional-love-of-god/
December 29th, 2009 at 3:43 am
A buddy recommended me to read this post, great post, fascinating read… keep up the nice work!
December 31st, 2009 at 6:07 am
Hi i read your site frequently and thought i would say all the best for the New Year!
December 31st, 2009 at 9:25 am
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
January 6th, 2010 at 5:06 am
Yes, I really believe this advice is important. Thank You.
January 7th, 2010 at 4:49 am
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.
January 7th, 2010 at 1:31 pm
Wow, I just started, and this content on your site helps a lot, thanks for sharing!
January 11th, 2010 at 3:44 am
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
January 11th, 2010 at 6:12 am
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
January 11th, 2010 at 8:28 pm
Great ideas. I never really thought of decreasing load time by making css more efficient.
January 12th, 2010 at 1:38 am
My friend referred me to your site. I enjoy reading here. Thanks for posting!
January 13th, 2010 at 12:07 pm
I don’t hang out at blogs much but I like yours. Thanks for the posts. I have enjoyed reading here.
January 15th, 2010 at 11:22 pm
lkasd fkas dfkj k dfk adf ladfkl lkadf testComment_95
January 16th, 2010 at 6:08 pm
testComment_103
January 18th, 2010 at 12:06 am
Nice blog. I am bookmarking this page.
January 18th, 2010 at 9:09 pm
Such a great path i had found for the knowledge, and i had also bookmarked it.
thanks to all generous present here.
January 21st, 2010 at 6:48 am
thank you
mardin kusu mardin miro resansi miski sus
kusu
January 21st, 2010 at 7:10 am
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.
January 21st, 2010 at 4:07 pm
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.
January 23rd, 2010 at 11:06 pm
great information thanks for writing, hope you had a good new year.
January 26th, 2010 at 2:16 am
Hey, This is a good post. I found you on google. Keep up the work.
January 26th, 2010 at 3:22 pm
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!
February 1st, 2010 at 1:53 pm
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
February 5th, 2010 at 2:13 am
ilginç bilgiler teşekkürler admin
February 5th, 2010 at 2:13 am
thank you admin end modaratör
February 5th, 2010 at 2:14 am
bilgiler için teseküürler sohbet seviyeli sohbet
February 5th, 2010 at 6:46 am
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?
February 6th, 2010 at 4:00 pm
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?
February 7th, 2010 at 1:45 am
Hi there