Results 1 to 5 of 5
  1. #1
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default Sidebar Height Question

    Is there a way to make your sidebar automatically match the height of your page content? On my one website my sidebar is quite a bit shorter than my content on many pages, and the way I have the website set up it would take a lot of work to restructure the entire website to make it look right. One solution would be to create a table and make the content in one column of the table and the sidebar in the other but I do not want to do that.

    Instead if there a css attribute or something that tells the sidebar to match the page content height that would be awesome. Not sure if it can be done through css but if it can please share.

    The website this is for is www.onlineunitedstatescasinos.com and if you look at a page that is rather long and the sidebar dissapears from sight when scrolling down the page it just looks funny. If the sidebar background would extend down to the footer it would look a lot better I think.

    Thanks for any help.
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  2. #2
    Rostick's Avatar
    Rostick is offline Private Member
    Join Date
    November 2008
    Posts
    359
    Blog Entries
    2
    Thanks
    55
    Thanked 118 Times in 89 Posts

    Default

    Just in case you didn`t find these on google:

    http://stackoverflow.com/questions/7...bar-height-100

    http://alistapart.com/article/fauxcolumns

    I`m too lazy to check it out to see if it works, but surely it is what you`re looking for.
    Betdistrict.com - free betting tips & previews
    Happybags.ro - romanian e-commerce website
    WW2HistoryBook - World War Two Library

  3. #3
    Rostick's Avatar
    Rostick is offline Private Member
    Join Date
    November 2008
    Posts
    359
    Blog Entries
    2
    Thanks
    55
    Thanked 118 Times in 89 Posts

    Default

    by the way, I would not stress too much about it.
    Betdistrict.com - free betting tips & previews
    Happybags.ro - romanian e-commerce website
    WW2HistoryBook - World War Two Library

  4. #4
    wonderpunter's Avatar
    wonderpunter is offline Private Member
    Join Date
    August 2013
    Posts
    3,142
    Blog Entries
    5
    Thanks
    419
    Thanked 1,901 Times in 1,172 Posts

    Default

    if you are just going to fill it with white space there is no point, maybe a css 100% height style might work, an easier option is modify the wall paper to cover it up ..


  5. #5
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Quote Originally Posted by Rostick View Post
    by the way, I would not stress too much about it.
    I am not super worried about it. I just think it will look better and if it is easy enough to do I want to. Otherwise I am not spending to much time on it.
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

Posting Permissions

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