Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 10:25:34 AM

Pages: [1]   Go Down
  Print  
Author Topic: background images/borders - how to?  (Read 338 times)
Lisaleese
Trekkie
**
Offline Offline

Posts: 11


WWW
« on: February 04, 2003, 09:13:00 AM »

Another newbie question:

I have figured out how to use style sheets to use a .gif for a vertical border on the left hand side of my page.

But, how can I use a different .gif to put another border down the right hand side of my page?

Thanks!!!!

Lisa
Logged
Brian
Jedi
*****
Offline Offline

Posts: 874


WWW
« Reply #1 on: February 04, 2003, 12:00:00 PM »

you know something, i've never thought to do that... i'm going to have to look into this and see if it can be done...
Logged

Brian
Jedi
*****
Offline Offline

Posts: 874


WWW
« Reply #2 on: February 04, 2003, 12:11:00 PM »

DA DADADDAAAADADADAD!!!!

ok, here's how you do it:

so say you have this blurb in your style sheet

BODY {background-image: url(medlrg.jpg);
background-repeat: repeat-y;
background-position: right top;

the part in bold is what you need to align it to hte right, you can put it anywhere you want really. instead of right you can say center or left as well. and instead of top, you can remove the background repeat command above it, and put bottom, and it will only show up in the right bottom of the window. the downside is i dont believe that you can have the background on the left, as well as the right.

-Brian
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: