Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

want to repeat an image for width 650px

Posted on 2011-03-01
3
Medium Priority
?
280 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 2000 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
 
LVL 1

Author Closing Comment

by:rgb192
ID: 35023087
thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

580 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