3 replies [Last post]
bondigor69
bondigor69's picture
Offline
newbie
Last seen: 43 weeks 6 days ago
Timezone: GMT-5
Joined: 2012-01-24
Posts: 9
Points: 18

hey guys
I read a lot of your css tricks and they are amazing but I cant find this one
I want to stop the image repeat when the image reaches the text. How can I do that???

<style type="text/css">
.text{
	color:#000000;
	font-weight:bold;
	font-size:13px;
	letter-spacing:0px;
	text-align:right;
	text-transform:uppercase;
	border-bottom: solid 1px #f5f5f5;
	margin-top:0px;margin-bottom:10px;
	background: transparent url("http://www.cheetah-reviews.com/Images/close.jpg") repeat-x scroll left center;
}
</style>

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 4 hours 26 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9229
Points: 3235

Where's your

Where's your markup?

cheers,

gary

Unplanned code results in a tangled wad of brain-cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.

bijayjoshi
bijayjoshi's picture
Offline
Regular
Patan, Nepal
Last seen: 37 weeks 16 hours ago
Patan, Nepal
Timezone: GMT+5.75
Joined: 2012-02-06
Posts: 30
Points: 32

You can try adding:

You can try adding: float:left.

Cheers.

Bijay Josi
Loves Open Web.

balajidesign
balajidesign's picture
Offline
Enthusiast
Last seen: 1 year 6 days ago
Timezone: GMT+5.5
Joined: 2012-01-31
Posts: 116
Points: 124

Give it us full source code.

Give it us full source code. otherwise we can't find out the result.

Thanks,