Problems with a DIV code |
![]() ![]() |
Problems with a DIV code |
Mar 25 2006, 01:24 AM
Post
#1
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 |
Well, I'm working on another DIV layer but there is one problem. The DIV code is in position:absolute. The problem is that on the left, i put 0 or 0% but it doesnt MOVE ALL THE WAY to the left. I need it to go the left to work on the layout. Also, how do you make the background repeat, is it background-repeat:repeat-y; ? Thanks.
|
|
|
|
Mar 25 2006, 01:26 AM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
background repeat is
repeat; repeat-y for up and down repeat-x for side to side for your divs to go left you can use negative px. Use px instead of percent ex: -20px |
|
|
|
Mar 25 2006, 01:28 AM
Post
#3
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 |
Oh thanks. Am I suppose to use repeat-y because it's going to be a DIV? I don't want to have scrollbars in the div, so I want the words or whatever just to keep going down and the background repeating along with it.
|
|
|
|
Mar 25 2006, 01:31 AM
Post
#4
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Use the background functions for how youw ant your background to repeat.
QUOTE repeat for repeating in all directions repeat-y for up and down repeat-x for side to side your div has nothing to do with it really. |
|
|
|
![]() ![]() |