Solved

want to repeat an image for width 650px

Posted on 2011-03-01
3
272 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now