
September 27th, 2005, 04:36 AM
|
|
Contributing User
|
|
Join Date: Oct 2004
Location: Malaysia
Posts: 48
Time spent in forums: 14 h 54 m 11 sec
Reputation Power: 4
|
|
CSS help
I am getting frustrated with this CCS thingy, I want to set my page to print in landscape by default, but I couldn't get it work.
Here is my CSS:
Code:
@media print {
@page {
size: landscape;
}
div.noPrint {
display: none;
}
#footer
{
position: absolute;
bottom: 0;
padding: 10px;
width: 75%;
}
table.repclass
{
font-family: Tahoma;
font-size: 9px;
color: #000000;
border-left:#000000 1px solid;
border-top:#000000 1px solid;
}
table.repclass th
{
font-family: Tahoma;
font-size: 9px;
color: #000000;
background-color:#D9D9D9;
border-right:#000000 1px solid;
border-bottom:#000000 1px solid;
}
table.repclass td
{
font-family: Tahoma;
font-size: 9px;
color: #000000;
border-right:#000000 1px solid;
border-bottom:#000000 1px solid;
}
}
And I have this line in my HTML page:
Code:
<LINK REL="stylesheet" type="text/css" HREF="../new/css/print.css" media="print" />
Can someone help me to look through my CSS code? Thank you.
|