Page 1 of 1

Icon alignment

Posted: Fri Nov 26, 2010 2:36 pm
by Artisan
To sort out the vertical alignment of the icons next to the text on Collapso, I'm trying to add a style to the 'hsi' and 'nsi' classes in the stylesheet collapso-5-Reflective.css, but when I do that that the cursor style is disabled. I assume it isn't possible to add anything to these classes?

What I was trying to do was...

Code: Select all

 .hsi   {	/* IMG Has Sub Section - Icon */
	vertical-align: middle;
	cursor:pointer;
	}
... or ...

Code: Select all

 .hsi   {	/* IMG Has Sub Section - Icon */
	margin-top:5px;
	cursor:pointer;
	}
The website is temporarily on http://www.artisan07.co.uk/

Malcolm

Re: Icon alignment

Posted: Sat Nov 27, 2010 3:44 pm
by norman
Tested with Firebug and I can use vertical-align: middle; in both classes with no problems.

Using margin-top:5px; causes ugly repeated borders.