Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
leotemp #1
External style sheets
Well youd think this would be pretty straight forward but no matter what i do i
dont get any changes in my app. I have tried defining the style sheet and then
asigning the style values using "styleName" but nothing..
My application uses the <mx:Style tag as stated in the docs, not sure what im
doing wrong, here is the chunk from my otherwise working app that uses the
style sheet.
-------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
styleName="App">
<mx:Style source="style.css"/>
and here is the style sheet, style.css
-------------------------------------------------------------------------------
App {
color: #000000;
backgroundGradientColors: #c0c0c0, #ffffff;
backgroundImage: 'img/background.png';
}
Hopefully im just dumb, please help this is the final step i need to finish my
app.. :(
leotemp Guest
-
External Style Sheets in Editable Region
Hi all, When I include links to external stylesheets in the 'editable' section of my template created html page, Contribute does not load them... -
Style Sheets and Transitions
I am not sure this is an appropriate question here, but I am using CSS to basically change an element on the screen based on a "timer" I would like... -
Cascading Style Sheets
Hi, I am writing a web based application in VB.Net. A lot of the forms in the applicaiotn have grids (datagrids) in them. I would like to have... -
Style Sheets
Can anyone tell me what a good dreamweaver book is on learning CSS? What do's and don'ts can you advise me in? Kelly -
Using external style sheets
You shouldn't have any trouble. What does the URL of the stylesheet link look like? -- HTH, Kevin Spencer ..Net Developer Microsoft MVP... -
Josh Johnson #2
Re: External style sheets
leotemp wrote:
So the style definition you created would apply to <mx:app></mx:app>> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
> styleName="App">
> <mx:Style source="style.css"/>
>
>
> and here is the style sheet, style.css
> -------------------------------------------------------------------------------
> App {
> color: #000000;
> backgroundGradientColors: #c0c0c0, #ffffff;
> backgroundImage: 'img/background.png';
> }
tags. The easiest way to fix this is to change your css definition to:
Application {
color: #000000;
backgroundGradientColors: #c0c0c0, #ffffff;
backgroundImage: 'img/background.png';
}
Josh Johnson Guest



Reply With Quote

