Thread: Help Coding
View Single Post
02-22-2005, 12:14 PM
#3
kiswa is offline kiswa
Status: Junior Member
Join date: Feb 2005
Location: Florida
Expertise:
Software:
 
Posts: 91
iTrader: 0 / 0%
 

kiswa is on a distinguished road

  Old

What are you using for layout? CSS I hope. If so, just style a div like so:
Code:
#background_div {
     /* whatever styles you need for the font, etc go here too*/
     /* Set the background and repeat vertically */
     background: url(code.gif) top left repeat-y;
     /* Pad the right side so the text doesn't go over the
         area it shouldn't (the other numbers are so you can
         set other padding [top right bottom left]) */
     padding: 0 45px 0 0;
}
That'll do it for you. If you used tables, the same would apply for the table element you used.