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
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:
-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
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
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]
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
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.
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
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 {
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]
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/
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,
12 matches
Mail list logo