Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-04-2008, 06:09 PM   PM User | #1
nikko50
Regular Coder

 
Join Date: May 2004
Posts: 380
Thanks: 63
Thanked 0 Times in 0 Posts
nikko50 is an unknown quantity at this point
print style sheet

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?

Code:
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;
}
nikko50 is offline   Reply With Quote
Old 11-04-2008, 06:39 PM   PM User | #2
bazz
Master Coder

 
Join Date: Apr 2003
Location: in my house
Posts: 5,211
Thanks: 39
Thanked 201 Times in 197 Posts
bazz will become famous soon enoughbazz will become famous soon enough
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: -

Code:
p {
font-size:1.5em;
}
bazz
__________________
"The day you stop learning is the day you become obsolete"! - my late Dad.

Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
Useful MySQL resource
Useful MySQL link
bazz is offline   Reply With Quote
Old 11-04-2008, 06:47 PM   PM User | #3
itsallkizza
Senior Coder

 
Join Date: Oct 2008
Location: Long Beach
Posts: 1,196
Thanks: 36
Thanked 164 Times in 164 Posts
itsallkizza will become famous soon enough
If you mean <input type="text" class="txt" />s:
Code:
input .txt
{
color: #ff0000;
/* etc */
}
If you mean <textarea></textarea>s:
Code:
textarea
{
font-family: arial,sans-serif;
/* etc */
}
A few ideas for textarea styling: http://css-tricks.com/creating-a-nice-textarea/
itsallkizza is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:52 PM.


Advertisement
Log in to turn off these ads.