[Pro] styling an html box with text

Hello. I have a little trouble with styles. You now Freeway is the first time I work with CSS, before I always used Flash and ActionScript. So, sorry if my question looks silly.

I have a html box. Inside I write a text. I make an style in styles palette with the color, face, size and align of the font, and in the extend section I add padding and background-color. Then I try to apply the style to the html box, and only works the text styling. Padding and background-color doesnt work.

If I create two different styles, one for the text and other for the html box, only the first one can be applied.

The long way is set the padding and background color in the properties palette, but I supossed CSS styles exist to simplify this work, isnt it?

How do you do this, please? Is it possible?

I cant reach the understanding of CSS in FreeWay… and in the manual reference and official documentation its only said that CSS is good for styling text, but it doesnt say more…

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

As you have discovered it is a lot easier to add padding, bg colour etc in the inspector but you can create Tag styles to target HTML containers and use them instead ie

#mybox {
padding: 5px;
colour: fff
}

Not a proper working example - just to give you the idea.

Have a search here for Tag styles and see what you find.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options