473,698 Members | 2,554 Online
Bytes | Software Development & Data Engineering Community
+ 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 3664
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"sa ys 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.tu t.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"sa ys 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************ **********@t69g 2000cwt.googleg roups.com>, the lovely and
talented Stanley Tweedle broadcast on comp.infosystem s.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
5409
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. Neither responds to COL/COLGROUP tags. I have a very large data table which is being generated in J/ECMA/JavaScript dynamically. I want to give the user some top rows while the bottom rows are still loading. Without true incremental table...
48
8702
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 The ScreenplayCSS is flawed, for several reasons; -overuse of <div id= tags -doesn't scale screen resolutions (convert from px to in, pt ?) -no media="print" (how much coule be shared between "screen" & "print") -no automatic page breaks (with...
0
1293
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 hardware-accelerated off-screen rendering under win32.. but what about linux? Matt Feinstein -- There is no virtue in believing something that can be proved to be true.
5
1974
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 to start moving them about. Is there a way to fix displayed forms on the screen so they cannot be moved about? Thanks.
4
1761
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 to be quite a problem for me. I have HTML output for Mozilla that has missing style attribute in list boxes and buttons and my layout seems crappy. If I save the HTML that comes for IE and open the file with Mozilla everything seems correct.
1
4716
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 specified CGI application misbehaved by not returning a complete set of HTTP headers. I've changed perl.exe to perlis.dll for .pl extension and then browser has returned html source instead of rendering it. I've also tried the 3rd method...
7
6532
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 located at the top of the screen, so I can go down and left/right with complete control. I'm using it to mount my search box exactly inside a menu bar, tables were forcing the height of the menu to expand to much, so I thought this would be a good...
58
5753
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 style="font-family:Verdana,Arial,Helvetica;font-size:80%;"> to no avail. In IE7 it shows up as Medium. What did I do wrong? Thanks.
10
44078
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 screen. I used to write code in Java a few years ago (2005), and you could stretch a form with the mouse and all the controls and fonts would resize to larger or smaller size. Does .Net framework 3.5 support this kind of functionality? Or -...
0
8612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9032
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
8905
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
7743
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
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
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2008
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.