Hey
I have a drop down box for font size. I want to show user how big the font will be if he selectes number 4 for example.
<option value="1" style="font-size:8pt">1</option>
<option value="2" style="font-size:10pt">2</option>
<option value="3" style="font-size:12pt">3</option>
<option value="4" style="font-size:14pt">4</option>
<option value="5" style="font-size:18pt">5</option>
<option value="6" style="font-size:24pt">6</option>
<option value="7" style="font-size:36pt">7</option>
This ain't working with IE5+, tested on FireFox and there it is working... but on firefox there's also a problem, see this pic: <!-- m --><a class="postlink" href="http://freeweb.siol.net/astokel/Image2.png">http://freeweb.siol.net/astokel/Image2.png</a><!-- m -->
The right box is resized, that's the font size box...
So how to create this without resizing the font size box and that this will also work in IE?
Any tips...?It'll never work in IE <= 6. Maybe 7. But then it will probably work like Firefox does now. I'd recommend using something outside the pick list to be a font-size example. The label for the select, e.g.
I have a drop down box for font size. I want to show user how big the font will be if he selectes number 4 for example.
<option value="1" style="font-size:8pt">1</option>
<option value="2" style="font-size:10pt">2</option>
<option value="3" style="font-size:12pt">3</option>
<option value="4" style="font-size:14pt">4</option>
<option value="5" style="font-size:18pt">5</option>
<option value="6" style="font-size:24pt">6</option>
<option value="7" style="font-size:36pt">7</option>
This ain't working with IE5+, tested on FireFox and there it is working... but on firefox there's also a problem, see this pic: <!-- m --><a class="postlink" href="http://freeweb.siol.net/astokel/Image2.png">http://freeweb.siol.net/astokel/Image2.png</a><!-- m -->
The right box is resized, that's the font size box...
So how to create this without resizing the font size box and that this will also work in IE?
Any tips...?It'll never work in IE <= 6. Maybe 7. But then it will probably work like Firefox does now. I'd recommend using something outside the pick list to be a font-size example. The label for the select, e.g.