[WEB4LIB] Re: Font Size Within Input Text Box
Luck, Deanne
LuckDL at apsu.edu
Fri Oct 12 17:20:14 EDT 2001
On a somewhat related note, could anyone tell me how to change the font of
ONE option in a select box? I want to make a sort of header, but
experimenting with CSS has gotten me nowhere. What I want to do is make
"Information by subject" and "Jump to database" on our home page
(http://library.apsu.edu/) look more like the other options on the side bar.
Thanks,
DeAnne Luck
Electronic Resources Librarian
Austin Peay State University
LuckDL at apsu.edu
-----Original Message-----
From: cynthia_larson at aurora.org [mailto:cynthia_larson at aurora.org]
Sent: Thursday, October 11, 2001 2:12 PM
To: Multiple recipients of list
Subject: [WEB4LIB] Re: Font Size Within Input Text Box
Martin-
Try using a style sheet with the following parameters set:
TEXTAREA {font-size: 10pt; font-family: Verdana, Helvetica, sans-serif;}
FORM {font-size: 10pt; font-family: Verdana, Helvetica, sans-serif;}
INPUT TYPE, TEXT {font-size: 10pt; font-family: Verdana, Helvetica,
sans-serif;}
You need to specify the form fields as a specific style type rather than
just the table properties.
Cindy
Cynthia Larson
Coordinator, Library Systems
Aurora Health Care
Milwaukee, Wisconsin
414-649-7371
Martin Courtois <courtois at gwis2.circ.gwu.edu>@webjunction.org on
10/11/2001 01:44:12 PM
Please respond to courtois at gwis2.circ.gwu.edu
Sent by: web4lib at webjunction.org
To: Multiple recipients of list <web4lib at webjunction.org>
cc:
Subject: [WEB4LIB] Font Size Within Input Text Box
Can someone suggest a way to adjust font size within a form input text box
in Internet Explorer? I also need to adjust the size of other form
elements, such as a select lists and "submit" buttons.
I'm able to do this in Netscape fairly easily. On the page in question,
the <input type> and <select> tags appear within <td> tags. So, in the
<style> tags, we declared a font-size for td. Changing this font-size
value changes the size of all form elements.
But, this approach isn't working with IE. Changing the font-size has no
effect on the size of form elements. I'm using Netscape 4.75 and IE
5.5.
Here are the URLs for our working pages:
IE version: http://www.gwu.edu/gelman/tutorial/wrlcmain_msie.html
Netscape version: http://www.gwu.edu/gelman/tutorial/wrlcmain_nn.html
Why do I want to do this? If you look at the URLs above, you can see
we're trying to take screen shots (.gif images) of database interfaces
(Lexis-Nexis, OPAC, etc.) and use layers to overlay form elements that
will enable the user to input text, select items, and click on submit
buttons. We want to be able to re-size these elements to match the screen
shot, many of which we will need to reduce from their original size. You
can see a good example of this approach in Chris Niemeyer's "OVID
Abstracts Tutorial"
(http://www.umsl.edu/services/libteach/ovid/mod1ov.htm) at University of
Missouri-St. Louis. The whole idea is to make the .gif look like an
"live" session in the database, but it gives us more of an opportunity to
control users' experiences and to provide feedback.
Thanks for your help. If I receive individual responses, I'll summarize
for the list.
Marty
***********************************************************
Martin Courtois
Science/Engineering Librarian
Gelman Library
George Washington University
2130 H St., N.W.
Washington DC 20052
Phone: (202) 994-0684
FAX: (202) 463-6205
E-mail: courtois at gwu.edu
More information about the Web4lib
mailing list