CSS: +content = +space

JavaScript and client side scripting.

Moderator: General Moderators

xEzMikex
Forum Commoner
Posts: 38
Joined: Sat Jan 21, 2006 10:18 pm
Location: Canada

Post by xEzMikex »

thanks :) worked. Ok when im using float and static is there away to make the the image 10px off the left side?
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

You mean one of the background images? Some examples

Code: Select all

#somediv {
background-position: 20px 10px;
}
#someelement {
background: url(images/coolbackground.jpg) no-repeat left center;
}
#other {
background: #ddd url(images/background.gif) no-repeat 10px 0;
}
Post Reply