473,657 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get my mobile website to auto fit when viewed horizontally on a Smart Phone?

1 New Member
I have a mobile website that created and when I view it vertically on an iPhone it works fine. But when I flip my phone horizontally my webiste zooms in. How can I get it to auto fit my screen horizontally like it does vertically?
Mar 31 '11 #1
1 2619
drhowarddrfine
7,435 Recognized Expert Expert
You want to Google for "media queries". Sorry I don't have time to go into it now.
Mar 31 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1483
by: Phil Powell | last post by:
When I view the page (chat.php) in IE 6.0 the following code is utilized: if ($_COOKIE) { // OPEN UP A NEW WINDOW TO SHOW THE CHATROOM ob_start(); require_once("$ABSOLUTE_MYCGISERVER_PATH/$PATH/chat_open_room.php"); $html .= ob_get_contents(); ob_end_clean();
0
1997
by: terpatwork | last post by:
Hi, I've created a website that has mpg files embedded in static html pages as so: <embed src="filename.mpg" width="165" height="175" autostart="false"></embed> First off - I know this may not be the best way to do things, but is the only way my customer is allowing it to be done, so I can't change that.
0
1207
by: Jon S via DotNetMonster.com | last post by:
Hi all, I fancy developing a smart phone or pocket pc app. I'm currently a win-form vb6/c# programmer. Is there much difference between win-form and mobile development? ie do you just develop the app and then load onto a mobile device, the same way you develop an app and install on a desk/laptop PC? or is CE.NET or WM completely different to standard win-form programming?? As you can tell I'm a complete novice at mobile development. ...
3
2422
by: crjunk | last post by:
Currently I have a Crystal Report that automatically loads as a PDF in the browser whenever the user views the report. This is working great. What I would like to do is add code that automatically email this report to a specific address whenever the report is viewed. Is this possible? Here is the code that I'm currently using to view the report as a PDF. Private Sub LoadReport() If Session("LoggedIn") = True Then
2
1299
by: Troy Dot Net | last post by:
Hello All, We have an unusual problem that we've not seen before. We've developed a ..Net 2.0 site (via VS2005) that works great from within our network (we host the site and the SQL Server db). However, when it is viewed from outside our network (which we just started testing today), some of the pages (namely the ones with more than a hand full of controls) display for a split second but then immediately disappear (EXCEPT for the top...
4
1965
by: SJ | last post by:
I have a mobile web application running on a server at work. There is a strange thing happening though: 1) I can access and login to my mobile web app from any internet browser. (good thing). 2) I can access and login to my mobile web app from any Palm Treo web browser. (good thing). 3) When I use a regular mobile phone (samsung/motorola...etc) and load up my website on the browser, it takes me to the login page. Now, when I enter my...
0
1389
by: junaidhassan | last post by:
Hello, I m new in mobile application but now i have to deal with this. I want to create an application that run on window mobile in nokia sets. Application should be windows application (not browser based). User using its application take his/hers picture from its phone and enter its name and some description about him/her and then send him to a url. On that url this information can be get and enter in database. ...
1
1471
by: cday119 | last post by:
Hey In my database I have time formatted as a unix timestamp. I put that into a dataset. What is the best way to change those timestamps into a human readable date and time when the dataset is viewed in a datagridview. FANK!!! Chad
1
1730
by: SalimZaabi | last post by:
Hi everybody, Anyone can help me on developing an application for encrypting call from mobile phone? any documentation or website ??
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8730
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.