changing size of dropdown text

M

Matt Shudy

Hi,

I am trying to set the size of all my text using single
css commands. I am using
<font style="font-size: 16px"> Text </font>
for normal font, and that works fine.
Is there a way to specify the size in pixels of the text
inside a drop down box?

Thanks,

Matt
 
S

Steve Easton

Create a class within in your css file,
for example.

..ddclass{
font size: whatever you want;
{

then add class="ddclass"
to the html tag that contains the dd form.

example;
<form class="ddclass" or <table class="ddclass"

Note that the period is used when defining the class in css,
but is not used when adding the class= to the html tag.

hth
 
M

MD WebsUnlimited.com

Hi Matt,

Yes.

<style>
<!--
..test { font-size: 18pt }
-->
</style>
</head>

<body>

<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="http://www.fpplus.com/order/_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><select size="1" name="D1" class="test"></select><input type="submit"
value="Submit" name="B1" ><input type="reset" value="Reset" name="B2"></p>
</form>
 
Top