prakashkadakol
prakashkadakol

Reputation: 1237

css print on A4 Page

On print am getting textarea topborder and scroll i just wanna disable top border and scroll from printed page

Upvotes: 0

Views: 1565

Answers (1)

Anonymous
Anonymous

Reputation:

Oh, that's easy. In your stylesheet, just add this nifty little bit:

textarea{
    border:0;
    overflow:hidden;
}

Edit by Robert Pitt.

Would it not make more sense to specifically define the css within the print context:

@media print
{
    textarea
    {
        border:0;
        overflow:hidden;
    }
}

Upvotes: 1

Related Questions