On Sat, 10 Mar 2007, Roger Roelofs wrote:

> The major drawback to css popups is that to be compatible with ie6
> and lower, you must use an [a] element as the container, which means
> you can only put inline elements inside of the popup

There are other drawbacks too, and they might be considerably more 
serious. Here's how the "Pure CSS popups" page 
http://meyerweb.com/eric/css/edge/popups/demo.html
starts on a non-CSS browser:

"Home  The  main  page  of the site-- a jumping-off point, as it were-- and not
actually  a  picture  of our house Links A collection of things which interest
me,  and  might interest you Away Who knows? Could be anywhere; you clicks the
link  and  you  takes  your chances! Eric He's been called "an internationally
recognized  expert," but then he's also been called a "techno-fascist" 
Kat She cooks  fabulous meals, she throws great parties, she helps women 
deliver their babies--  what  can't she do? Other Inevitably, there's stuff 
that 
doesn't fit in with other stuff, so we stuffed it all into this page of random 
stuff"

The problem is that the popup content is on the page, usually after the 
element to which it relates (and anything else would be somewhat unnatural 
and could cause much worse problems). When presented as such, it does not 
make it very clear that secondary information relating to something is 
being given. If you can infer some punctuation (like parentheses), it 
becomes clearer.

You could add some precautions, like short pieces of text (like 
punctuation) in span elements, with display: none, similarly to what one 
does in Ruby markup using the rp (Ruby punctuation) elements. I'm afraid 
most people who want to use popups don't want to spend time with such 
things - elements that are not displayed at all when CSS is off.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to