View Full Version : rounded box tutorial

07-13-2007, 01:57 PM
How do I add a rounded box behind text and images?

07-13-2007, 02:04 PM
For example if you have a rounded box as an image to a div with text, you can add a background image to that div.

.text {
background: url(path_to_your_image);

Then add some padding inside it, so the text isn't so close up to the sides of the background image. If this doesn't work for you, you're gonna have to give some more specific info.

07-13-2007, 02:05 PM
Eric Meyer has some tutorials on "shaping" layouts with CSS.

Here's one example:


07-13-2007, 03:51 PM
And another resource:
Rounded box generator (http://www.neuroticweb.com/recursos/css-rounded-box/index.php?idioma=en)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum