Results 1 to 5 of 5

Thread: HTML help

  1. #1
    IA Member
    Join Date
    Nov 2002
    Location
    Alpharetta,Ga
    Age
    46
    Posts
    43
    Rep Power
    0

    Default HTML help

    I have a picture that i want to make into a background but it is smaller then the screen. HOw do you make the picture bigger so that it will fit the screen?

  2. #2
    IA KING
    Join Date
    Nov 2002
    Location
    Atlanta
    Posts
    14,745
    Rep Power
    150

    Default

    well if your stretch a small photo it will distort the photo... post of the photo? what size is it now and what size do you need it?

    and what is the HTML HELP for you can use scripting to enlarge the photo but it will do what i said... you can always just make the photo repeat in the background w/o having to distort it. or just build your page around the size of the image.

  3. #3
    Yes joecoolfreak's Avatar
    Join Date
    Feb 2006
    Location
    Austin, TX
    Age
    45
    Posts
    616
    Rep Power
    22

    Default

    width="100%" but depending on how you are doing this and what resolution the picture is, it will distort the image...you could also do absolute formatting, but there are a lot of variables here and you have given us about zero information to start. Here are a few questions you need to answer. What is the size of the pic? What size screen are you trying to match? What code do you have written so far?

    Edit...or what he said

  4. #4
    IA KING
    Join Date
    Nov 2002
    Location
    Atlanta
    Posts
    14,745
    Rep Power
    150

    Default

    NO REPEAT (CSS)

    [HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-image: url(http://forums.importatlanta.com/images/misc/vbulletin3_logo_white.gif);
    background-repeat: no-repeat;
    }
    -->
    </style></head>

    <body>
    </body>
    </html>
    [/HTML]

    REPEAT (CSS)

    [HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-image: url(http://forums.importatlanta.com/images/misc/vbulletin3_logo_white.gif);
    }
    -->
    </style></head>

    <body>
    </body>
    </html>
    [/HTML]

    REPEAT

    [HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <body background="http://forums.importatlanta.com/images/misc/vbulletin3_logo_white.gif">
    </body>
    </html>
    [/HTML]

    IMAGE AT 100%

    [HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <body>
    <img src="http://forums.importatlanta.com/images/misc/vbulletin3_logo_white.gif" width="100%" height="100%" />
    </body>
    </html>[/HTML]
    Last edited by 4dmin; 08-08-2006 at 12:18 PM.

  5. #5
    IA Member
    Join Date
    Nov 2002
    Location
    Alpharetta,Ga
    Age
    46
    Posts
    43
    Rep Power
    0

    Default

    Thanks. I had to stretch it. it looks alittle distort but it is ok. Is was for my myspace page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
ImportAtlanta is a community of gearheads and car enthusiasts. It does not matter what kind of car or bike you drive, IA is an open community for any gearhead. Whether you're looking for advice on a performance build or posting your wheels for sale, you're welcome here!
Announcement
Welcome back to ImportAtlanta. We are currently undergoing many changes, so please report any issues you encounter with the site using the 'Contact Us' button below. Thank you!