Solved

want to repeat an image for width 650px

Posted on 2011-03-01
3
277 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…

724 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