Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2011
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    CSS sidebar - Correct on html pages, wrong on wordpress

    Hey guys,

    my site www.prattRB.com/events.php is working great on the simple html pages (with a few php includes). I installed wordpress for the blogging section and made a matching theme, after hours of digging around in there. The on problem is the sidebar at www.prattRB.com/blog doesn't flow to the bottom of the page like the rest of them.

    I compared the code side by side (events.php and blog.php) and couldn't figure out what's causing the difference.

    Any help is appreciated!

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,749
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Hello puma10,
    On the events page you link to you have a height of 1277px set on #sidepanel using inline styles.

    On the blog page, there is no set height on #sidepanel.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New Coder
    Join Date
    Aug 2011
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Excavator,

    First off thank you for taking the time to help.

    I figured it out, I had the link to my javascript file screwed up. That javascript generates the height of the sidebar. Once the link was fixed everything worked great.

    Thank you very much again!

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,749
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Right on, glad you figured it out. I did not even glance at what was generating the height of that colum...
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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