lobfredd Posted April 27, 2012 Share Posted April 27, 2012 Hello. i have created a template in dreamweaver, however when i added php code to a page the position of my bottom div got messed up... it works 100% with just text. I have a container div with other divs in it. inside the container div i have a div named content, and this div is the only div which is editable. in the bottom (outside of the container div) i have a bottom div which is centered with margin:0 auto; this divs position gets totally messed up once i add php code in the content div. http://elevweb.skit.no/0111nema/action_adventure.php here is the link to the page with php with it, as u can see the div with facebook etc in it got a messed up position. Quote Link to comment https://forums.phpfreaks.com/topic/261701-div-position-messed-up-after-using-php-codes/ Share on other sites More sharing options...
litebearer Posted April 27, 2012 Share Posted April 27, 2012 It would be helpful if you showed us your code (use the php tags) Quote Link to comment https://forums.phpfreaks.com/topic/261701-div-position-messed-up-after-using-php-codes/#findComment-1341037 Share on other sites More sharing options...
scootstah Posted April 27, 2012 Share Posted April 27, 2012 Is that what it should look like? If so, removing the inline-style from the font tag did it. And really, don't use the font tag. That stuff should be handled with CSS classes. Quote Link to comment https://forums.phpfreaks.com/topic/261701-div-position-messed-up-after-using-php-codes/#findComment-1341090 Share on other sites More sharing options...
lobfredd Posted April 27, 2012 Author Share Posted April 27, 2012 Ah Many thanks!! have been struggling with this for days.. Quote Link to comment https://forums.phpfreaks.com/topic/261701-div-position-messed-up-after-using-php-codes/#findComment-1341166 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.