6 replies
  • WEB DESIGN
  • |
Code is complex....and I need to ask someone who is better with code than I to help me out on this question....if you would please? :rolleyes:

I uploaded a youtube video to my site, and I wanted to center it on my page...so I did so...but then it somehow discombobulated everything else on my page.

This is what my home page looks like now and I want to keep everything on this page as it looks EXCEPT FOR everything beneath my video:

RMM.com Home

and this is what my page SHOULD look like EXCEPT for the video:

RMM.com Testimonial

see what I mean? haha...I would like to keep my video in the center as it is in the first link, but then have the rest of my text underneath the video, and the three boxes in my footer to look as they do on the second link.

I can't figure out myself how to fix this in my code....any suggestions? tips? advice? Shall I show you the code I'm working with? or what can I do here...?

thanks again, mucho!!
#code #question
  • Profile picture of the author indexphp
    You see this closing </div> in the code here directly below the video?

    Code:
    <center><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/_ulfw6dyZW4&amp;hl=en&amp;fs=1" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" />
    <embed src="_ulfw6dyZW4&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"></object></center>
    </div>
    Just move that down to after the last sentence.... in green.

    Code:
    Affiliate Article Writer<br />
    </div>
    {{ DiscussionBoard.errors[2024707].message }}
    • Profile picture of the author Brekat23
      Thank you, the worked perfectly for my text!!

      However, it didn't change anything to the three boxes I have at the bottom of my site...they are still hangin out off to the left and I'd like them centered...help? haha

      Thanks again in advance...you are all awesome
      Signature
      "The World of IM: Physically Easy - Mentally Challenging - Emotionally Intense."

      {{ DiscussionBoard.errors[2024756].message }}
  • Profile picture of the author indexphp
    sure... just take the </div> that is directly above <div id="row2"> and move it down... and place it directly above the closing </body>
    {{ DiscussionBoard.errors[2024804].message }}
    • Profile picture of the author Brekat23
      Originally Posted by indexphp View Post

      sure... just take the </div> that is directly above <div id="row2"> and move it down... and place it directly above the closing </body>


      Hmm...thanks for your continual support indexphp but I tried that, and maybe I'm doing it wrong, although I don't think so...but it didn't work for me. Is it possible I could email this bit of code to you perhaps? Or maybe did you have some other suggestion? Like I said, the text and video are all now fine and good....its just these three boxes at the bottom that I would like centered.
      Signature
      "The World of IM: Physically Easy - Mentally Challenging - Emotionally Intense."

      {{ DiscussionBoard.errors[2024839].message }}
  • Profile picture of the author Christopher Airey
    I'm assuming this is still a problem? Both pages look the same, but the three are off-center. The reason is because you have some funky padding going on in styles.css. To line everything up, go to styles.css and change the #row2 { padding } block of code to look like this:

    #row2 {
    padding:28px 0px 0px 87px;
    }
    {{ DiscussionBoard.errors[2025917].message }}
    • Profile picture of the author apoorv.parijat
      Same reply as in other thread.

      1.add this just after <div id="row2">

      <div id="rowalign" style="width:850px;margin-left:83px;">

      2.add a </div> just before <div class="clear"></div>

      3.In your style.css, go to #row2right and change value of attribute "float" from "left"
      to "right".

      I tried this and it is working.Hope this works for you as well.
      {{ DiscussionBoard.errors[2026201].message }}

Trending Topics