Jump to content


CSS: Background


2 replies to this topic

#1 InFnit

    P2L Jedi

  • Members
  • PipPipPip
  • 822 posts
  • Interests:My interests are my:<br><br>iidsite - http://iid.outer-heaven.net<br>iidblog - http://iid.outer-heaven.net/blog/<br>iidcommunity - http://iid.outer-heaven.net/forums/<br>P2L - http://www.pixel2life.com

Posted 29 March 2005 - 02:27 PM

Hey I want one of my div's background to tile vertically but not horizontally...SPooky showed how to make it tile horizontally but how do you tile vertically?

Thanks

#2 Jamie Huskisson

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 3,648 posts
  • Gender:Male
  • Location:Nottingham, UK

Posted 29 March 2005 - 02:42 PM

.vert {background-image: url(myImage.gif); background-repeat: repeat-y;}
.horiz {background-image: url(myImage.gif); background-repeat: repeat-x;}

taken from:
http://www.devx.com/tips/Tip/12957

#3 maansson

    Young Padawan

  • Members
  • Pip
  • 132 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Interests:Hmm, not much for Photoshop. Havn't taking time to learn it yet. Use Fireworks to the graphical area. More into coding and stuff. PHP, CSS, Java and of course HTML.

Posted 29 March 2005 - 04:00 PM

Or just:
.vert {
background: url(image.png) top repeat-y;
}
I think...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users