Jump to content


auto stretch the background image


5 replies to this topic

#1 zAchEus

    Young Padawan

  • Members
  • Pip
  • 58 posts

Posted 29 May 2006 - 12:29 PM

Hi

I made my layout in photoshop and sliced it and saved it for the web.
So now I got my layout ready to use in dreamweaver, but I wonder How can I make the background image (800*600) auto stretch to the person's screen size who is viewing it.
So that whatever resolution you look at it, it will always be fully viewable or it won't have anny borders, so it streches to the screen.

Thx

#2 Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 29 May 2006 - 12:51 PM

View source on this: http://www.cssplay.c...background.html

or check out this:

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

:)

#3 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 29 May 2006 - 01:05 PM

http://scudworkz.com...ground_stretch/

:)

i made it first :spam:

#4 Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 29 May 2006 - 01:24 PM

lol :spam:

Its a strange thing to want to do really :)

Edited by .Matt, 29 May 2006 - 01:24 PM.


#5 zAchEus

    Young Padawan

  • Members
  • Pip
  • 58 posts

Posted 30 May 2006 - 12:39 PM

sry I didn't made myself clear enough
I want this image
Posted Image
Sliced and all to use as my website, I know how to do that, but I'd like to know how I can make this fit the screen of the viewer? So it stretches
or isn't that possible with html only?

#6 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 30 May 2006 - 12:53 PM

you would slice teh background into a small image and use it as a regular background that repeats itself.

then you get those green circles, make it into a seamless pattern, and use it as a footer image.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users