padding on swfobject IE7

Posted on 2009-04-21
Last Modified: 2013-11-19
I have a 2col, 1row table with a graphic and a Flash movie, embedded using the swfobject 2.1.

It's displaying correctly in all browsers I've checked on Win and Mac, except IE7... In IE7, it's showing a gap at the bottom of 5 or so pix.

I've set the CSS object style to display: block, I've set a style on the "flashDiv" to no margin...I've set the heights on the TDs. I can't see any reason that space would appear.

A sample is here:

Please advise.

EDIT/NOTE: I have "hidden the visual gap by setting a background color in both TDs, but if you look closely under the arrow, you can see that the Flash movie in the right TD terminates before it gets to the bottom of the TD.
Question by:squidzink
    LVL 42

    Accepted Solution

    Give ".blurbBlock img" display:block

    More information:

    Are you aware that there are better ways to code a page than to use nested tables for layout?

    Author Comment


    .blurbBlock img worked perfectly. Obviously, a logical answer as well.

    "Are you aware that there are better ways to code a page than to use nested tables for layout?"

    Hehe...very aware. Since the time that this site began its life, I've moved on to CSS layout, which I love. But, alas, the site lingered in limbo for eternity and then suddenly sprung back to action. But, I wasn't getting paid to go back and re-code the layout so it remains as is.


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
    Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now