Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorwebber
    • CommentTimeFeb 1st 2008
     
    In order the get IE to display properly, I created multiple style sheets. Fine, I can now control IE being "different".

    The problem is, IE now wants to size my .swf object smaller than FF or Opera. Does anyone know a fix where I set different values, based on the browser? If I want to set the "width" to 200px in FF and 250px in IE, can I do that; maybe under my current system of css?

    I've search this site but can't seem to locate a similar post with this issue, although I suspect I'm not alone and the answer's out there somewhere. Anyone have an idea?
    • CommentAuthorphilip
    • CommentTimeFeb 1st 2008
     
    i've never seen IE size a SWF differently.

    you could set the swf to display 100% width and height, then use CSS to define the size of the container DIV ("flashcontent"). if the div is set to 200px wide, the SWF will be 200. if it's set to 250, the SWF will be 250.

    - philip
    • CommentAuthorwebber
    • CommentTimeFeb 1st 2008
     
    Yes, I thought it was just my machine, but I've tried others, and still the same. I have to upsize my .swf image form FF 150px to IE 160px. Not much difference, but I have a tight layout. If your curious the dated layout is on http://aro-dm.com as the corrected one is still local. Sorry I can't remember how to hyperlink it.

    I reset #flashcontent in my IE css, fiddle with the padding (again) and everything appears to be resize appropriately.

    For my use SWFObject has been the only way I've been able to get a consistent, high quality display across browsers.

    Thanks for your help!
    • CommentAuthorAran
    • CommentTimeFeb 3rd 2008
     
    @Webber

    I guess this is standard CSS box model differences between IE / FF etc. That being said, if you are not setting margins / padding etc, then a width/height definition for a div should behave the same across both browsers. There are plenty of examples out there which work as intended with the same CSS for Firefox / IE.

    Cheers,
    Aran
    • CommentAuthorwebber
    • CommentTimeFeb 3rd 2008
     
    Aran,
    Yeah, I strip all the extraneous information, left the relevant SWFObject code and there is no difference in displays between IE and FF. As I've had to tweak the html script way, way too many times; and although I thought I accounted for it, there's a conflict somewhere between margins, padding and width. Guess I'll start with the SWF Object, add code till I hit the problem. sigh!

    I also have another problem related to display. I post it on a separate thread.

    thanks,