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 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, Chris Co

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

2014-08-13 Thread Philippe Wittenbergh
Le 14 août 2014 à 07:49, John D 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/ __ css-discu

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 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"] { background

[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 {