Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

HTML Problem


  • This topic is locked This topic is locked

#1
The G

The G

    Member

  • Member
  • PipPipPip
  • 136 posts
Hey Guys,

A little HTML problem i've started using HTML properly the other day (I knew basic HTML). Anyway I have a SWF Flash game i'am putting on my site but i want to align it to the middle of the page. Here's what I'am working with

<param name=quality value=high><param name="SRC"  value="http://www.media.ebaumsworld.com/pacman.swf"><embed src= "http://www.media.ebaumsworld.com/pacman.swf" width="360" height="420"  quality=high  pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>

So where in there would I put the align="middle" I've tried putting it in a few place's but it dont always go the in middle though.

Anyhelp would be great, thx guys.

Edited by ScHwErV, 24 April 2006 - 06:05 AM.

  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Try this:

<div align="center">
<param name=quality value=high><param name="SRC" value="http://www.media.eba...man.swf"><embed src= "http://www.media.eba...com/pacman.swf" width="360" height="420" quality=high pluginspage="http://www.macromedi...ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</div>

Might look into using the <object></object> tags for the above.

Ron
  • 0

#3
The G

The G

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 136 posts
Thx for taking the time to reply mate, even though i'd worked out what to do,lol.

This is what I ended up doing

<body><param name=quality value=high><param name="SRC" value="http://www.media.ebaumsworld.com/pacman.swf"><div align="center"><embed src="http://www.media.ebaumsworld.com/pacman.swf" width="360" height="420" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"> </embed></div>

It seem's to have worked but thx for your suggestion it's been noted. :whistling:
  • 0

#4
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Same thing, different position for centering tag. :whistling: Some times it matters where it goes, but this time it didn't. Glad you "got 'er done".

Ron
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP