# Setting Margins to 0 in PHP? (Should be simple)

**URL:** <https://forum.kirupa.com/t/setting-margins-to-0-in-php-should-be-simple/31433>\
**Category:** Uncategorized\
**Created:** [September 22, 2003, 8:57pm UTC](https://forum.kirupa.com/t/setting-margins-to-0-in-php-should-be-simple/31433 "2003-09-22T20:57:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtesp](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jtesp](https://forum.kirupa.com/u/jtesp)\
**Post date:** [September 22, 2003, 8:57pm UTC](https://forum.kirupa.com/t/setting-margins-to-0-in-php-should-be-simple/31433/1 "2003-09-22T20:57:29Z")

</div>

Hello there, I’m a NewBie at PHP so don’t laugh! How do I set the margins to 0 in a PHP page?  
Here’s the code I have:

```php
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<?php include ("header.php"); ?>
<?php include ("main.php"); ?>
<?php include ("footer.php"); ?>

```

It DOES work, but in Dreamweaver’s Design view, it says:  
Untitled Document \</head\>  
The \</head\> is highlighted in yellow…but when previewing in IE, everything looks fine. I just want to code it correctly 🙂  
Thanks!
