Posts Tagged ‘CSS’

How to vertically center text in a div using CSS

Saturday, February 27th, 2010

How to vertically center text in a div using CSS

CSS

It’s pretty easy to center text in a div using CSS…horizontally that is. But what about when you try to use CSS to center text vertically? Just a bit tricky, huh? The trusty “vertical-align:middle” CSS method works wonders in a table td, but somehow fails you when you try it in a div. And you don’t want to have to resort to using a table JUST to vertically center text. Here’s the CSS solution that lets you vertically center text in a div. (more…)

How to place a pattern as your website background

Wednesday, February 10th, 2010

How to place a pattern as your website background

caption

Using a pattern for your website background is a great idea, especially if your website needs a little something to jazz it up. There are many perks to using a patterned background on your website. Not only is it bandwidth friendly, but it also provides a finishing touch to a website that may otherwise have very little going on. Patterns can be subtle or bold, whichever suits your personal preference. The first thing you have to do is find (or create) a pattern that you like. (more…)

10 awesome CSS tricks to enhance the design of your website

Wednesday, February 10th, 2010

10 awesome CSS tricks to enhance the design of your website

CSS

CSS (Cascading Style Sheets) provides amazing solutions for an infinite number of web design challenges. The benefit of CSS is that it allows a website to be flexible and easy to update. With all your styles in one file, CSS eliminates the need to update every single page of your website everytime you want a change. CSS not only makes a website easy to maintain, but it also poses countless creative ways to enhance the design and usability of the website. (more…)