NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ViggoPoulsen on July 10, 2012, 03:21:20 AM

Title: Mobile - button in full page width
Post by: ViggoPoulsen on July 10, 2012, 03:21:20 AM
Hi

I'm struggling with a problem about buttons. In the example Calculator (34) the Calculate button is full page width. This is what I want to do.
In the project I am working on I have 3 buttons on a netwebform (memory) whitch I want to behave like this but no matter what I try the buttons are of fixed sizes.  Problably some CSS thing that I cannot understand. Any hint to push me in the right direction are wellcome.

Best regards
Viggo Poulsen
Title: Re: Mobile - button in full page width
Post by: Bruce on July 10, 2012, 11:38:46 PM
>> the Calculate button is full page width.

it is? I'm not seeing that here (see attached pic).

but you're right, the button size is set with Css.
Have you loaded Firebug (www.getfirebug.com) into your Firefox browser,
then inspected the css for the button, and fiddled with possible changes?

cheers
Bruce


[attachment deleted by admin]
Title: Re: Mobile - button in full page width
Post by: ViggoPoulsen on July 11, 2012, 02:29:33 AM
Hi Bruce
The difference, as I see it, is that you look at it as a desktop program, but I use it as a mobile program. Please see attachment. Whatever width I make, the calculate button adjusts.

Thank you for explaining the firebug thing, I'll install it right away.

Best regards
Viggo Poulsen.

[attachment deleted by admin]
Title: Re: Mobile - button in full page width
Post by: Bruce on July 11, 2012, 04:11:29 AM
Sorry, I missed the "mobile" part of your question.

The setting that affects the button size is
"Button Compact in Mobile"
You want the setting off. (see attached pic.)

cheers
Bruce


[attachment deleted by admin]