Icon alignment

Expanding / Collapsing, search engine friendly, Section menu.
Post Reply
Artisan
Posts: 50
Joined: Fri Apr 25, 2008 3:28 pm

Icon alignment

Post 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
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Icon alignment

Post 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.
Norman
Post Reply