How to set background postion?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KeredDrahcir
    Contributor
    • Nov 2009
    • 426

    How to set background postion?

    I've got an image for the background and I need it to repeat but I don't want it repeating all way to the top. Is there a way to start it say 10 pixels down or do I need to have another DIV to do that?
  • ilya Kraft
    New Member
    • Jan 2011
    • 134

    #2
    As far as i understood you have your image as a background of body if you want it to go down 10 px you can either edit it in Photoshop, Fireworks etc... or make a div tag that has 100%height 100%width and set margin of body to 10px.

    Comment

    • KeredDrahcir
      Contributor
      • Nov 2009
      • 426

      #3
      Thanks. I was trying to get a box round the main content with a rounded top and bottom but I've found some CSS that will give me a rounded top and bottom without the need for images.

      Thanks all the same, it may help me in the future or someone else reading this thread.

      Comment

      Working...