Jump to content


Q: How to do this? (Image repeating?)


2 replies to this topic

#1 pieterjan

    Young Padawan

  • Members
  • Pip
  • 15 posts

Posted 04 February 2008 - 09:01 AM

Hey,

I made a layout and I want to have a certain image repeated all over the page, depending on the resolution of the user visiting the page. So when someone with a very high resolution visits the page that border has to be repeated all over the screen.

This is a screenshot of the situation:

'this' needs to be repeated horizontally

http://i31.tinypic.com/21kmiqv.jpg

Thanks in advance

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 04 February 2008 - 07:25 PM

HTML does that for you automatically. Just set it as a background via html or css.
:)

#3 pieterjan

    Young Padawan

  • Members
  • Pip
  • 15 posts

Posted 05 February 2008 - 06:17 AM

Hmm, I did a repeat-x on that image I get the effect I desire. But now I also have a border on the bottom of my page which I also want to repeat. I can't set one bg and let it repeat because my site stretches when news is getting posted. So what I need is an image repeating on the top of my page (like I have now) and an image repeating on the bottom of my page. Those images can not be connected because my site stretches.

Here is my site:

http://www.smi-6ewi.be/lln/index.html

The blue border on the top of the page should also be repeating.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users