DIV Positioning, on 2.0 |
![]() ![]() |
DIV Positioning, on 2.0 |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 49 Joined: May 2007 Member No: 521,710 ![]() |
This is pissing me off. I'm trying to add a video on the top of my page (561 x 313)
www.myspace.com/lrc4lyfe I dont know where to post the code or am i using the right code or not I've tried the css spot and the About me spot Example: CODE <div style="width: 500px; height: 500px; font-family: verdana; border-style:solid; border-width:1px; border-color: 000000; font-size: 9px; text-align: left; overflow: auto; padding: 4px; position:absolute; top:100px; left:50%; margin-left:-370px;">
YOUTUBEVIDEO!!!!!!!!!!!!! </div> |
|
|
![]()
Post
#2
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Try adding a z-index property to your DIV code:
CODE <div style="width: 500px; height: 500px; font-family: verdana; border-style:solid; border-width:1px; border-color: 000000; font-size: 9px; text-align: left; overflow: auto; padding: 4px; position:absolute; top:100px; left:50%; margin-left:-370px; z-index:9;"> YOUTUBEVIDEO!!!!!!!!!!!!! </div> If that doesn't work, post all your codes because you might have something that's making it hidden. |
|
|
![]()
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 69 Joined: Jul 2008 Member No: 668,177 ![]() |
nope, that will not work either.
He has profile 2.0 so he can no longer use a direct style on a Div. He needs to style the Div inside the CSS box and assign it a class. This is what you have to do, put this code in your CSS box.. CODE div.youtube {width:561px; height:313px; font-family:verdana; border-style:solid; border-width:1px; border-color:000000; font-size:9px; text-align:left; overflow:auto; padding:4px; position:absolute; top:100px; left:50%; margin-left:-370px; z-index:9;} then put this code in your 'about me' section.. CODE <div class="youtube"> YOUTUBEVIDEO!!!!!!!!!!!!! goes here </div> |
|
|
![]()
Post
#4
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
T. Dames, use my code instead. Look for this bit:
CODE <p class="topbanner"><img src="URL" /></p> Replace the image code (<img src="URL" />) with your YouTube codes. |
|
|
![]()
Post
#5
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Human Posts: 100 Joined: Sep 2008 Member No: 682,308 ![]() |
Of course DIVs will work in 2.0.
It's made of pretty much nothing but DIVs. |
|
|
![]()
Post
#6
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 69 Joined: Jul 2008 Member No: 668,177 ![]() |
it WILL work if he does what i suggested.
you didn't know he was using profile 2.0? it says it on the topic title and he even was kind enough to post his myspace for you to look at it. If you didn't check the title of the topic nor his page, what do you read? |
|
|
![]()
Post
#7
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Human Posts: 100 Joined: Sep 2008 Member No: 682,308 ![]() |
|
|
|
![]()
Post
#8
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 49 Joined: May 2007 Member No: 521,710 ![]() |
This works just fine. it takes a long time for alot of coding though. but it works
|
|
|
![]()
Post
#9
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Topic closed & moved.
|
|
|
![]() ![]() |