Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Help with web site image streching

    I am currently working on a web site. and i have got a few problem's with it so far. with the image's streching. i want to make it so a 1px width image can stretch along with the web site when information is type in to the news ill give you a link to a image showing what i mean and a link to a copy of the web site since ilm not worried about people having it. Ilm great with 2d art.. and i suck with html. but i am learning slowly if anyone could help me with this problem i would he very great full!

    if it needs any work done on the frame's i can do that if it would help.

    i have attached files below! =]

    and here is a image on how it looks without text in the middle =] so u understand what i am getting on to more. =]



    http://rapidshare.com/files/64232015/Site.rar.html
    Last edited by irjason; 10-22-2007 at 12:25 AM.

  • #2
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    5
    Thanked 9 Times in 9 Posts
    There really isn't a way to stretch an image... at least not dynamically. You can use the depreciated width and height attributes to set the size.

    Realistically, there has to be a way to do the site you are developing a different way. I saw 87 images that are going to load every single time that someone visits your page. They may only total a quarter megabyte, but most browsers are set to only download 2 files at a time from a server. It seems like most of those images are just spacers and white space and stuff. Don't taken offense or anything, because the site looks GREAT. I really like it, and although the images were small, I would love to see some more of your drawing.

    That being said, heres a fix for your current template. put this in the cells that you need filled:

    Code:
    <div style = "background-image:./image/1px_image.gif; background-repeat:repeat; height:100%; min-height:100%;" ></div>
    Hmm... I think that should do the trick... I think.

  • Users who have thanked dcostalis for this post:

    irjason (10-22-2007)

  • #3
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    i see were you are coming from and u have made a VERY valid point! and i'm going to redo site a bit and post another version if you could look threw it. i would be great full. to decrease the load time of the site. =] thx for help very great full!


  •  

    Posting Permissions

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