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

Video & Image Alignment?


  • Please log in to reply

#1
TheOddGirlOut

TheOddGirlOut

    New Member

  • Member
  • Pip
  • 5 posts
Hey guys! OK, well I posted a music video and a few images on my site, and I know the code to align your text in the center, but it doesn't work for images or videos...is there a way I can do this? Is there a different code for such a thing? If anyone can find a code for me that will also align my videos and images to the center please either post a reply, send me a link, or write me an email...I need your help guys!

[Rissa]
email removed
[AIM] - doUthinkIMaWH0R3 (the o and e in WH0R3 is a zero & a three)
  • 0

Advertisements


#2
ditto

ditto

    - i pwn n00bs -

  • Member
  • PipPipPipPip
  • 1,260 posts
Can you most your log?

Usually theres an attribute with the object tag like

<img src='file.jpg' align=center>

  • 0

#3
TheOddGirlOut

TheOddGirlOut

    New Member

  • Topic Starter
  • Member
  • Pip
  • 5 posts
The code didn't work...any other ideas??
  • 0

#4
bennydog

bennydog

    Member

  • Member
  • PipPip
  • 77 posts
Hey Ben Here,
Try This
<img src="" border="" height="" width="" align="middle">
:tazz:
  • 0

#5
TheOddGirlOut

TheOddGirlOut

    New Member

  • Topic Starter
  • Member
  • Pip
  • 5 posts
I got my images to align to the center now I'm having problems aligning the video this is the code I put in:

<embed src="http://www.flyleafmu...the_today.mov">

Any ideas on that? No matter what I try it still stay right-aligned

kthx guys
[Rissa]
  • 0

#6
ditto

ditto

    - i pwn n00bs -

  • Member
  • PipPipPipPip
  • 1,260 posts
<embed src="http://www.flyleafmusic.com/video/breathe_today.mov" align="center">

  • 0

#7
TheOddGirlOut

TheOddGirlOut

    New Member

  • Topic Starter
  • Member
  • Pip
  • 5 posts
I already tried that beforehand, it doesn't work for some reason?
  • 0

#8
ditto

ditto

    - i pwn n00bs -

  • Member
  • PipPipPipPip
  • 1,260 posts
<embed src="http://www.flyleafmusic.com/video/breathe_today.mov" align="absmiddle">

  • 0

#9
TheOddGirlOut

TheOddGirlOut

    New Member

  • Topic Starter
  • Member
  • Pip
  • 5 posts
still a no go. le'sigh
  • 0

#10
bennydog

bennydog

    Member

  • Member
  • PipPip
  • 77 posts
Iv had this problem try creating a table
  • 0

#11
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts

Iv had this problem try creating a table

View Post

One of the better ideas. Is your video Flash?

This is what I used and it has worked for me on all my web pages :

<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macr...ersion=5,0,0,0" width="490" height="60" pluginspage="http://www.macromedi...hockwaveFlash">
<param name="movie" value="images/hstreasures.swf">
<param name="quality" value="best">
<param name="wmode" value="transparent">
<param name="bgcolor" value="#ffffff">
</object>
</div>

It also gets rid of the <embed> tags which the w3c.org doesn't like if you validate your web pages.

Same with this one :

<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macr...ersion=5,0,0,0" width="490" height="60">
<param name="movie" value="img/hstreasures_new.swf">
<param name="quality" value="best">
<param name="wmode" value="transparent">
<param name="bgcolor" value="#FFFFFF">
<!-- <embed src="img/hstreasures.swf" quality="best" bgcolor="#FFFFFF" width="490" height="60" type="application/x-shockwave-flash" pluginspage="http://www.macromedi...hockwaveFlash"> -->
</object>
</div>

Ron
  • 0

#12
ccheung923

ccheung923

    New Member

  • Member
  • Pip
  • 1 posts
i think this might help...

i was trying to center a video before and this code worked for me

<div align=center> before the code

<div> after the code

hope this helps...
  • 0

#13
tracywalls

tracywalls

    New Member

  • Member
  • Pip
  • 3 posts

i think this might help...

i was trying to center a video before and this code worked for me

<div align=center> before the code

<div> after the code

hope this helps...

View Post

Don't forget your slash. :tazz:
<div> Your code </div>
  • 0

#14
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts

i think this might help...

i was trying to center a video before and this code worked for me

<div align=center> before the code

<div> after the code

hope this helps...

View Post

Think I covered that in my post above.

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