if i wanted to postition anything? |
if i wanted to postition anything? |
Aug 21 2008, 08:01 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 170 Joined: Aug 2008 Member No: 675,679 |
like a playlist or a picture.
do i got to put it in a div <div class="moveLinks"></div> <div class="divOne"> </div> or can i just add this top: 160px; margin-left: -300px; to the coding |
|
|
|
![]() |
Aug 21 2008, 08:28 PM
Post
#2
|
|
![]() DDR \\ I'm Dee :) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Mentor Posts: 8,662 Joined: Mar 2006 Member No: 384,020 |
Um, is there more to your stylesheet. Like CSS for the divs that you have labeled moveLinks and DivOne?
Otherwise, putting <div style="position:absolute;top:YYpx;left:YYpx;">STUFF</div> around what you are trying to move would work, too. |
|
|
|
Aug 21 2008, 08:33 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 170 Joined: Aug 2008 Member No: 675,679 |
Um, is there more to your stylesheet. Like CSS for the divs that you have labeled moveLinks and DivOne? Otherwise, putting <div style="position:absolute;top:YYpx;left:YYpx;">STUFF</div> around what you are trying to move would work, too. i use this to postion my divs .divOne{position: absolute; left: 50%; overflow: auto; top: 160px; margin-left: -300px; width: 400px; height: 400px; background-color: fff; z-index: 1; padding: 3px; border: 2px solid; border-color: 00aaff; } <div class="moveLinks"></div> <div class="divOne"> </div> |
|
|
|
Aug 21 2008, 09:40 PM
Post
#4
|
|
![]() DDR \\ I'm Dee :) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Mentor Posts: 8,662 Joined: Mar 2006 Member No: 384,020 |
Yes, then that would work. However, this part of the code:
<div class="moveLinks"></div> <div class="divOne"> </div> is not neccesary. Unless you put something before the </div>. So, all you'd need to make it work is: <div class="divOne"> </div> |
|
|
|
![]() ![]() |