Home arrow Web Authoring arrow Page 9 - Using Adobe GoLive CS, Part 3
WEB AUTHORING

Using Adobe GoLive CS, Part 3


The second article in our series covering Adobe GoLive we'll be working with images, CSS, and JavaScript. (This chapter comes from Teach Yourself Adobe Creative Suite, by Mordy Golding, Sams, 2004, ISBN: 067232752X.)

Author Info:
By: Sams Publishing
Rating: 5 stars5 stars5 stars5 stars5 stars / 23
November 16, 2004
TABLE OF CONTENTS:
  1. · Using Adobe GoLive CS, Part 3
  2. · Rollovers
  3. · More on rollovers
  4. · Even More on Rollovers
  5. · Photoshop Integration
  6. · ImageReady and Illustrator Integration
  7. · InDesign Integration
  8. · Using Images from the InDesign Package
  9. · Using Cascading Style Sheets
  10. · Creating an Element Style
  11. · Creating a Class Style
  12. · External CSS
  13. · Link Warnings
  14. · Publishing the Site
  15. · Begin Creating

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Using Adobe GoLive CS, Part 3 - Using Cascading Style Sheets
(Page 9 of 15 )

GoLive CS's support for Cascading Style Sheets has been dramatically updated and now complies with the CSS2 specification. Not only does the Layout mode do a better job of rendering CSS designs, but the Style Sheet Editor itself has been redesigned to make it more efficient and easier to use.

Those of you familiar with paragraph and character styles in page layout applications will probably grasp the basics of CSS readily, but the scope of the CSS spec falls well beyond altering font faces, sizes, and colors. CSS can be used to position elements, not merely text, on a page. In fact, if you have played with layers in GoLive, you were working with CSS, because a layer actually writes a <DIV> tag which defines an area, and that area is positioned (and can be styled) with CSS.

Internal Versus External

Ever wonder why they're called Cascading Style Sheets instead of simply style sheets? It's because you can define styles in several ways, which at times could result in conflicting styles. The method of resolving this conflict is called precedence. For example, you can define a style internally, meaning that it's written into a page, or externally, meaning that the style is defined in a separate document and linked to the page. In such a case, any conflicting styles in the internally defined styles take precedence over those defined in the external styles. Likewise, a style can be written inline, which means that it is applied to only one element on a page rather than the whole page like an internal style. In this case, the inline style would take precedence over the internal style.

So if I have an external style sheet that defines a piece of text as red, and no internal or inline style on that text, it appears red. If I also have an internal style declaring that text to be blue, the internal would win and the text would be blue. But if I also had an inline style defining the text as green, the inline style would triumph over the others and the text would appear green.

This chapter is from Teach Yourself Adobe Creative Suite, by Mordy Golding (Sams, 2004, ISBN: 067232752X). Check it out at your favorite bookstore today.

Buy this book now.


blog comments powered by Disqus
WEB AUTHORING ARTICLES

- Top WordPress Plugins for Social Media
- How to Install WordPress on WAMPP
- More of the Best Wordpress Plugins for Comme...
- Top Wordpress Plugins to Fight Spam
- More of the top Drupal modules for SEO
- Top Drupal Modules for SEO
- More Top Wordpress Plugins for SEO
- Website Optimization Tips
- Backup and Restore a Drupal Website and Data...
- 5 Best Web Font Services
- Web Font Embedding Services
- Joomla Site Administration
- Create PHP Pages that Use WordPress Templates
- Top Joomla Extensions for Social Networking
- Drupal Modules for Site Navigation

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 8 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials