Forum Moderators: open

Message Too Old, No Replies

It puts fonts ( Verdana, Times New Roman)

In a select with fonts visualization?

         

romzinho2k7

5:52 am on May 21, 2006 (gmt 0)

10+ Year Member



Good night friends, all right?

I want to simulate source and sources size inside a <select>. Am using script below:

<style type="text/css">
option.small { font-size: small; }
option.medium { font-size: medium; }
option.large { font-size: release; }
</style>

<select>
<option class="small">small</option>
<option class="medium">medium</option>
<option class="releases">releases</option>
</select>

But in the Internet Explorer does not work, only in the firefox.

How can do to he work on IE?

It has an Editor (FCKEditor.net) he simulates exactly what I wanted, he relation the font that is going to use, text and formatting size.

OBS: Despite I have done in CSS, do not know we are with JavaScript of the to do what want. Summarizing, it wanted in the box of select was possible to visualize the source how she is

Sorry my bad english

Thanks

Rambo Tribble

12:21 am on May 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are a variety of CSS style rules that some browsers won't apply to forms elements. You may be stuck having to simulate the select in order to get the styling you want.