this is just to weird...
when i have a style named MainAnything thus the word main with anything attached to it the style does not work, however when i rename that exact style to something else it works
the style
MainApplication{
left-margin:50;
right-margin:50;
top-margin:50;
botton-margin:50;
background-color:#079CC0;
}
and here is the mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"
xmlns="*" xmlns:ctrl="net.lennel.isay.view.components.menu.*"
initialize="init()"
className="MainApplication"
>
<mx:Style source="styles/main.css"></mx:Style>
...
this example does nuthink, however renaming that style to Application gives the desired result.
am i really having an extremly daft thanks-giving?
thanks
--
j:pn
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

