SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2010
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sidebars not lining up at the top on 1 page

    Hi everyone. This site is built using ecommerce templates. I am having an issue with 1 of the pages that I can't seem to figure out. Basically, if you go here: http://www.rearnaked.ca/thanks.php you will see that the left and right sidebars are pushed down from the top of the site. I have made the center container that holds the text 500px so that it leaves room for the sidebars to slide up into position. If you look at this page for instance: http://www.rearnaked.ca/products.php?cat=39 you will see that I have made the center container 600px and the sidebars are at the top as they should be. Does anyone know what is preventing the sidebars on the thanks.php page from lining up at the top like the rest of the site?

    Thanks in advance

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    On the page that is working you have floated the table right (the center column) and you have a large right margin on it also. Those styles are inline in the html.

    Floats always need to come first in the source if they need to sit on the same line as non-floated blocks.

  3. #3
    SitePoint Member
    Join Date
    Apr 2010
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good call man! Thanks to your response, it clued me in and I fixed it. Thank you very much


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •