473,466 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Small Screen Rendering : Forcing It

Hi. I wonder if it's possible to "force" a browser to "switch to SSR
mode" for any given document. Specifically, I'm looking for a
solution, not to a User Agent issue (i think), but a coding idea; a
programming "what if..?".

i'm not concerned w/ manipulating a browser (i.e. prefs., settings
this URL, always view SSR, save), but rather something i would code
into the document which would request the browser to display in this
mode (i.e. < link rel.. .or, < div id=SSR where SSR would be
declared by CSS, or perhaps javascript to manipulate the DOM (or
control the browser outside of simply parsing the stylesheet), or some
XML/ SGML markup, etc. whatever presents a possible solution)
...to present a document which, when viewed, will always display in a
sort of SSR style ("always" meaning whenever possible as dictated by
current browser-meets-coding technology).

Thanks for reading this convoluted mess, and for any input you might
have. I really have no knowledge of "how SSR works". if anyone thinks
there's a "posiblity", a URL to something instructional about SSR
would be excellent.

thanks!

Mar 11 '07 #1
4 3642
Scripsit AT******@gmail.com:
I wonder if it's possible to "force" a browser
It isn't.
to "switch to SSR mode" for any given document.
To get an answer to the better question whether it is possible to suggest
that a browser switch to SSR mode, you need to define what you mean by SSR
mode. Your message body doesn't even include an expansion of the TLA!
i'm not concerned w/ manipulating a browser (i.e. prefs., settings
this URL, always view SSR, save), but rather something i would code
into the document which would request the browser to display in this
mode (i.e. < link rel.. .or, < div id=SSR where SSR would be
declared by CSS, or perhaps javascript to manipulate the DOM (or
control the browser outside of simply parsing the stylesheet), or some
XML/ SGML markup, etc. whatever presents a possible solution)
..to present a document which, when viewed, will always display in a
sort of SSR style ("always" meaning whenever possible as dictated by
current browser-meets-coding technology).

Thanks for reading this convoluted mess,
It doesn't help that we read it. You need to formulate your question
sensibly. Use short sentences, about two short lines or so. Explain first
what you mean, then perhaps what you don't mean.
I really have no knowledge of "how SSR works".
So what could you possibly mean by "forcing" a browser to "switch to SSR
mode"? You could just as well have asked how to force a browser into YOICR
mode.

While waiting for a sensible question, herea are answers to two questions
that you _might_ have meant:

1) The element <link rel="stylesheet" type="text/css" media="handheld"
href="hh.css"says that the rules in hh.css should be used if and only if
the browsers works on a handheld device, which is typically characterized by
a small display area and other restrictions. At present, some specialized
browsers as well as Opera supports this idea, while others would just ignore
that stylesheet.

2) You can simulate a small screen setting up a stylesheet that restricts
the canvas, e.g.
html { margin: 0; padding: 0; }
body { width: 300px;
height: 200px;
overflow: auto;
margin: 0;
padding: 2px 4px;
border: solid #333 2px; }
(though you can basically achieve the same by using a small window)
and then you can CSS rules that you regard as suitable for such rendering.
You would probably first want to make headings use the same font size as
copy text, or just a little larger.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
(YOICR = Yucca's Own Idea of Correct Rendering)

Mar 11 '07 #2
Thanks, Yucca!
This is helpful-- at least as much as i'd hoped to learn.

what is TLA, and what does it mean to have "...an expansion of the
TLA" ?

btw-- thanks for all the char. encoding bits; research you've
published. i find it amusing that i've recently ref'd your web site in
an article elsewhere.

my apologies for dumping garbage all over the list. ;)
many thanks.

On Mar 11, 5:34 am, "Jukka K. Korpela" <jkorp...@cs.tut.fiwrote:
Scripsit ATS16...@gmail.com:
I wonder if it's possible to "force" a browser

It isn't.
to "switch to SSR mode" for any given document.

To get an answer to the better question whether it is possible to suggest
that a browser switch to SSR mode, you need to define what you mean by SSR
mode. Your message body doesn't even include an expansion of the TLA!
i'm not concerned w/ manipulating a browser (i.e. prefs., settings
this URL, always view SSR, save), but rather something i would code
into the document which would request the browser to display in this
mode (i.e. < link rel.. .or, < div id=SSR where SSR would be
declared by CSS, or perhaps javascript to manipulate the DOM (or
control the browser outside of simply parsing the stylesheet), or some
XML/ SGML markup, etc. whatever presents a possible solution)
..to present a document which, when viewed, will always display in a
sort of SSR style ("always" meaning whenever possible as dictated by
current browser-meets-coding technology).
Thanks for reading this convoluted mess,

It doesn't help that we read it. You need to formulate your question
sensibly. Use short sentences, about two short lines or so. Explain first
what you mean, then perhaps what you don't mean.
I really have no knowledge of "how SSR works".

So what could you possibly mean by "forcing" a browser to "switch to SSR
mode"? You could just as well have asked how to force a browser into YOICR
mode.

While waiting for a sensible question, herea are answers to two questions
that you _might_ have meant:

1) The element <link rel="stylesheet" type="text/css" media="handheld"
href="hh.css"says that the rules in hh.css should be used if and only if
the browsers works on a handheld device, which is typically characterized by
a small display area and other restrictions. At present, some specialized
browsers as well as Opera supports this idea, while others would just ignore
that stylesheet.

2) You can simulate a small screen setting up a stylesheet that restricts
the canvas, e.g.
html { margin: 0; padding: 0; }
body { width: 300px;
height: 200px;
overflow: auto;
margin: 0;
padding: 2px 4px;
border: solid #333 2px; }
(though you can basically achieve the same by using a small window)
and then you can CSS rules that you regard as suitable for such rendering.
You would probably first want to make headings use the same font size as
copy text, or just a little larger.

--
Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
(YOICR = Yucca's Own Idea of Correct Rendering)

Mar 12 '07 #3
Stanley Tweedle wrote:
>
what is TLA, and what does it mean to have "...an expansion of the
TLA" ?
http://en.wikipedia.org/wiki/TLA

HTH
--
John
Mar 12 '07 #4
In our last episode,
<11**********************@t69g2000cwt.googlegroups .com>, the lovely and
talented Stanley Tweedle broadcast on comp.infosystems.www.authoring.html:
Thanks, Yucca!
This is helpful-- at least as much as i'd hoped to learn.
what is TLA,
Three Letter Acronym.
and what does it mean to have "...an expansion of the
TLA" ?
You kept referring to "forcing SSR mode." Aside from "forcing a browser"
being absurd, you never said what "SSR" meant.

Silly Slow Rendering?
Soviet Socialist Republic?
Silent Sustained Reading?
Same-Sex Relationship?
Sharp Shooting Rangers?
Solid State Relay?
--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 680 days to go.
Mar 12 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: g pavlov | last post by:
W3C recommendations notwithstanding (see http://w3.org/TR/html401/appendix/notes.html#notes-tables) I can't seem to persuade either of the leading browsers to do true incremental table loading....
48
by: David J Patrick | last post by:
I'm trying to rewrite the CSS used in http://s92415866.onlinehome.us/files/ScreenplayCSSv2.html. using the w3.org paged media standards as described at http://www.w3.org/TR/REC-CSS2/page.html ...
0
by: Matt Feinstein | last post by:
Poking around in the PyOpenGL tarball... I can see that the wrapper for the WGL pixel format function includes flags for rendering to a bitmap and for hardware acceleration... so maybe I could get...
5
by: Patrick De Ridder | last post by:
My program produces a number of overviews, for which I use different forms, which are displayed. These forms are displayed at certain positions on the screen. I don't want the user of the program...
4
by: Nacho Nachev | last post by:
Hello, AFIAK ASP.NET (1.1) uses a technology called 'Adpative Rendering' to output HTML that is compliant with the client browser or at least stick to HTML 4 specification or IE. This seems...
1
by: erpoczta | last post by:
Hi I'm trying to set up otrs on windows small businness server on IIS 6.0. When I set perl.exe for .pl extension in IIS manager I see login screen but when I try to login I get cgi error The...
7
by: mikenotmike | last post by:
Great to find this place, found some help here already so I thought I'd pose this question here... I'm trying to position a DIV to be in an EXACT location, I have it padded from a DIV anchor...
58
by: Don Li | last post by:
I've tried <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"> or <body...
10
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.