Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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