473,382 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Style to indicate that popup info is available

(Discussion started in c.i.w.a.h. under Subject "image alt style pop up
for text", now changed to discussing the use of a title="..." attribute
to create a popup info text, and how to make it obvious to users that
there _is_ some info available.)

Neal <ne*****@yahoo.com> wrote:
On Fri, 6 Aug 2004 16:09:39 +0100, Alan J. Flavell
<fl*****@ph.gla.ac.uk> wrote:
A dotted box seems to be a fairly conventional clue. I'm not sure
I can think of a better one.

I hadn't heard of the convention before, but it sounds reasonable.
I'd use just a dotted underline.
I guess you mean a dotted bottom border. I don't know of any way, in HTML
or CSS as currently specified and generally implemented, to create a
dotted underline proper. But bottom borders can be used to simulate them.
(They are still different beasts. Underlining is at the baseline level,
or just a little lower, whereas bottom border is below the element as a
whole, which means that it's below all descenders.)

But a dotted bottom border is some browsers' default rendering of <abbr>
and <acronym> elements. This may cause confusion: users accustomed to
such rendering might get the correct clue "there's info available, if you
move the pointer over this piece of text" - but perhaps also the
incorrect clue "this is an abbreviation or an acronym". Besides, people
who are _not_ familiar with such rendering might assume that the border
is some variation of _link_ underlining.
Left and right margins on inline
elements get weird when wrapped.


I wonder what you mean by such effects. Rather, the top and bottom border
might be disturbing by making adjacent text less readable and even partly
covering it - or borders for other elements.

But there are other problems. Using just e.g.

..titled { border: dotted black thin; }

(together with class="titled" for each element that has title="..."; yes,
we would like to be able to use just a [title] selector, but let's get
real) would make the text inside virtually hit the left and right border,
so we need some left and right padding. Moreover, the border is often
_too_ noticeable, drawing too much attention. Changing the color to some
shade of grey would help a little, but probably not enough. Making it 1px
instead of thin would appear to be natural, though naturally px values
should be avoided (a 1px border looks ridiculous when the font size is
very large, say 60px). More importantly, IE does not support a 1px dotted
border but makes it dashed. Would this be acceptable?

We might also make the border color different from text color, to avoid
any undesired effect on text legibility (especially when the border
becomes dashed - a dash might look too much like an "i" or "l").

So what I would currenly use is

@media screen {
..titled { border: dotted #090 1px;
padding: 0 0.1em; } }

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #1
2 2129
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote:
(Discussion started in c.i.w.a.h. under Subject "image alt style pop
up for text", now changed to discussing the use of a title="..."
attribute to create a popup info text, and how to make it obvious to
users that there _is_ some info available.)
What about a span with text "ⓘ Info", styled as white letters
on blue background with a thin solid black border? That ought to be
easy enough to spot...

--;K

Jul 20 '05 #2
Mad Bad Rabbit <ma**********@yahoo.com> wrote:
What about a span with text "ⓘ Info", styled as white letters
on blue background with a thin solid black border? That ought to be
easy enough to spot...


I'm afraid you might be (half) serious. First, using &#bignumber;
references always causes problems, and I think you need a better reason
to invoke them. (How many speech browsers can speak it out? How many
fonts commonly available contain it.) Second, your approach means extra
markup. Third, both the character and the word indicate just
'information', typically used to identify an information desk where one
can ask just about anything. It's hardly a universally recognized symbol
for 'some extra hint available'.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 20 '05 #3

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

Similar topics

1
by: David | last post by:
Hi, I use the following page code to open a popup window - it works OK, but whilst the popup is loading you can see the URL in the title of the popup until it's fully loaded and then the title...
5
by: Willem van Isselmuden | last post by:
Hello, I've a problem I hava a page with different popup windows, when I hit a link the first one pops up and with the first open i would like to hit the second link in the parent page so the...
1
by: Jane Withnolastname | last post by:
Please. I am web author for a site that features a popup onLoad that plays a song. This was done at the request of the client, and before I understood how much people hate this. Now I want to...
7
by: mr_burns | last post by:
hi, in html, how do i create a pop up description box for text. i want, in the same way that when you write the image alt tag and the user rolls the cursor over the image a pop up box appears,...
1
by: Jukka K. Korpela | last post by:
(Discussion started in c.i.w.a.h. under Subject "image alt style pop up for text", now changed to discussing the use of a title="..." attribute to create a popup info text, and how to make it...
12
by: relaxedrob | last post by:
Hi All! I have a page with with the following style information: <link rel="stylesheet" type="text/css" href="/eEmployment/eTech.css" /> <style type="text/css"> DIV.Application {...
4
by: yxq | last post by:
Hello, I want to popup a form to indicate doing a long time work, when this form shown, anyting on main form are disabled until the popup form closed. ************************** Dim a as new...
0
by: Guardian9978 | last post by:
I have a website that has 2 pages 1 page has the code for a sidebar the other page has frames. The problem i ran into is that i want a popup to apear in another frame from another php page. In...
4
Frinavale
by: Frinavale | last post by:
So a while ago I created a Tab Strip Control (before the AjaxToolkit had theirs otherwise I would have probably just used theirs). When I looked at the AjaxToolkit control to see how they got...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.