I believe that when coding for mobile devices the style attribute is deprecated and you have to put everything in classes in css.
Try that and by all means if thats true, confirm that for me. Date: Tue, 6 Jul 2010 19:34:33 -0500 From: [email protected] To: [email protected] Subject: Re: [Design with CSS 2980] Styling forms for Windows Mobile 6 Only other thing I'd consider trying would be try setting a min-width: in your css input.it { min-width: 300px; } -- Brandtley On 7/6/2010 5:46 PM, Kevin A. Cameron wrote: Here's the entire code (http://pastebin.com/aV1xA823) <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>SearchTest</title> </head> <body style="background-color:#f0f;"> <form> <input class="it" style="width:320px;position:absolute" type="text" value="bigger" /> </form> </body> </html> Looks no different than with width:300px, or 215px for that matter. It looks like that is the max it will let the text input be. I know how to count px ;) Kevin On Mon, Jul 5, 2010 at 10:34 AM, Brandtley McMinn <[email protected]> wrote: You can try setting the <input> element's CSS position: attribute to absolute and see if that fixes your 'fixed-width' issue. Then you would know if the nesting issue is really your problem. Hope this helps, -- Brandtley McMinn - Creative Director Gigglebox Studios XD [email protected] 512.406.1666 On 7/5/2010 12:28 PM, Martin wrote: My post was not meant to show you a solution but to prove to you that there is nothing baked into the input element. You should also read the rest of my answer and check if the input element is nested within some other elements (probably divs) which have a fixed width already. If you still don't get it, provide us with more code. Best regards, Martin On 5 Jul 2010 18:09, "Kevin A. Cameron" <[email protected]> wrote: In my initial post you see I tried setting width with inline style using a specific value set in px -- no luck. It wont go any larger than about 4/5ths of the device screen width. Kevin On Sun, Jul 4, 2010 at 3:39 AM, Martin <[email protected]> wrote: > > Of course there is nothing baked into the input element. > > Just create a new test.html file wi... -- > -- > You received this because you are subscribed to the "Design the Web with CSS" at Google group... -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. T... -- -- 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] -- -- 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] -- -- 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] -- -- 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] _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 -- -- 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]
