Graphics Programs Reference
In-Depth Information
5. Look in the CSS Properties panel again, and you should see a style named .sidebar.
Note
If you see a style named “.sidebar_1_” it's usually because there is an extra
space after the name “sidebar” in the Layers panel.
When content is unnamed, a CSS style is not created for it, by default. If you name the
object in the Layers panel, the CSS is generated and the name of the style created
matches the object name in the Layers panel. Illustrator creates styles called classes for
most content.
Tip
You can tell a style is a class in CSS because the name has a period (.)
before it.
Tip
If you are using HTML5 markup in your HTML editor, any objects in the
Layers panel that you name according to the standard HTML5 markup tags,
like “header,” “footer,” “section,” or “aside,” for instance, will not become
a class style when the CSS code is generated. Rather, the style will be
named according to the HTML5 markup tag.
For objects in the design (not including text objects, as you will see), the name you give them
in the Layers panel should match the class name in the HTML that is created in a separate
 
Search WWH ::




Custom Search