Need held with javascript code

Discussion in 'Programming' started by KimS, Apr 21, 2010.

  1. #1
    I am working on one of my GoDaddy web pages right now. As you can see on the attached image, I've been able to centre the text for everything except for the YouTube image which is done in javascript. How can I get that image to centre align like everything else?

    Here is the code for the image itself: <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&amp;up_channel=PolishedPublishing&amp;synd=open&amp;w=320&amp;h=390&amp;title=&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>
     

    Attached Files:

    KimS, Apr 21, 2010 IP
  2. nimonogi

    nimonogi Active Member

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Try this:
    
    <center>
    <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&amp;up_channel=PolishedPublishing&amp;synd=open&amp;w=320&amp;h=390&amp;title=&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script> 
    </center>
    
    Code (markup):
     
    nimonogi, Apr 23, 2010 IP