DIV problems |
DIV problems |
![]()
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 75 Joined: Jan 2007 Member No: 498,248 ![]() |
So I used the DIV layout tutorial, but alas, I am having troubles. This is my first time using this tutorial and layout-making type.
The problem is, I have three boxes in one of which I would like to place my "content" in and the other two maybe comment boxes or the "add, msg, pic" boxes. I really don't know what I'm doing, I'm just messing around with the codes with trial and error. = ) Does anyone have any time to help me with this? Here is the link to my myspace: Myspace Any help is much appreciated. |
|
|
![]() |
*WHIMSICAL 0NE* |
![]()
Post
#2
|
Guest ![]() |
I hope that you don't mind that I viewed your source. In your code you have some of your divs set up as:
CODE <div class="content" style="position: abosulte; left: 50%px; top:50%; width:500px; height:200px; overflow: auto;"> What the 50% would do is place it horizontally centered (left) and vertically centered (top) but after one of them you placed px which isn't needed. The catch with myspace is that even if you change one of them to 50%... let's say you changed it to left:50% because you wanted your layout centered, you would have to change the actual positioning of the div because it starts from the middle of the page rather than from the left as it usually does. Confusing I know. But since it's your first div I suggest that you don't mess around with that. Instead change your div code to this: CODE <div class="content" style="position: abosulte; left: 000px; top:000px; width:500px; height:200px; overflow: auto;"> What you'll need to do is position the div like it shows here. I know that was a lot packed in one post, but if it confuses you just let me know. |
|
|
![]() ![]() |