PDA

View Full Version : CSS for an object (FLV)?


Jittor
11-15-2007, 09:31 PM
I have a flash video on my page within a Div ID called "Content"

<div id="content">

for some reason the flash video is to the edge of my wrapper and I need it to be 30px to the right.

it uses an object tag, so I thought I could use

}
#content object{
margin-left:30px;
}


but that didn't work. any thoughts?

Jittor
11-15-2007, 09:43 PM
Nevermind I just fixed it. had a brain fart.

I just created a new ID and did it that way

<div id="object'>

and the CSS


#object{
margin-left:50px;
}


live and learn.