Support » Fixing WordPress » margin top of tag object to zero, how ?

  • Hey all,

    I put flash movies in my posts (good guy !) and all works fine (real ?! it’s amazing). I have put off the filters whith the Role Malager plugin (thanks to it !).

    But… There is a big 20px space above my movies. I have put in my css sheet :

    object {
    margin: 0px;
    padding: 0px;

    but it makes nothing.
    I have search in this support and find nothing.

    Pleaaase helm me….

    ps : example of my flash code :

    <div><object width="425" height="335"><param name="movie" value=""></param><embed src="" type="application/x-shockwave-flash" width="425" height="334"></embed></object></div>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Are you sure that the 20px margin is above your movies?

    Or is the 20px margin below whatever is above the movies?

    Or maybe the 20px margin is on the div, and not the object?

    Without looking at the rest of the CSS file, it’s hard to say what action to take.

    When I put images, there is not the margin between the title and the image. Only whith movies…

    Here is my css. Do you see something wrong ? :

    [moderated – long code removed]

    Don’t post long code here, please!
    It is difficult to read and nobody really bothers to take a look at it. You can use or similar services – and post back with the URI.
    For posting small code snippets, please read carefully the instructions here below the text input area: the “backticks” usually are located on top-left of your keyboard, where ~ [tilde] is.

    I haven’t an english keyboard and I don’t know where are “backticks” (what is it ?)

    “Backticks” are the little accents around the word backticks in the list of allowed code below the reply box. Just copy/paste them if you can’t find them on your keyboard. 🙂

    If your css is on a live site, a link directly to the css file should work as well as using the pastebin sites.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘margin top of tag object to zero, how ?’ is closed to new replies.