Log In · Register

 
 
Closed TopicStart new topic
Help., With this div layout.
AlBhedish
post Nov 26 2006, 10:38 PM
Post #1


Isabel
***

Group: Member
Posts: 45
Joined: Jun 2005
Member No: 159,076



Okay. Here's my myspace: My Myspace

Okay. Wha tI need help is with the white rectangle on my picture and half on my about me box, and you know. [I think you can notice it.]

I think it's from my myspace music player, but I can't find out what's wrong with it. As you can see, the player is on the bottom right div box or whatever.

Before I ever added the player, it was fine. When when I added it, it was in the middle. So I wanted to resize it and move it to where it is now.

This is the code I'm currently using for moving it and resizing.
CODE
<style type="text/css">
embed, object {width:200px; height:35px;}
</style>


<style type="text/css">
object {position:relative; top:450; left:285px;}
</style>


Help? How do I get rid of the blank white space? cry.gif
 
whomps
post Nov 26 2006, 11:21 PM
Post #2


:hammer:
*******

Group: Staff Alumni
Posts: 9,849
Joined: Mar 2004
Member No: 7,700



Uhm try this... hmm

CODE
<style type="text/css">
.div2 {
z-index: 9999999999999999999;
}
</style>


OR OR OR OR !

In your div2 DIV.. try adding a <table> in between it. So it'd be like this;
CODE
<div class="div2">
<table><tr><td>
<center><img src=http://i2.photobucket.com/albums/y31/Amerikanish/3izzy.png></center><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;My name is Isabella Yuna Susanna De Rossini. Call me Iz though.
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I'll do this later.
</td></tr></table>
</div>
 
AlBhedish
post Nov 27 2006, 07:03 PM
Post #3


Isabel
***

Group: Member
Posts: 45
Joined: Jun 2005
Member No: 159,076



Awh. No use at all.

The first code won't even enter. It'll come out as:

CODE
<style type="text/css">
.div2 {
..;
}
</style>


And it has no effect at all.

The second code will just reorder and mess up the whole layout..
:/

Should I just not put a player on there?

UPDATE.
If I take this code out:
CODE
<style type="text/css">
embed, object {width:200px; height:35px;}
</style>


[to resize it] Then, it won't show the stupid annoying space.
But I still want to resize the player so it will 'fit' in the div box. you know? ermm.gif
 
*WHIMSICAL 0NE*
post Nov 27 2006, 07:13 PM
Post #4





Guest






Have you tried seperating the embed and object code. Like, having a code for each.
embed {width:200px; height:35px;}
instead of embed, object?
 
AlBhedish
post Nov 27 2006, 08:13 PM
Post #5


Isabel
***

Group: Member
Posts: 45
Joined: Jun 2005
Member No: 159,076



Nope. Doesn't work. It still has the space. cry.gif

Well. Don't worry about it I guess. I guess I'll make it 0px by 0px so it won't show, but I still got the music going. happy.gif

Buttt. If anyone finds out, it'll be awesome. _smile.gif

Thanks much!
 
*Infinite.*
post Nov 27 2006, 08:20 PM
Post #6





Guest






I don't see the problem, but to adjust and move the music player you have to use this:

CODE
<style>td td object {position:absolute; left:0px; top:0px; display:block; width:0px; height:0px;}</style>


you can change the left and top to position and then change the height and width to change the size of the player at what you want it to show.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: