PDA

View Full Version : Object (SWF) in DIV won't move


The Autumn Window
03-14-2009, 12:38 AM
the website: www.theautumnwindow.com

I am putting a myspace status update object on my page, but the DIV I have it in will not move no matter what I do.

Does anyone know what is going on?

Thanks!

edbr
03-14-2009, 01:46 AM
in your css file you have
#mypacestatus {
z-index:6;
top: 600px;
left: 10%;
position: relative;
}
first its a typo error. then yu have altered a absolute div so now the positioning and z index are redundant use margins and width to position your div

The Autumn Window
03-14-2009, 06:21 AM
I don't follow at all.

I'm fairly new to this, so any greater detail and explanation would be greatly appreciated.

edbr
03-14-2009, 06:48 AM
on your page you have your object in a div called
myspacestatus you have defined mypacestatus just a missing s
ths styling above is typical code for DW app div or absolure positioned div. in a relative ositioned div the values i mentioned dont apply. try

#myspacestatus {
width: ???px;//add your own
height: ???px; //add your own
margin-left: 600;
float:left:
position: relative;
}

The Autumn Window
03-14-2009, 04:00 PM
ooooooh okay. thank you VERY much! I'll definitely try that! :)

The Autumn Window
03-14-2009, 04:26 PM
I tried what you suggested with displeasing results. So I tinkered around with it and came up with this:

#myspacestatus {
margin-left:8%;
top:50%;
z-index:8;
height:190px;
width:320px;
position: absolute;
}is there anything wrong with this code that I need to know about?