How To Change Size Of Textboxes For Mobile Version To Make Them Smaller

Feb 26, 2015

this is my css for the mobile version I was just wondering how I can change the size of the textboxes for the mobile version to make them smaller but don't change on the computer version? if you go here on the mobile version youll see what I mean URL... the code for the form is inside this class tag.

<section class="left-col">
</secion>

PHP Code:

/*--------MEDIA!!!-----------*/@media screen and (max-width: 478px){   body{    
font-size: 13px;    }}@media screen and (max-width: 740px){          nav {        
width: 100%;        margin-bottom: 10px;    }    nav ul{        list-style: none;        
margin: 0 auto;        padding-left: 0px;    }    nav ul li{        text-align:  center;        
margin-left: 0 auto;        width: 100%;        border-top: 1px solid #878E63;  

[Code]......

View 6 Replies


Similar Messages:

DataSource Controls :: Database Does Not Get Smaller Size?

Jan 15, 2010

I have a database that I just migrated data to. It has grown to 769MB from 13MB when I shrink it, it does not get any smaller. I don't think the amount of data should have made it grow that much. Could I be doing something wrong?

View 3 Replies

VS 2008 - Image Format To Save With Smaller File Size After Uploading With Website?

Aug 11, 2011

I have written a website and let the user upload their photo. It also resizes the picture to 400 x 400 and crops automatically to the center part of the picture. All of this works good but each file is about 355K each for JPG and PNG file formats. I just tried GIF and it is 49K but the picture is grainy when saved this way. Is there any way I can get the picture to a smaller file size with keeping it at 400 x 400? I really thought PNG would be the way to go and was surprised by it being the same as jpg. I don't want to lower the quality either for JPG files.

View 1 Replies

AJAX :: Can't Make Editor's Height Smaller Than 200px

Mar 19, 2010

Ive downloaded AspNetAjaxLibraryBeta0911 and have added both System.Web.Ajax.dll and AjaxControlToolkit.dll from the webforms/debug folder to my [ASP.NET web app] project. I have also added the latter dll to my toolbox. Ive dragged a ToolkitScriptManager onto my aspx page too, and it has created these two reference:

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="System.Web.Ajax" Namespace="System.Web.UI" TagPrefix="asp" %>

Is that right so far? Now I want to have a custom HTMLEditor, so I created a new folder "App_Code" and created a class calles CustomEditor.cs which has this content:

using AjaxControlToolkit.HTMLEditor;
namespace TestProj.App_Code
{
public class CustomEditor : Editor
{
protected override void FillTopToolbar()
{
TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold());
TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Italic());
TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Underline());
}
}

and then I added this to the aspx page:

<%@ Register namespace="TestProj.App_Code" tagprefix="custom" %>
and
<custom:CustomEditor ID="editorMsg" runat="server" />

Firstly, it works. But I have a few problems.

1) In CustomEditor.cs there is no intellisense, and pressing Ctrl + Space bring up no things like "TopToolbar" etc.

2) In the aspx page's designer code I had to add this manually: protected global::AjaxControlToolkit.HTMLEditor.Editor editorMsg; else it wouldnt come up in my code behind. Why isnt it automatically doing that? And is that correct?

3) No matter what I do I cannot make the editor's height smaller than 200px. I set it both inline and in code behind but it still overflows its container and goes to 200. I can however make it more than 200 and also width is fine. Heres a screenshot: [URL]

View 6 Replies

Web Forms :: Change CSS Font Size And Make Font Bold In DropDownList

Aug 9, 2012

I use this class for my DropDownList

  .DPCDDL {
float:left;
width:200px;
height:20px;
margin-top:1px;
font:bold 12px Tahoma;
}

In my dropdownlist just selected item font be (bold 12px)

I want that all item that are in my dropdownlist font be bold 12px  how i can do it?

View 1 Replies

How To Create Mobile Version Of Website

Sep 2, 2010

i have a web created on asp

And i want to make it mobile phone web, such that user can use it through his / her cell phone. I don't have any knowledge about XML And also i don't have knowledge of .NET. How can I do this?

View 2 Replies

WebMatrix :: Creating A Mobile Version From Website ?

Feb 13, 2011

