- This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
All images should be gave her height to show
I now want to put a photo reapet-y … but It does not work and the photo doesn’t show .
Note: I use DreamWeaver and tried put 100% height to it, but it did not succeed
simple example :
.t1{
background-image:url(images/t1.png);
width:23px;
background-repeat:repeat-y;
float:right;}
We’d need to see it in a live site or a codepen reduced case.
[preview..](http://s10.postimage.org/hsogl4yw7/untitled.jpg “”)
Lol
any ans ?
@ChristopherBurton,
Me: Saw ChristopherBurton’s comment, wondered why the lulz. Than clicked “preview..” than lulz myself.
@Amr,
Try these,
JSFiddle: http://jsfiddle.net/j36LE/2/
CodePen: http://codepen.io/anon/pen/LvrKg
.t1 {
background:url (path/to/image.png) repeat-y right top;
}
You misspelled “repeat” in your codepen screenshot. And also in your first post.
It’s “repeat” not “reapet”.
#LulzMax
Three things:
– When you make a reduced test case, don’t make a screenshot of it. Save it, and give us the link. Tools like CodePen and JSFiddle are made for this.
– There is no point of specifying the background-repeat property when you’re dealing with plain color. Default behaviour is to spread all over the element.
– Before asking for help, please give a little attention to your code. This is a tiny syntax mistake.