PDA

View Full Version : EXT 3.0 print css



ValterBorges
10 Aug 2009, 5:44 PM
Hi All,
Wondering if anyone has a IE7/8 tested style sheet based on the 3.0 ext css but with media print styles as such: I've been going thru and adding media print to the stylesheet and testing on form elements.




@media print{
.x-form-empty-field {
visibility:hidden;
}
}

@media screen{
.x-form-empty-field {
color:gray;
}
}




@media print
{
.x-form-text, textarea.x-form-field{
padding:1px 3px;
background:repeat-x 0 0;
border:0px solid !important;
}
}

@media screen
{
.x-form-text, textarea.x-form-field{
padding:1px 3px;
background:repeat-x 0 0;
border:1px solid;
}
}





If anyone already has a good working version please share, otherwise i will post a working copy for IE7 in a few days.

Thanks: