Streching a background image

  • moomoouk
  • Banned
  • Banned
  • moomoouk
  • Posts: 15

Post 3+ Months Ago

Another background question - is there anyway to stretch an image over a background? this would really help reduce my file sizes for the poor people on dial-up :P

anything else you can mess around with backgrounds? what can you put in the bgproperties field other than 'still'?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

rtm223 wrote:
Nope. It's coming with CSS3, which means it will be about 4 years before a sensible number of people have browsers that support it.

Your best bet is to do some positioning. Try googling

CSS z-index "position:absolute"

and see what you get. You should be able to make an image tag stretch to the right size and then place the content over the top.

It's a round-about way of doing things, and there are some situations that it just won't work in, but as far as I know, it's the only way with html/CSS2

Hope this helps.



The biggest problem is that the image will go all grainy.

bugger all you can do with backgrounds. Tile them, have them fixed or moving with the page. Thats about it. Multiple overlapping backgrounds can do some fancy stuff, but on their own, it's all pretty dull :lol:
  • moomoouk
  • Banned
  • Banned
  • moomoouk
  • Posts: 15

Post 3+ Months Ago

there must be something else to go in the bgproperties" " other than still surely????
  • sly1340
  • Graduate
  • Graduate
  • User avatar
  • Posts: 238
  • Loc: not available

Post 3+ Months Ago

moomoouk wrote:
there must be something else to go in the bgproperties" " other than still surely????


fixed

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 44 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.