Shoutbox

CSS Stylesheet help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: CSS Stylesheet help (/showthread.php?tid=29644)

CSS Stylesheet help by king_of_cool_kids on 08-07-2004 at 09:21 PM

I have a problem:

code:
<style type="text/css">
input.formwidth {width:100%}
</style>
<input type="file" class="formwidth" name="filename">
It doesn't work in firefox. Any ideas why??

Thanks in advance.
RE: CSS Stylesheet help by lopardo on 08-07-2004 at 09:32 PM

Because that isn't actually supported by the standards. Check this page.

quote:
Property: width
Applies to: DIV, SPAN and replaced elements

RE: CSS Stylesheet help by king_of_cool_kids on 08-09-2004 at 10:38 PM

Hmm, ok. well I tried a whole lot of atributes, such as:

code:
<input type="file" div-stretch=100% name="filename">

<input type="file" width="100%" name="filename">

<input type="file" length="100%" name="filename">

<input type="file" maxlegth="100%" name="filename">
but none seem to work. Is there any other solution??
RE: CSS Stylesheet help by Tochjo on 08-09-2004 at 10:55 PM

Tried size?
http://www.w3.org/TR/html4/interact/forms.html#h-17.4


RE: CSS Stylesheet help by king_of_cool_kids on 08-09-2004 at 11:11 PM

Thanks so much. It works. :D