creating a mobile version of the website I have created in WebMatrix. I have created the website and the email form and the data input forms and all seems to work ok with the SQL Server Compact 4 database, but I now want to create a version to run on my smartphone (it's a htc hd2 running windows mobile 6.5.3, though I think I may have to produce it to run on windows mobile 7 -feel free to comment).

There are some good tutorials out there for WebMatrix generally but I have yet to find anything covering the scenario above.

The other query relates to deploying the WebMatrix site. I know there is webhosting offered on WebMatrix, but I can't find a simple guide to what spec to be looking for in any package offering webhosting. (poor student looking for cheapest offer for trialling practise sites) I think I have come to the conclusion that if they offer Microsoft ASP.NET 4 then that should be ok for the Razor syntax and cope with the cshtml, and that at the basic level I am working at I don't need an SQL database as part of the hosting package as the compact travels as a file with the rest of the site.

View 4 Replies

How To Structure Website To Expose Mobile Version

Mar 11, 2011

Pretend i have an existing web-site, e.g.:[URL]i now want to expose a mobile version of this web-site:

m.stackoverflow.com
IIS, with its host-header name resolution, would normally require two web-sites to be created:
www.stackoverflow.com
m.stackoverflow.com

Except now i have two web-sites in IIS. This means i have to duplicate code/files between them. i don't need to (nor do i want to) duplicate all the "model" and "controller" code between two web-sites. i would much rather have one web-site that exposes a mobile version.

i could have the default page in m.stackoverflow.com simply perform a redirect to a mobile landing page on the "real" web-site:

m.stackoverflow.comdefault.asp:

<% Response.Redirect "www.stackoverflow.com/mobile" %>

Then the client will end up at (for example) www.stackoverflow.com/mobile/default.aspx.

This isn't what i want. i want it to appear to the browser that they are visiting m.stackoverflow.com.

So what i could do in IIS is have two host-header names for one IIS web-site:

stackoverflow.com
m.stackoverflow.com
and inspect the http-request HOST header: [URL]
Host: stackoverflow.com

[Code]....

View 1 Replies

Converting Existing Websites To Mobile Version?

Oct 15, 2010

I have a existing web site which is developed in Asp.Net / AJAX 3.5, C#, Now I need to make this site available in Mobile version.. and I came across an open source tool [URL]

But I am not sure How do I integrate.. this in my existing application...

Also my site is running in godaddy shared hosting server..

View 2 Replies

Mobiles :: Developing A Mobile Version Of A Web Application?

Feb 3, 2010

I currently have a ASP.NET web application that was designed for desktops/laptops. Now we need a mobile version of this application. I have never developed mobile application before and am looking for any good tips before i start. Things that i have been thinking about like how do you know when load the mobile version or the normal version.

View 2 Replies

Web Forms :: How To Create Mobile Version Of A Website

Aug 31, 2012

I have googled this topic and found lots of solutions like

[URL] ....
[URL] ....

But still I am confused how to start. I have made some asp.net websites in which i was applying JQuery, Ajax, webservices this technology. Now i want to make that website in a lighter mobile version(windows phone, android phone, tablet, iphone, other mobile device).

View 1 Replies

Strategy For Making A Mobile Version Of A EPiServer Site?

Feb 16, 2011

I am about to a client develop a mobile version of their EPiServer site. The mobile version should have different functionality than the regular but some content might be shared so that it won't have be maintained twice.

I'm thinking about using jQuery Mobile as the user interface system to reach as many users as possible with the same solution and possibly 51degrees.mobi for best detection of mobile devices.

Does anyone have any experience in how to do this with EPiServer? How to structure? I'm thinking of using a sub-node (/mobile) that gets hidden on the regular site but I'm not sure it's the best solution.

View 1 Replies

Performance - Creating A Mobile Version Of The Existing 3.5 Application?

Jan 12, 2011

I have an existing web application developed in Asp.Net F/W 3.5 and a mobile version of the same need to be created.

May i have some suggestions on:

How can i start with?.Some links & sites that would give me more clarity on how to approach this requirement. Is there any ASP.Net/iis features or Visual Studio option that ease this mobile version creation? As there are RadControls & Ajax used throughout the application, what should i be careful about? Will it require every form in the UI to be replaced and take the same time as the old UI creation? What all thinks should i be considering in the performance/optimization point of view?.

View 3 Replies

Mobiles :: Mobile Version Of A Website Which Using Ajax And Displays At 100% Width Via Css?

Feb 2, 2011

i have developed a mobile version of a website which using ajax and displays at 100% width via css.this displays and works fine on the HTC phones, i have a few issues below, i have read a few post saying you can preset the phones browser settings do you know how i can fix the problems below?iphone - my css width is 100% the iphone is scaling the site to a very small versionblackberry - ajax is not working

View 1 Replies

How To Detect Mobile Wap Browser And Its Screen Size

Jan 28, 2011

i have mobile website.. in this i need to detect mobile wap browser and its screen size or resolution.. so then my website b displayed accordingly.

detecting wap browser and screen size and also i would i like to know how can i open my website according to the screen size?

View 4 Replies

Social Networking :: Mobile Version Post Publish And Share Facebook

Aug 28, 2013

Post Publish and Share content on user’s FaceBook Wall or Timeline using Graph  does not work on the mobile version.

Redirects to a page with an error, the desktop version works on mobile no, is how to fix it

View 1 Replies

Mobiles :: Obtain Mobile Device Screen Size?

Mar 16, 2010

I am trying to get the screenHeight and width:

[Code]....

but this is always show that the Height is 480 & the width is 640

I am trying on HTC with Opera Mobile 9.5

View 10 Replies

VS 2008 - Setting Screen Size For Mobile Phones

Sep 26, 2011

I have read many pages on detecting mobile phones but my question is for setting the screen size for this. I can easily made the screen the same size as my mobile phone but on some devices you still have to zoom in to see it. Is this mainly on the device side that needs to be set? Is there any way to tell the device to show the page zoomed in?

View 10 Replies

Mobiles :: Best Screen Size For Web Application Designed For Mobile Phones?

Feb 17, 2010

Im creating av web applications intended to be used by all kinds of mobile phones. which screen size I should design for?

View 5 Replies

Using 2 Drop Down Lists To Display Dress Size By Country Version?

Nov 20, 2010

I have a Dress Version Table with Colums UK, EU, USA.

Also a Dress Size table which has a VersionId Column corresponding to the Version Table

On my aspx, i have two drop down lists. DD1 is binded to an objectdatasource which

has a select Method to the DAL and retrives the 3 Verions.

DD2 has Get DressSize by Version Method with a Select Parameter which is the DD1 selected Value.

I have wrapped the above in an update panel and the full code is below.

This works but I wonder if there is a better way of doing this?? I also have a probem in that the Dropdowns are in a panel that is within a modal pop up extender. When the dropdowns post back the whole panel disappears. Not sure why??

Dress Size:

</p>
<asp:UpdatePanel ID="UpdatePanel2"
runat="server">
<ContentTemplate>

[Code]....

View 1 Replies

Forms Data Controls :: How To Set The Font Size For All GridView Textboxes In Edit Mode

Aug 11, 2010

How do you set the font size for all GridView textboxes in Edit mode other than templating each. I have the font size for the GridView set <asp:GridView

ID="GridView1"
....... "x-small" but when I call the Edit mode the font defaults to medium.

View 4 Replies

Mobiles :: Looking To Make Web App Mobile

Jan 17, 2011

I'm looking into making some of an asp.net app available from smart phones and iPhone. I'm using Visual Web Dev 2008 and .net 3.5 sp1. Can we use the same forms and controls for the mobile screens?

View 2 Replies

Mobiles :: How To Make Version Of Company Website

Sep 1, 2010

I'm about to begin creating a mobile version of our company's website, and I have some questions. I've spent many hours reading and researching online, but I can't find some of the answer I need.

1. How can I test a mobile website locally? Are there emulators I can download? Can I plug a phone into my PC and test from the device? I'd like to see how the website looks on the device locally so I can make changes accordingly.

2. With the different screens and resolutions on mobile devices, what is the best width to use for the page layout? Is there a set width of pixels that is a standard to follow, or should it be set at 100%?

3. What is the best way to handle mobile browser detection? So far I've found that I should add code to the Page_Load event of the Master page of our website that checks Request.Browser.IsMobileDevice and redirects to the mobile site if this returns true. Is this the best way?

View 7 Replies

Web Forms :: How To Make Empty Multiple Textboxes

Nov 4, 2010

i have 5-6 textboxes in a panel. i want to make all textboxes empty on a button click.

View 6 Replies

VS 2008 - How To Make ASPX Page With Textboxes

Sep 21, 2010

I want to make ASPX page with textboxes and dropdown to insert the data into the database and Gridview to display all the data. I wnat some good designs, how can I make the page more attractive with just textboxes,dropdown ,buttons and gridview.

Do somebody have good aspx page, paste just the design here.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved