...

View Full Version : print style sheet



nikko50
11-04-2008, 07:09 PM
Hi all I have a print style sheet and would like to know can I also style the text inside of textfields?? Below is some of the css I use to style my reports?


div.span {
font-size : 75px;
}

div.pland {
line-height: 130%;
}

p.labels {
font-size : 70px;
}

#breakafter {
page-break-after: auto;
}


div.span2 {
font-size : 175px;
}

bazz
11-04-2008, 07:39 PM
Oh Dear, I think that's another thing I have forgotten. :(

Remind me what textfields are? (Honestly, if they don't exist, I wasn't being sarcastic).

On the other hand, if you mean a block of text, perhaps surrounded by <p></p> tags, the you could use similar to what you have done already with p.labels{}

Just leave the class identifier off to have just: -



p {
font-size:1.5em;
}


bazz

itsallkizza
11-04-2008, 07:47 PM
If you mean <input type="text" class="txt" />s:


input .txt
{
color: #ff0000;
/* etc */
}


If you mean <textarea></textarea>s:


textarea
{
font-family: arial,sans-serif;
/* etc */
}


A few ideas for textarea styling: http://css-tricks.com/creating-a-nice-textarea/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum