I try to do all css with percents and ems (elastic/liquid)
so my displays look as much the same as possible,
regardless the user's screen resolution. But I (still)
never seem to get what I want. Compromises seem
to lurk at every moment.
==========Stati c html
for instance:
font-size: 10px; /* looks drastically different at 768 wide
compared to 1024 */
font-size: x-small; /* better than above, but seldom what I want */
font-size: 80%; /* I'm not sure what this does.....% is
percent of what?
Regardless the answer, this seems
to produce
badly pixelated fonts in some
browsers */
images are really trouble. A 700 pixel wide image that looks great
at
high resolution bombs the layout at 768 pixels wide.
With hand-typed html there is no happy solution. You have to make
lowest common denominator compromises, whether you like it or not.
========= Dynamic Html
However, If your html is generated dynamically, maybe the right thing
to do
is to make a "resolution selection menu" somewhere on each page--and
then
to keep track of state with sessions or cookies or both. Then you
could write
custom css for the 2-3 most common screen sizes.....and choose image
paths
from 2-3 differently sized image bins. Then you could make screens
that look
good all the way up from 800x600 up (800 wide still has 15% market
share).
This seems like such an obvious idea I'm surprised I don't ever see
it.
Does anybody know of any major or well-done sites that do this?
Or CMS systems that offer that feature?
......I may have to try adding this to my own little microCMS
I must be missing something obvious.......
Jan 17 '08
23 3396
On 2008-01-18, Jukka K. Korpela <jk******@cs.tu t.fiwrote:
Scripsit salmobytes:
>>But "salmobytes " was probably just trolling.
Perhaps I should have said: "I was having trouble with a complex, multi-panel site ...that I was able to get looking just fine at high res, but not at low res."
Perhaps you should stop inventing new ideas for trolling. Everyone and
his brother can see that you are just making things up as you go.
This is evident from your URL (that is, lack of it).
Why was a URL necessary? Salmobytes was asking if anyone knew of any
major or well-done sites that switch between alternative fixed-width
layouts. I don't see how that question would be better illustrated with
the help of a URL.
Scripsit Ben C:
Why was a URL necessary? Salmobytes was asking if anyone knew of any
major or well-done sites that switch between alternative fixed-width
layouts. I don't see how that question would be better illustrated
with the help of a URL.
If it had been a serious question, surely he or she would have told the
reasons and illustrated it with the URL of his or her current design,
demonstrating how it fails to work at different resolutions.
--
Jukka K. Korpela ("Yucca") http://www.cs.tut.fi/~jkorpela/
On 2008-01-18, Jukka K. Korpela <jk******@cs.tu t.fiwrote:
Scripsit Ben C:
>Why was a URL necessary? Salmobytes was asking if anyone knew of any major or well-done sites that switch between alternative fixed-width layouts. I don't see how that question would be better illustrated with the help of a URL.
If it had been a serious question, surely he or she would have told the
reasons and illustrated it with the URL of his or her current design,
demonstrating how it fails to work at different resolutions.
Rubbish. He or she might not even have a current design. It's still a
perfectly reasonable question without a URL.
In article
<0f************ *************** *******@s8g2000 prg.googlegroup s.com
>,
salmobytes <Sa************ ***@gmail.comwr ote:
That's one reason why I started
thinking about dynamic css. http://wage.cns.montana.edu
This breaks horribly. I think you should not think any more for a
while about anything dynamic. Calm right down and be happier with
less. Your users will thank you.
--
dorayme
On 18 Jan, 22:12, salmobytes <Sandy.Pittendr ...@gmail.comwr ote:
Hans Weilenmann has a nice site where he displays the best
sharp-focus, high-detail close-up photos (of trout flies)
URL? It's not obviously Googleable (HW is evidently well known for
his work, but less so for his own site)
But because 60% of all users view from 17"
monitors at 768 pixels wide,
It's several years since that has been even approximately true.
power users who have 1024 pixels wide or better.
These days it's hard to find a non-power user who doesn't have at
least that resolution even vertically.
A better (more intelligent) web-solution would provide some kind
of a mode-toggle switch on each page,
No, this is terrible. Long experience of it for years now has taught
us this.
That's one reason why I started
thinking about dynamic css. http://wage.cns.montana.edu
That's a ghastly page. It's particularly bad on a FF window under
890px wide.
On Jan 19, 1:53 am, "Jukka K. Korpela" <jkorp...@cs.tu t.fiwrote:
And you expect to do this in CSS? Consider reading an introductory
tutorial on the elements of basics of getting started with WWW
authoring.
No, you can't swap images with css.
But if you were swapping image sizes, based on a mode switch,
you would also have an opportunity to change the css too,
so it was custom tailored for low resolution or high resolution.
Yahoo (as someone else pointed out) does this. I will give it a try.
You seem to be a pigeon-hole thinker. Cs attracts lots of those,
for some reason. Even in Finland, apparently.
salmobytes wrote:
On Jan 21, 2:49 am, Andy Dingley <ding...@codesm iths.comwrote:
Hans Weilenmann has a nice site where he displays the best sharp-focus, high-detail close-up photos (of trout flies)
URL? It's not obviously Googleable (HW is evidently well known for his work, but less so for his own site)
http://www.danica.com/flytier/
Hans' "large" images are only 600 pixels wide--he's trying to
accomodate everybody.
Closeup images of flies look a heck of a lot better at 700 pixels
wide.
On high resolution monitors with high-speed connections, 800 pixels
is spectacular, by comparison. Trying to serve everybody all at once
with 600 pixels wide is an annoying compromise.
>>But because 60% of all users view from 17" monitors at 768 pixels wide,
768 has never been a screen width in pixels. It's a height in some
resolutions.
>It's several years since that has been even approximately true.
Not according to w3c They currently show 54% http://www.w3schools.com/browsers/browsers_display.asp
W3Schools is not the W3C, the information shown is a year out of date,
and who knows how they're compiling it?
In article <62************ *************** *******@i12g200 0prf.googlegrou ps.com>, salmobytes writes:
>On Jan 21, 2:49 am, Andy Dingley <ding...@codesm iths.comwrote:
But because 60% of all users view from 17"
monitors at 768 pixels wide,
It's several years since that has been even approximately true.
Not according to w3c They currently show 54% http://www.w3schools.com/browsers/browsers_display.asp
Point one: "w3schools" is not in any way affiliated with the w3c.
Point two: Even their page shows 54% for 1024x768, which is 1024
pixels wide, as well as 26% for higher. That means at least 80%
of everybody has a monitor that shows at least 1024 pixels wide.
This ignores the 6% listed as "Unknown".
My first PC, purchased in 1992, had a 1024x1280 monitor, and I'm
far from being a "power user", so it's not suprising that, over
fifteen years later, most people are running with equipment at
least as good as what I had then.
On the other hand, this is monitor width. Don't get tricked into
thinking that this equates to canvas width. Between not running
browsers maximized, browser chrome, various sidebars, there's no
way of knowing how many pixels you have available.
>That's a ghastly page. It's particularly bad on a FF window under 890px wide.
>I had that site looking OK at high resolution, but it was (as you said) ghastly at low resolution.
Nothing was said about "resolution ". The reference was to the width
of the FF window.
--
Michael F. Stemper
#include <Standard_Discl aimer>
You can lead a horse to water, but you can't make him talk like Mr. Ed
by rubbing peanut butter on his gums.
In article <20************ *************@w alkabout.empros .com>, Michael Stemper writes:
<brain fart>
>My first PC, purchased in 1992, had a 1024x1280 monitor,
That should have said "1280x1024" .
--
Michael F. Stemper
#include <Standard_Discl aimer>
You can lead a horse to water, but you can't make him talk like Mr. Ed
by rubbing peanut butter on his gums.
On Jan 22, 11:13 am, Jeff <jeff@spam_me_n ot.comwrote:
thanks, that *was* helpful.
I have a pretty thick skin, most of the time.
I know If I ask a question on usenet a stream of poison will
inevitably result,
punctuated by occasional civility.
Oddly, or perhaps interestingly, I often see the same sort of poison
attached to the
same well-known names on multiple groups. Some people just can't get
enough.
For most of this threads responders (not you) here's a link that might
help: http://www.excaliburcutlery.com/rubi...FQNCgwodmis9GQ
It'll be a while before I return. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dufe |
last post by:
Hello all:
To deal with the problem of differing user screen resolutions, I've
explored: 1) making the pages in PHP, 2) having different pages on the
same page and selecting the proper one via JavaScript, and 3) using
fancy redirects and forced "back skip" redirects with cookies. Every
approach has some fatal flaw as far as I have been able to persue it.
My most recent idea is to make multiple style sheets (selectable via
javascript...
|
by: pjac |
last post by:
I need some help with some VB language that will change the screen
resolution on a monitor when a MS-Access 2000 database is opened from
1024 x 768 to 800 x 600.
Any help with this effort would be deeply appreciated.
Thanks in advance....
|
by: lauren quantrell |
last post by:
Is there a way to force a change in a user's screen resolution using
VBA code without having any input from the user?
Example: User John Backwards has his screen set to 800 x 600 pixels.
Backwards loads an Access app that needs at least 1024 x 768 pixels so
the app, on load, changes the screen resolution for him to 1024 x 768.
|
by: DavidS |
last post by:
Have resW=screen.width; resH=screen.height in javascript. How can I read
these values in ASP.NET source code - Page_Load function of code behind?
Any suggestions?
|
by: Maxi |
last post by:
I have a 30X16 cells table in my html page. Table height and width are
set to 100%. I have set size of every cell inside the table to 24
pixel.
When I open the html page in maximize state in either resolution 800 X
600 or 1152 X 864 it takes up the entire explorer size.
In screen resolution 800 X 600, if I insert a pictures of 24 X 24 pixel
in the cells it takes up the entire cell size (ideally it should as the
cell size is also 24 X...
| |
by: Steve Wright |
last post by:
Hi
I'm developing a webpage that needs to include a different stylesheet
depending on the screen resolution.
I know that I could read the resolution in javascript and then do some
sort of stylesheet switcher as part of the onload event but I would
rather link in the correct stylesheet for the resolution in the first
place.
|
by: melinama |
last post by:
Hello,
I've looked through alt.html and this group for an answer to my
question.
However, I found only cranky arguments with, occasionally, bits of
hard-to-understand code - out of context - each of which is slammed by
the next people along in the thread.
So I'm afraid to ask this but I need to know!...
|
by: nasima khan |
last post by:
Hi,
i am nasima. I have got a code for setting the screen resolution of my page, but i am unable to understand. Can any one give a complete data explanation of the below code.
Sub ChangeRes(X As Long, Y As Long, Bits As Long)
Dim DevM As DEVMODE, ScInfo As Long, erg As Long, an As VbMsgBoxResult
'Get the info into DevM
erg = EnumDisplaySettings(0&, 0&, DevM)
'This is what we're going to change
DevM.dmFields =...
|
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 -...
|
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...
|
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,...
| |
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...
|
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...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |