want to repeat an image for width 650px

Posted on 2011-03-01
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
Question by:rgb192

Expert Comment

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?
LVL 14

Accepted Solution

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

Just put it there,

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

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

Author Closing Comment

ID: 35023087

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Convert a Master Page to HTML 16 64
Spacing between <li> 3 22
Align a <div> to a table row 3 40
Css issue on scroll 1 20
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
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 tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

743 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

13 Experts available now in Live!

Get 1:1 Help Now