Browsing articles in "CSS"
Sep
4
2010

Weekend Quick Tip: Create Your Own Simple Reset.css File

css_reset

By Jeffrey Way Far too many novice CSS designers don’t realize the importance of creating a “reset.css” file. When you have an environment where each browser has its own “default” styling, you’ll often find yourself thumping your skull as you ask yourself, “Why is there a spacing here?” To save yourself some of the headaches that you’ll undoubtedly experience, you’ll need to create your own simple reset file. The problem with using one of the [...]

Jul
18
2010

20 Do’s and Don’ts of Effective Web Typography

web_typography

DO NOT use too many different font faces on the page You may have 1,000+ fonts downloaded on your computer, but when they’re being displayed all on the screen at the same time, you’re not going to have many people impressed. Not only will this cause your website visitors to have a hard time reading, it’s also going to just make you look tacky. DO NOT switch from serif and sans serif fonts multiple times [...]

Jul
12
2010

Pimp Your Tables with CSS3

pimptables

Today I am going to show you how to use some neat CSS3 properties to beautify your tables. With so many new selectors we can address specific table cells and rows in order to create a unique style without adding classes to the markup. We will be applying the -webkit and -moz gradients for creating a great look without images and learn how to insert content into elements with a specific class. Let’s start with [...]

Jul
12
2010

CSS3 Dropdown Menu

different-preview

Preview The image below shows how the menu will look if CSS3 is not supported. One Gradient Image is Used A white-transparent image is used to achieve the gradient effect. Because the new CSS3 gradient feature is not supported by all browsers yet, it is safer to use a gradient background image. The instensitiy of the gradient can be changed by shifting the background image up or down. Also, the gradient color can be easily [...]

Jul
3
2010

The Gradual Disappearance Of Flash Websites

flash-stands

If you want to “go big” visually with a website, delivering complex interaction and a rich experience across a wide range of browsers, Flash is the only way to go. Right? Nope. Given the widespread adoption and advancements of modern browsers and JavaScript libraries, using Flash makes little sense. But it does have its place on the Web, considering the need for progressive enhancement. In the current landscape of technology and accessing the Internet through [...]

Jun
27
2010

Ten CSS tricks you may not know

19-css_tricks

1. CSS font shorthand rule When styling fonts with CSS you may be doing this: font-weight: bold; font-style: italic; font-variant: small-caps; font-size: 1em; line-height: 1.5em; font-family: verdana,sans-serif There’s no need though as you can use this CSS shorthand property: font: bold italic small-caps 1em/1.5em verdana,sans-serif Much better! Just a few of words of warning: This CSS shorthand version will only work if you’re specifying both the font-size and the font-family. The font-family command must always [...]

Pages:1234»

Ads

MudithOnline
FahadhOnline