remember, It's A BAND MYSPACE. Also, if you could help, I'd like to know how to move the music player, I tried, but that just hid it instead of moving it.
O.K. I have a div layout for my bands myspace and I was wondering how I can make the comments go to the bottom
The best way to accomplish these things, depends on your div overlay strategy.
have you installed the div overlay yet?
Does it cover the page, or does it hide elements.
If it hides stuff what strategy is used to hide the stuff.
Does your music player show up now?
Do you have any other objects on your page, which are not in their own class (so that we can prevent them from moving with the player).
Normally (assuming you have not altered the table structure in a way which changes this) The music player is addressed like this:
table table td.text object
If you want to move it that is all you need, for some reason you need to also use embed to hide it or resize it.
To move
%26lt;style%26gt;
table table td.text object {position:absolute; top:150px; left:50%; margin-left:-300px;}
%26lt;/style%26gt;
OR
%26lt;style%26gt;
table table td.text object {position:absolute; top:150px; left:40px;}
%26lt;/style%26gt;
I recommend the first unless you have the sort of div overlay strategy where the player has been logically sucked into the div, and the positioning is relative to the outer div instead of the page body. In that case I recommend the 2nd.
As for your comments,
If you are using the div overlay strategy, I most often recommend, you should just be able to render them visible, and they should fall automatically bottom center.
Where do your comments end up when you render them visible?
Can you render them visible?
Do they currently show up on your page?
You can try this:
%26lt;style%26gt;
table.friendsComments, table.friendsComments table {visibility:visible !important; display:block !important;}
%26lt;/style%26gt;
Do the comments show up at the bottom, or are they up under your div and sticking out maybe?
If they are, you used a div overlay strategy I don't really like (but many do).
Now you have to use absolute or relative positioning to get your comments located.
i.e.
%26lt;style%26gt;
table.friendsComments {position:relative; top:Ypx}
%26lt;/style%26gt;
Set Y to the needed height, play with some numbers, see what works.
Try that first, if your comments are already centered, this will just move them down, and it should push the bottom links down as well (if those are displayed).
This assumes no major table restructuring, and that any closed tables, have matching open tables and such.
If they move down, but you don't like the horizontal position, add horizontal positioning.
i.e.
%26lt;style%26gt;
table.friendsComments {position:relative; top:Ypx; left:Xpx}
%26lt;/style%26gt;
You can replace left with right if that works for you.
OR you might want to use absolute:
%26lt;style%26gt;
table.friendsComments {position:absolute; top:Ypx; left:50%; margin-left:-Xpx}
%26lt;/style%26gt;
Where X is half the width of the comment space, and Y is the distance from the top of the page you want the start the comment space.
If none of this works, well, it will take digging through your code to see why it doesn't work.
No comments:
Post a Comment