If I set a border value to something like:
border : thin solid blue;
It will look perfect in all browsers except IE (No surprise there) where
'thin' borders are rendered 2 pixels wide. If I replace it with:
border : 1px solid blue;
It looks the same in all browsers. My question: Does one have advantages or
benefits over the other?
P. 9 6971
The Plankmeister wrote: border : thin solid blue;
border : 1px solid blue;
My question: Does one have advantages or benefits over the other?
None that I can imagine. Use whichever one suits your design goals
better.
--
Brian
follow the directions in my address to email me
"The Plankmeister" <pl************ ******@hotmail. com> wrote: If I set a border value to something like:
border : thin solid blue;
It will look perfect in all browsers except IE (No surprise there) where 'thin' borders are rendered 2 pixels wide.
It's perfect too, just differently perfect. :-)
It is up to anyone who writes a browser to decide what physical size
thin maps to.
If I replace it with:
border : 1px solid blue;
It looks the same in all browsers.
Well, with the usual caveats, yes. And this might be a problem in the
future.
My question: Does one have advantages or benefits over the other?
In practice, what we currently get is what you have described, so the
practical choice is pretty clear. Make up your mind between 1px and
2px, and forget thin.
In the future, maybe people write browsers that implement the keyword
widths intelligently. For example, they could map thin to 1px in normal
situations but to something larger when the device is known to be very
high resolution (with small pixel size) or when the font size is very
large. A 1px border around some text in 60pt size looks pathetic.
On a more realistic path, you might consider using a width like
0.03em, which means that the width is scaled according to font size.
But there's a catch. Browsers may round it to zero. That's what Opera 7
does, for example, when the font size is 9px (which _some_ users might
select, for various reasons). And if you use a sufficiently large value
like 0.06em, then the border gets too thick when the font size is
large.
So I'm guess we're back with the choice between 1px and 2px.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jukka K. Korpela wrote:
[snip] In the future, maybe people write browsers that implement the keyword widths intelligently. For example, they could map thin to 1px in normal situations but to something larger when the device is known to be very high resolution (with small pixel size) or when the font size is very large. A 1px border around some text in 60pt size looks pathetic.
[snip]
And, of course, the W3C recommendation is that the interpretation of "px"
itself should take into account such very high resolutions. (But I'm not aware
of browers that support this, or even where they would get their information
from to do so).
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/
On Wed, 1 Oct 2003, Jukka K. Korpela wrote: In the future, maybe people write browsers that implement the keyword widths intelligently. For example, they could map thin to 1px in normal situations but to something larger when the device is known to be very high resolution (with small pixel size)
Would that be in addition to implementing CSS px units as they are
specified, or do we have to abandon that scheme (in much the way that
CSS2.1WD has told us to abandon font-size-adjust, say)? I note that
the CSS definition of the px unit is still present, in its somewhat
muddled formulation, in the CSS2.1 WD, the only substantive change is
to the reference dpi, but that was already on the errata.
cheers
Jukka K. Korpela wrote: In the future, maybe people write browsers that implement the keyword widths intelligently. For example, they could map thin to 1px in normal situations but to something larger when the device is known to be very high resolution (with small pixel size) or when the font size is very large. A 1px border around some text in 60pt size looks pathetic.
"Barry Pearson" <ne**@childsupp ortanalysis.co. uk> wrote:
And, of course, the W3C recommendation is that the interpretation of "px" itself should take into account such very high resolutions. (But I'm not aware of browsers that support this, or even where they would get their information from to do so).
I would have thought that "px" dimensions would have to relate to
anything else that uses pixels on the page (e.g. pictures), so that you
can design non-textual things to go with images (for instance). If one
of them scales, then the other needs to, too.
But I think it's going to be quite some time before we get really high
resolution monitors (many times more than the current ones), that pixels
don't come into the equation, at all. Then, websites could use things
like "quarter-page-width" sized images, that scale nicely to suit, with
borders set to 10% of the image size, keeping them in proportion to each
other. Or scaling images to cover 10 lines of text height. And that
sort of thing.
--
My "from" address is totally fake. The reply-to address is real, but
may be only temporary. Reply to usenet postings in the same place as
you read the message you're replying to.
Tim wrote:
[snip] "Barry Pearson" <ne**@childsupp ortanalysis.co. uk> wrote:
And, of course, the W3C recommendation is that the interpretation of "px" itself should take into account such very high resolutions. (But I'm not aware of browsers that support this, or even where they would get their information from to do so). I would have thought that "px" dimensions would have to relate to anything else that uses pixels on the page (e.g. pictures), so that you can design non-textual things to go with images (for instance). If one of them scales, then the other needs to, too.
I fully agree! See:
http://groups.google.c om/gr************* *************** ***@newsfep1-gui.server.ntli .net
http://groups.google.c om/gr************* *************** ******@newsfep3-gui.server.ntli .net
But I think it's going to be quite some time before we get really high resolution monitors (many times more than the current ones), that pixels don't come into the equation, at all. Then, websites could use things like "quarter-page-width" sized images, that scale nicely to suit, with borders set to 10% of the image size, keeping them in proportion to each other. Or scaling images to cover 10 lines of text height. And that sort of thing.
We are already getting towards the stage where some monitors are approaching
2x the typical. That is enough to be a concern.
http://groups.google.c om/gr************* *************** ***@newsfep1-gui.server.ntli .net
http://groups.google.c om/gr************* *************** *********@newsf ep2-win.server.ntli .net
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/
In article <Xn************ *************** **@193.229.0.31 >, Jukka K.
Korpela wrote: In the future, maybe people write browsers that implement the keyword widths intelligently. For example, they could map thin to 1px in normal situations but to something larger when the device is known to be very high resolution (with small pixel size) or when the font size is very large.
Or browser could have setting for setting values for keywords.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.
On Thu, 2 Oct 2003, Tim wrote: "Barry Pearson" <ne**@childsupp ortanalysis.co. uk> wrote:
And, of course, the W3C recommendation is that the interpretation of "px" itself should take into account such very high resolutions.
Indeed - and the viewing distance too ;-)
(But I'm not aware of browsers that support this, or even where they would get their information from to do so).
I think the usual graphics APIs have ways of querying the nominal dpi
setting; the killer, though, is that only a keen specialist would
ever bother to find out how to calibrate their display so that the
resulting nominal value had any relation to reality.
(But, as for the intended viewing distance... [this space
intentionally left blank])
I would have thought that "px" dimensions would have to relate to anything else that uses pixels on the page (e.g. pictures), so that you can design non-textual things to go with images (for instance).
Indeed; I'm a bit tired of seeing poky little images on my 135dpi
display and getting told that they're perfectly big enough (on the
designer's ~ 65dpi system).
If one of them scales, then the other needs to, too.
Ideally, yes it does. A pity that most browsers make such a sow's ear
of re-sizing images.
But I think it's going to be quite some time before we get really high resolution monitors (many times more than the current ones),
Hang on. In reality I've met resolutions from ~ 65dpi to ~ 150dpi,
and specialist displays can do better than that already.
That's linear ratios of well over 2, and since we're discussing
2-dimensional features it's not unfair to remark that it's a factor
of at least 5 in area.
Yet a linear factor of say 1.2 can make a quite perceptible difference
in size.
If you say there are technical obstacles to arbitrary resizing,
and especially of line-drawings, cartoon-ish material etc. then
I'd have to agree with you. Which is why I'm so baffled that it's
taken so long to get a viable scaleable vector graphics format on the
road.
But IMHO the problem does not go away merely by pointing to the
technical obstacles which exist to its resolution. I still want to be
able to size images in em units, in appropriate situations, and get
browsers to do something sensible in response.
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote: I think the usual graphics APIs have ways of querying the nominal dpi setting; the killer, though, is that only a keen specialist would ever bother to find out how to calibrate their display so that the resulting nominal value had any relation to reality.
I should think that knowing the DPI would depend on the graphics card
and the monitor. Not all monitors have their specifications (none of my
plug and play monitors are known to Windows, one is known to Linux, but
only by a large look-up chart created by Linux users).
(But, as for the intended viewing distance... [this space intentionally left blank])
Yes, that's a good one. :-\ I find most people have their monitor far
too close (it hurts my eyes). I'm usually over a metre away from my
own, whether 14" or 17".
Tim wrote: But I think it's going to be quite some time before we get really high resolution monitors (many times more than the current ones),
Hang on. In reality I've met resolutions from ~ 65dpi to ~ 150dpi, and specialist displays can do better than that already.
Mine's none too flash, nor are many of my friend's; and those that have
high resolution monitors use them display at a lower resolution because
the text gets too small (try using larger text in Windows, and it
doesn't enlarge the GUI around it proportionally, or at all).
I've yet to see anything with sufficiently high resolution, and enough
resources to back it, that we can use high resolution displays and work
with images created using many pixels where just one would have been
used before (e.g. nice smooth text, other anti-aliased images, high
resolution images where the monitor exceeds your own ability to pick
flaws with it, etc.).
If you say there are technical obstacles to arbitrary resizing, and especially of line-drawings, cartoon-ish material etc. then I'd have to agree with you. Which is why I'm so baffled that it's taken so long to get a viable scaleable vector graphics format on the road.
I think it's probably a similar situation to why scaleable fonts still
look so bad. You can't, easily, make small scaleable objects. They
turn into a mess, because there's not enough pixels to draw them nicely.
--
My "from" address is totally fake. The reply-to address is real, but
may be only temporary. Reply to usenet postings in the same place as
you read the message you're replying to. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DiggidyMack69 |
last post by:
Hello folks,
I have a jsp using the thin oracle drivers. I need to add a query for
a large table (70 something columns...I'didn't build it) due the high
number of columns and some things that are going on in the WHERE
clause the query itself pretty long. The query runs fine in SQL*Plus
without errors but when I add it to my JSP I am getting the exception
"java.sql.SQLException: SQL string is not Query".
This was working fine on another...
|
by: Ramachandran Pramod |
last post by:
HI Group,
I have installed WAS 5.0 in my machine recently and would like to
configure Oracle JDBC thin driver. I tried it with the admin console,
with the following parametners
JDBC provider implementation classname :
oracle.jdbc.pool.OracleConnectionPoolDataSource
|
by: Mark Carter |
last post by:
Suppose I wanted to combine a thin client written in VB6 with a server
on a remote machine. Since this is the python group, assume for now
that it could be written in python (although VB6 would be a nice
alternative). What technologies would I use?
|
by: Harish |
last post by:
Hi,
Why is "jdbc:oracle:thin" called a thin driver?
Thanks in advance.
Harish.
|
by: ak |
last post by:
Hi all
I figured I would ask here if somebody
done something similar to this since I am
new to .NET :
I need to implement a thin client; it is involves
communicating with a database and above all
displaying the information graphically allowing
the user to view the data in different ways like
| |
by: Ramesh |
last post by:
Hi
Can somebody suggest some ways of communication
between jdbc and ms-access without the odbc way.
I heard that it can be done through thin drivers.
What are those thin drivers.
Are they available for ms-access for free.
Ramesh.
|
by: Russ |
last post by:
Hello,
I have an application that consists of both thin client portions and
fat client portions.
One such view consists of a fat client treeview on the left, and a
thin client asp.net webapp on the right.
A user will fill out the webapp's form and click submit. This will
send the data to the DB. I need to know of a way for the treeview
|
by: Michael |
last post by:
Hi,
i've heard from someone that i can make my whole VB.NET
application to be run on a web browser and this is call
thin client? Only problem is that i need to install .net
framework on all PCs that run it. I know the best way for
web application is to use ASP.NET but i kinda need my
windows.net exe to run over the internet instead of
rewriting everything in ASP.NET.
Can someone direct me to a link or help me in this? Coz i
|
by: 99m |
last post by:
Can anyone recommend to me a thin PHP framework? By thin, I mean that I
don't want a massive amount of code, dependencies, or large learning
curve. I'm also not thrilled about introducing XSLT into the project --
I'm not a fan of that. However, I'd like to use something that helps me
abstract the application logic and presentation layer a little better.
And if there's something that helps me display prettier HTML forms, or
a seperate...
|
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: 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: 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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |