3 replies [Last post]
bondigor69
bondigor69's picture
Offline
newbie
Last seen: 2 years 19 weeks 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: 5 hours 10 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9544
Points: 3598

Where's your

Where's your markup?

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

bijayjoshi
bijayjoshi's picture
Offline
Regular
Patan, Nepal
Last seen: 2 years 12 weeks 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: 2 years 28 weeks 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,