I’ve been forced a little out of my box into the flex styles world and having issues with this…can someone explain what I’m doing wrong? I have a “Button” style and a “.panelButton” style. The Button covers all the buttons, but if I stick a “stylename=panelButton”, neither works at all.

<mx:Style>

Button {

font-size: 10pt;

color: #00476B;

cornerRadius: 8;

textAlign: left;

}

.panelButton {

marginLeft: 20;

font-weight:bold;

}

</mx:Style>

<mx:Button styleName="panelButton" id="panel3btn1" label="Staying Healthy" width="195" height="24"/>

 

The button now has 0 style effects. I also can’t get width or height into the style with it working. Help?

_________________________________________

Jonathan Miranda

Flexible Master of the Web

"In the game of chess, it's important to never let your opponent see your pieces."

 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to