# Php include to eliminate hassle

**URL:** https://forum.kirupa.com/t/php-include-to-eliminate-hassle/175169
**Category:** Uncategorized
**Created:** [January 12, 2006, 6:11am UTC](https://forum.kirupa.com/t/php-include-to-eliminate-hassle/175169 "2006-01-12T06:11:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xposed](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/xposed/32/1641_2.png) [@xposed](https://forum.kirupa.com/u/xposed)
#### Post date: [January 12, 2006, 6:11am UTC](https://forum.kirupa.com/t/php-include-to-eliminate-hassle/175169/1 "2006-01-12T06:11:40Z")

</div>

ok so I wanted to do a php include and include a php file that would be a navigation element that is 700W by 20H tall and then insert it in to a table on the main page

Here is what I get

[http://www.ankenymusicstudios.com/Vision%20Clinic%20of%20Ankeny/indexnewnav.php](http://www.ankenymusicstudios.com/Vision%20Clinic%20of%20Ankeny/indexnewnav.php)

[http://www.ankenymusicstudios.com/Vision%20Clinic%20of%20Ankeny/](http://www.ankenymusicstudios.com/Vision%20Clinic%20of%20Ankeny/)

and that is the normal page, I use the same thing for the footer, and it seems to be ok. One thing i notice is that when I load the php file it is always 50 pixels from the left, how can I get this thing to be snug up to the top left corner of the screen

[http://www.ankenymusicstudios.com/Vision%20Clinic%20of%20Ankeny/navigation.php](http://www.ankenymusicstudios.com/Vision%20Clinic%20of%20Ankeny/navigation.php)

I’d also like to get rid of the spacing between the links and the bar below them so they are right on top of one another.
