css background image fix


hi

 

i have css code adds png image webpage. problem white edges appear when page uploaded server.

 

body {

    background: url(images/plate.png) no-repeat;

    background-position: center top;

    font-family: arial, helvetica, sans-serif;

    font-size: 12px;

   

}

 

the pngs core content 920 in width. in edges these design space. how can have design space cover whole page out white spaces in edge.

 

thanks.

tony404 wrote:

 

 

body {

    background: url(images/plate.png) no-repeat;

    background-position: center top;

    font-family: arial, helvetica, sans-serif;

    font-size: 12px;

 

}

 

add 'body' css:

 

margin: 0;

 

padding: 0;

 

 

body {

    background: url(images/plate.png) no-repeat;

    background-position: center top;

    font-family: arial, helvetica, sans-serif;

    font-size: 12px;

margin: 0;

padding: 0;

 

}



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support