Solved

want to repeat an image for width 650px

Posted on 2011-03-01
3
274 Views
Last Modified: 2012-06-27
style="background:url(divide.gif) repeat-x bottom;" width="650"


want to repeat an image for width 650px

I do not want to do this at the bottom of a table or div
0
Comment
Question by:rgb192
3 Comments
 
LVL 7

Expert Comment

by:jrwarren
ID: 35011055
By default a bacground is repeated in both the x and y directions.

   Why not create a div 650 width and set the background property on that?
0
 
LVL 14

Accepted Solution

by:
athomsfere earned 500 total points
ID: 35011067
Where do you want it?

Just put it there,

body
{
style="background:url(divide.gif) repeat-x bottom;" width="650"
}

html
{
style="background:url(divide.gif) repeat-x bottom;" width="650"
}
0
 

Author Closing Comment

by:rgb192
ID: 35023087
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question