Jump to content


Photo

background images


  • Please log in to reply
1 reply to this topic

#1 sarath

sarath

    Member

  • Member
  • PipPip
  • 28 posts
  • Facebook:www.facebook.com/yourssarath
  • LocationVijyawada, AP, India

Posted 27 September 2011 - 01:56 AM

hi all,


I set a random background images through PHP

<body style="background-image:url('bgimages/<?php echo rand(1, 4); ?>.jpg' ); background-attachment:fixed;">
.

but background images are not fixed when i zoom out the webpage the background image also decresing.

i want to fix the background image but i cant.
please help me.

sorry for bad english.


Thanks.
  • 0

#2 Andrea

Andrea

    Advanced Member

  • Moderators
  • 5,672 posts
  • Facebook:https://www.facebook.com/aandbwebdesignAB
  • LocationSan Antonio, TX

Posted 27 September 2011 - 04:58 AM

Fixed just means the image won't scroll with the page.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users