1
jonas
code for ventering in custom block
  • 2007/3/17 6:53

  • jonas

  • Just popping in

  • Posts: 96

  • Since: 2004/1/27


I am wanting to use a custom block to feature a youtube video.. works great!! however i want to center the video.. is there a code to use to center.. here is what i have in my block-

This is rock and roll!

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/5ajP8Gx2KSk"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/5ajP8Gx2KSk" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
If you tell the truth you don't have to remember anything.[size=x-small] [ Mark Twain ][/size]...

2
MadFish
Re: code for ventering in custom block
  • 2007/3/17 7:03

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


Try wrapping your code in some div tags like this:

<div align="center">

[your code]

</div>

3
jonas
Re: code for ventering in custom block
  • 2007/3/18 2:24

  • jonas

  • Just popping in

  • Posts: 96

  • Since: 2004/1/27


worked great!! thanks
If you tell the truth you don't have to remember anything.[size=x-small] [ Mark Twain ][/size]...

Login

Who's Online

248 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 248


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits