On 4 Jul, 06:14, Kevin <[email protected]> wrote:
> So I'm having difficulty getting a input type=text being longer than
> about 250px. No matter what I try, (size="80", style="width:280px",
> style="width:100%") nothing seems to work. Is there some sort of baked
> in max to the width of these text fields?
All browser are supposed to come with a 'default style sheet'.
Browsers might also let the user select preset 'user stylesheets'. On
a mobile browser this might include a rules like:
div { width: auto !important }
input { max-width: 75% }
You could try to set 'max-width: 100%', in your inline style. If that
dosn't work try:
input { max-width: 100% }
in a <style>-element.
--
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]