+ Reply to Thread
Results 1 to 3 of 3

Thread: How do I set the background image to resize?

  1. #1
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    How do I set the background image to resize?

    How do I set the background image to resize to fit the users resolution??? So if the pic is 500x300 it will automaticly resize to 800x600 or 1024x764 etc.

  2. #2
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: How do I set the background image to resize?

    http://www.htmlite.com/faq022.php

    I'm guessing thats what you mean; theres enough code there I'm not quite sure what it means, but long story short it's setting the width to 100% and height to 100% - the 100%'s apparently mean the browsers width and height, not the images original width and height.


    Hoping you or someone else can make more sense of that CSS, I'm not a CSS person XD


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  3. #3
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: How do I set the background image to resize?

    It didn't work...

    HTML Code:
        background-image: url('./images/abstract.jpg');
        background-repeat:no-repeat;
        background-attachment:fixed;
        background-position:center; 
        width: 100%;
        height: 100%;

+ Reply to Thread

Similar Threads

  1. resize more than 1 image at the time?
    By jptosso in forum Programming Help
    Replies: 7
    Last Post: 12-10-2007, 06:33 PM
  2. Image Resize
    By manzoor in forum Crossfire
    Replies: 13
    Last Post: 10-20-2007, 03:32 AM
  3. Image Resize
    By manzoor in forum The Marketplace
    Replies: 4
    Last Post: 10-19-2007, 03:02 AM
  4. errors while attaching
    By mattspec in forum Feedback and Suggestions
    Replies: 0
    Last Post: 12-19-2005, 01:50 PM
  5. November Desktop
    By n4tec in forum Off Topic
    Replies: 12
    Last Post: 11-08-2005, 07:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers