WordPress.org

Ready to get started?Download WordPress

Forums

margin top of tag object to zero, how ? (6 posts)

  1. Pixelboss
    Member
    Posted 8 years ago #

    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="http://www.dailymotion.com/swf/4KjPr3PFie1Jvl"></param><embed src="http://www.dailymotion.com/swf/4KjPr3PFid1Jvl" type="application/x-shockwave-flash" width="425" height="334"></embed></object></div>

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    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.

  3. Pixelboss
    Member
    Posted 8 years ago #

    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]

  4. moshu
    Member
    Posted 8 years ago #

    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 http://pastebin.com http://paste.uni.cc 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.

  5. Pixelboss
    Member
    Posted 8 years ago #

    I haven't an english keyboard and I don't know where are "backticks" (what is it ?)

  6. newflesh
    Member
    Posted 8 years ago #

    "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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags