Re: [css-d] CSS code - is this right?

2014-08-15 Thread MiB
aug 14 2014 23:19 John D xfs...@hotmail.com: Not sure I understand your post but span can be given a class and the code is attributing to that class. Is this what your view is about Joomla? If you have a span element, that is a type of element already in the HTML language, then there’s no

Re: [css-d] CSS code - is this right?

2014-08-14 Thread Frank Taylor
Yes, that’s correct. It’s the attribute selector. Whatever goes into the brackets is an attribute, and that can be any attribute on the HTML selector. Shameless self-plug: there’s some crazy stuff you can do with the attribute selector:

Re: [css-d] CSS code - is this right?

2014-08-14 Thread John D
-d@lists.css-discuss.org Subject: [css-d] CSS code - is this right? Just noticed that a joomla site has the following code: [class*=span].pull-right, .row-fluid [class*=span].pull-right { float: right; } Is this correct especially th items in square brackets? I thought the easiest way

Re: [css-d] CSS code - is this right?

2014-08-14 Thread Tom Livingston
Nice article Frank. Just so I'm tracking this right - as I've not used this very much - given this example: [class*=span] This means select elements who's class contains the word 'span'. Correct? On Thu, Aug 14, 2014 at 9:39 AM, Frank Taylor pace...@madebypaceaux.com wrote: Yes, that’s

Re: [css-d] CSS code - is this right?

2014-08-14 Thread MiB
14 aug 2014 kl. 18:21 skrev Tom Livingston tom...@gmail.com: [class*=span”] I guess those semantics (using elements as class names) sums up my view of Joomla very well. __ css-discuss [css-d@lists.css-discuss.org]

Re: [css-d] CSS code - is this right?

2014-08-14 Thread Frank Taylor
Yes, you are correct. Though, for practical purposes, I wouldn’t generally recommend creating a class name called span. On Aug 14, 2014, at 18:21, Tom Livingston tom...@gmail.com wrote: Nice article Frank. Just so I'm tracking this right - as I've not used this very much - given this

Re: [css-d] CSS code - is this right?

2014-08-14 Thread John D
Not sure I understand your post but span can be given a class and the code is attributing to that class. Is this what your view is about Joomla? I guess those semantics (using elements as class names) sums up my view of Joomla very well.

Re: [css-d] CSS code - is this right?

2014-08-14 Thread Tom Livingston
Actually, the code says an element with a class of 'span' will be selected. Kinda poor. On Thursday, August 14, 2014, John D xfs...@hotmail.com wrote: Not sure I understand your post but span can be given a class and the code is attributing to that class. Is this what your view is about

[css-d] CSS code - is this right?

2014-08-13 Thread John D
Just noticed that a joomla site has the following code: [class*=span].pull-right, .row-fluid [class*=span].pull-right { float: right; } Is this correct especially th items in square brackets? I thought the easiest way is to write something like this: span.pull-right, .row-fluid {

Re: [css-d] CSS code - is this right?

2014-08-13 Thread Micky Hulse
On Wed, Aug 13, 2014 at 3:49 PM, John D xfs...@hotmail.com wrote: Just noticed that a joomla site has the following code: Is this correct especially th items in square brackets? I thought the easiest way is to write something like this: Why are they using square brackets? Begins: p[class^=al]

Re: [css-d] CSS code - is this right?

2014-08-13 Thread Philippe Wittenbergh
Le 14 août 2014 à 07:49, John D xfs...@hotmail.com a écrit : Why are they using square brackets? Attribute selectors: http://www.w3.org/TR/css3-selectors/#attribute-selectors Philippe -- Philippe Wittenbergh http://l-c-n.com/

Re: [css-d] CSS code - is this right?

2014-08-13 Thread Jon Reece
On Wed, Aug 13, 2014 at 6:49 PM, John D xfs...@hotmail.com wrote: Just noticed that a joomla site has the following code: [class*=span].pull-right, .row-fluid [class*=span].pull-right { float: right; } Is this correct especially th ​e​ items in square brackets? ​As usual,