www.webdeveloper.com
Results 1 to 4 of 4

Thread: background position

  1. #1
    Join Date
    Apr 2003
    Posts
    21

    Question background position

    Please send a copy of your reply to janna@ak.net Thanks

    I would like to have my page centered. I am using a ss for the background. Is there a way to make it fit to the page while being centered on any machine? I can't create a static position because it would need to move with the page itself. Please let me know.

    Thanks, Janna

  2. #2
    Join Date
    Jan 2003
    Location
    Atlanta, GA
    Posts
    571
    I am not sure if I understood you. Do you want contents of a page centered or background centered?

    You can center background image using
    background-position: center center

    You can tile the image or just have single bgimage (background-repeat: no-repeat).

    You cannot stretch background image with CSS to fit page width.

  3. #3
    Join Date
    Apr 2003
    Posts
    21

    background position

    Thanks for answering.
    I am wanting a background that actually stays with the page/tables, as the background, no matter how big the screen gets. I guess I'm looking to make the background static with the page no matter if it's left, center or right.
    I hope this makes sense. Thanks, Janna

  4. #4
    Join Date
    Apr 2003
    Posts
    21

    Wink background position - updata

    I had the background-position center top tag inside a <div align="left"> so it wouldn't move. Duh. Thanks for all your help. Janna

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles