Re: [css-d] Custom CSS resets

2012-08-14 Thread Philip TAYLOR



Andrew Cunningham wrote:


if you consider b and i elements to be purely presentational, then I
guess you can leave browsers to their own devices. But I work on sites that
are multilingual and where user generated content could be in any language,
so if these elememts are purely presentational then they should never occur
in the templates or in user content.

If on the other hand you see these elements as symantic, then the resets
make sense, since the appearance of these elements should be styled on a
per language or a per writing script basis.

If the b and I elements are symantic, then b isn't necessarily bold,
and i isn't necessarily italic


I cannot imagine any situation in which the b and i elements could
ever be anything other than purely presentational; obviously the
preferred semantic elements are strong and em, but they are for
authors : with a CSS reset, we are attempting to re-style extant
documents over which we may have little or no control.

Philip Taylor
__
css-discuss [css-d@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/


Re: [css-d] Custom CSS resets

2012-08-14 Thread Gabriele Romanato
We're going a little off-topic here. ;-) My point is not about tags,
but about how a CSS reset should be used. Eric's reset is a
general-purpose tool that should be always tailored to your specific
needs and not copied and pasted without knowing exactly what it does
(as many authors do). Since CSS is not a programming language, authors
can modify the original file by adding or removing specific rules with
ease. Eric's reset is not like jQuery or Prototype: its core can be
modified to address specific projects. For example, if you use XHTML
and not HTML5 you can remove the reference to HTML5 tags. And so on.
:-)

-- 
http://gabrieleromanato.com/
http://blog.gabrieleromanato.com/  (English)
__
css-discuss [css-d@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] arranging horizontally

2012-08-14 Thread John
I am trying to learn how to arrange things horizontally, the way  tables makes 
almost effortless, but in css instead. Here's a screengrab of what I'm trying 
to do:  http://coffeeonmars.com/testing/checkout.png

Using a tutorial suggesting floats to get things horizontal, I can get started 
but I find myself using div after div trying to get things positioned just so, 
and soon end up with a big ball of tangled string.

Seems things naturally arrange themselves vertically in CSS...I guess there's a 
trick in getting them horizontal. Can someone share some tips how this is done?

Thank you!

John
__
css-discuss [css-d@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/


Re: [css-d] arranging horizontally

2012-08-14 Thread David Hucklesby

On 8/14/12 5:53 AM, John wrote:

I am trying to learn how to arrange things horizontally, the way  tables
makes almost effortless, but in css instead. Here's a screengrab of what
I'm trying to do:  http://coffeeonmars.com/testing/checkout.png

Using a tutorial suggesting floats to get things horizontal, I can get
started but I find myself using div after div trying to get things
positioned just so, and soon end up with a big ball of tangled string.

Seems things naturally arrange themselves vertically in CSS...I guess
there's a trick in getting them horizontal. Can someone share some tips
how this is done?


Well, you can use CSS table display properties instead of the multiple table
tags that an HTML table requires.

Other CSS properties that line up horizontally are display: inline;
display: inline-block; and, as you noted, float: left; or float: right;.

In addition, you can get a block to snuggle up to floats, taking up whatever
room is left at the side, by giving it a new block-formatting context.
Thierry shows you how:

 http://www.css-101.org/block-formatting-contexts/

HTH.
--
Cordially,
David

__
css-discuss [css-d@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/


Re: [css-d] arranging horizontally

2012-08-14 Thread John

On Aug 14, 2012, at 7:32 AM, David Hucklesby wrote:

 In addition, you can get a block to snuggle up to floats, taking up whatever
 room is left at the side, by giving it a new block-formatting context.
 Thierry shows you how:
 
 http://www.css-101.org/block-formatting-contexts/

Thank you, David..I like the idea of getting these things to snuggle up!

J
__
css-discuss [css-d@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/