Div positioning – PHP
-
I’ve been making a child theme of Sight and been trying to position my divs with little success.
Site Link: http://www.hookturnmelbourne.com
Index.php: http://pastebin.com/Uf81swj4
Header.php: http://pastebin.com/YBnDx5tC
Sidebar.php: http://pastebin.com/uZ7JJgS3
Style.css: http://pastebin.com/4h4wSiLvIf you visit the link and view the php files above, you can see that the header, slider, and latest post are all enclosed in a div called
wrapper, but my sidebar, which I have put in a div named#sbaris not. This is currently due to this code in index.php:</div></div> <div id=sbar> <?php get_sidebar(); ?> </div>However if one of the
</div>tags is removed, then#sbaris enclosed not only inwrapperbut also indiv#container.clearand after over 5 hours I still cannot figure out why!What I want to have displayed is: Under
div.navto have three main divs:div.slideshow, directly under thisdiv#container.clear, and alongside the twodiv#bar.I really hope someone can help me as I am really lost on what to do. If anyone needs any additional information, please let me know.
Thank you in advance
The topic ‘Div positioning – PHP’ is closed to new replies.