Joined: 23 Apr 2003
Posts: 2272
Location: OKC, by Lake Hefner
Borders
I am having a hard time for some reason moving a boarder to right align. I have the following layout.
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxx oooo
x x o o
x x o o
x x o o
xxxx oooo
xxxx
x x
x x
x x
x x
xxxx
I am trying to make the border with the O's. The borders with the x's work perfect. All scripts going well. I can not seem to make a border over there though. I am using the following code.
I know I am missing something simple and it is driving me nuts. Thanks for your help guys. _________________ More RAM than Dodge!
Tue Nov 30, 2010 1:41 pm
Sevnn
Candy Cane King
Joined: 22 Mar 2003
Posts: 7711
Location: Kyrat
Don't use the align attribute, it's deprecated. You need to float: right; the div or set the right margin to 0 and the left margin to auto.
Tue Nov 30, 2010 8:04 pm
Killaholic
2173 Posts and still a shitty title!
Joined: 23 Apr 2003
Posts: 2272
Location: OKC, by Lake Hefner
Thanks Sevnn! _________________ More RAM than Dodge!
Tue Nov 30, 2010 11:44 pm
Killaholic
2173 Posts and still a shitty title!
Joined: 23 Apr 2003
Posts: 2272
Location: OKC, by Lake Hefner
That did just what I wanted it to do. Only problem now is I can't keep it from going to far. How do I tell it to scoot left with a right float? _________________ More RAM than Dodge!
Wed Dec 01, 2010 12:03 am
Sevnn
Candy Cane King
Joined: 22 Mar 2003
Posts: 7711
Location: Kyrat
margin-right: 10px;
Wed Dec 01, 2010 5:25 am
Killaholic
2173 Posts and still a shitty title!
Joined: 23 Apr 2003
Posts: 2272
Location: OKC, by Lake Hefner
Sweet. You're the man. _________________ More RAM than Dodge!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum