J
Jorgen
I want to place a graphic in the horizontal center of the page by using a
class “.graphic†from my “body.cssâ€
Then I want to place the graphic with a negative margin during printing by
means of another class “.graphic†from my “print.cssâ€
I have tried to the following:
Style sheet body.css
..graphic{
align:center;
}
and the following code in the webpage
<div class=" graphic ">
<img border="0" src="../images/seats/seats.gif" width="701" height="345">
</div>
But it does not influence the position af the graphic. It is located to the
left margin.
class “.graphic†from my “body.cssâ€
Then I want to place the graphic with a negative margin during printing by
means of another class “.graphic†from my “print.cssâ€
I have tried to the following:
Style sheet body.css
..graphic{
align:center;
}
and the following code in the webpage
<div class=" graphic ">
<img border="0" src="../images/seats/seats.gif" width="701" height="345">
</div>
But it does not influence the position af the graphic. It is located to the
left margin.