• So I’m trying to get this floating clock centered and this is what I’m working with:

    <embed src=https://safir85.ucoz.com/bdlab-blogspot/24work/GlassOfficeClock.swf width=200 height=200 wmode=transparent type=application/x-shockwave-flash></embed>

    I’ve tried:

    <div class=’center’><embed src=https://safir85.ucoz.com/bdlab-blogspot/24work/GlassOfficeClock.swf width=200 height=200 wmode=transparent type=application/x-shockwave-flash></embed></div>

    But this isn’t seeming to work. Can anyone give me some help on what I’m doing wrong here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • For a quick solution you can use

    <center> whatever is to be centered </center>

    If you want a harder way you could create a div class like so:

    .centerFlash{
    width: 1000px;
    margin: 0 auto;
    }

    Then wrap your flash in the following

    <div class="centerFlash"> whatever to be centered </div>

    Thread Starter stormcry82

    (@stormcry82)

    Wow, now I feel really dumb lol, I was only going from the start with <center> and not closing it up at the end with </center>. I’m such a noob lol, gotta learn somehow I suppose though. Thanks for your quick help :D.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Centering a flash image on my website’ is closed to new replies.