# Quick CSS Page Margins ?uestion

**URL:** <https://forum.kirupa.com/t/quick-css-page-margins-uestion/116606>\
**Category:** Uncategorized\
**Created:** [July 19, 2004, 10:51pm UTC](https://forum.kirupa.com/t/quick-css-page-margins-uestion/116606 "2004-07-19T22:51:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GOLGO\_13](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@GOLGO\_13](https://forum.kirupa.com/u/GOLGO_13)\
**Post date:** [July 19, 2004, 10:51pm UTC](https://forum.kirupa.com/t/quick-css-page-margins-uestion/116606/1 "2004-07-19T22:51:13Z")

</div>

\*\*hey! \*\*  
i’ve got a linked style sheet thats not acting the way i want it too. i want to set all the page marigins to zero and added the following code to my style sheet:

```auto
 <style> 
 
body
{ 
 margin-top: 0px; 
 margin-bottom: 0px; 
 margin-left: 0px; 
 margin-right: 0px 
}

p
{ 
 background: yellow; 
 font-family: courier 
}

 
</style>

```

now… the **\< p \>** styles are working just fine… so i must be doing something wrong, or using the wrong code to effect the page margins. what do i need to do differently? \*\*thanks! :block: \*\*
