Re: [css-d] Deprecations in recent versions of HTML cause CSS problems‏

2010-02-17 Thread Climis, Tim
 On-topically: the only way to emulate double spaces with CSS which I can 
 think of would be to wrap every sentence in  a span class=sentence and 
 style that with a 2em right padding.
 Any other?

I think 2em right padding would be the wrong way to do it.  Em is the *height* 
of a character, not the *width*.  You'd end up with something like 5 spaces 
between sentences that way.  I think (if you were going to do this with CSS, 
which I find a ridiculous premise to begin with) that it'd be better to do it 
as:

.sentence:after {content: \A0 ;}

It's actually inserting the non-breaking space, but presentationally.

 but that's awfully presentational markup.

I'm also going to argue that /characters/ cannot be mark-up or 
presentational.  The markup is tags.  The stuff in the tags is /content/.  
Just because it's a character that needs to be specially encoded in HTML does 
not make it markup, any more than fianceacute;e would be markup.

$0.02

---Tim
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Deprecations in recent versions of HTML cause CSS problems‏

2010-02-09 Thread fred dagg


As a learner when it comes to HTML/CSS I am a little confused about 
(apparently) recent changes to HTML, moving functionality to CSS.

As an academic I have been required to reference others' work in my 
publications according to one style or another (by default I use APA5). In 
transferring these works to webpages some problems are presented.

For example: given an in-line citation such as (McConnell, 2002) in an 
academic/scientific paper, the bibliographic reference might be:
McConnell, S. (July, 2002) The Business of Software Improvement. IEEE Software 
pp. 5-7

Note that, in the one line, part (the title) is to be underlined, part (the 
journal title) to be itallicized and the remainder in normal face font.

Since was deprecated in HTML, apparently because it was considered to be a 
presentation issue rather than one of content, this formatting in validated 
HTML 4.01 becomes clumsy. The only way I know of to do this involves:

The Business of Software Improvement

which is considerably more typing.

I can't see any way to perform the process using CSS. Perhaps someone can help 
with that. Thanks. 
_
Feeling the financial pinch? Check on MSN NZ Money for a hand
http://money.msn.co.nz
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/