Tuesday, 2. October 2007, 06:11:01
Why was the Single Column layout removed?
In this current version of Opera Mobile (v8.65), the Single Column layout option was removed. I've recently created a layout for a client of mine which worked fine when viewed in that mode (by using the CSS mediatype 'handheld'), however with the new version this is no longer an option. So why was this removed? It is not stated why in the changelog.Also is there any way to enable the CSS mediatype 'handheld' without resorting to reading the client's User Agent string?
Tuesday, 2. October 2007, 15:03:11
single column was removed because the screen sizes are so big that a single column layout would result in only half the screen having content. So if you use a small screen (there is a threshold here), it will use the handheld style when 'Fit to screen' mode is enabled.
Fit to screen is the new single column,
can I see the layout you are talking about btw ?
Fit to screen is the new single column,
can I see the layout you are talking about btw ?
Wednesday, 3. October 2007, 06:15:37
Unfortunately, I cannot disclose the site's layout until it's finished. However I did manage to find a handheld media type test page. As you can see, Opera v8.65 doesn't seem to apply handheld CSS rules in any mode now, unlike before. I would prefer not to resort to reading the User Agent as it is a messy solution.
Wednesday, 3. October 2007, 07:35:08
it will apply the rules if they are necessary.
try the following with Opera 9.23 desktop;
Go to the testcase and View - Fit to width (Ctrl+F11), now grab the left side of your window and narrow the window until the width is so small the 'handheld' passes.
Do you see what is going on here ?
try the following with Opera 9.23 desktop;
Go to the testcase and View - Fit to width (Ctrl+F11), now grab the left side of your window and narrow the window until the width is so small the 'handheld' passes.
Do you see what is going on here ?
Wednesday, 3. October 2007, 20:15:49
Yea, I see now. However the mobile version doesn't allow window resizing and still displays the layout only with the screen media type style sheet. Is there no way that I can have the handheld media type load automatically (using CSS rules)? Reading the client's User Agent is a messy way to resolve the problem.
If any of the Opera Mobile team are reading this; is there anyway that you could add a option to load handheld style sheets if one is found (if not, fallback to screen) and have it set by default.
Thanks.
If any of the Opera Mobile team are reading this; is there anyway that you could add a option to load handheld style sheets if one is found (if not, fallback to screen) and have it set by default.
Thanks.
Forums » Opera Community » Opera for mobiles » Opera for Windows Mobile
