Web Authoring
  Home arrow Web Authoring arrow Page 11 - Using Adobe GoLive CS, Part 3
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB AUTHORING

Using Adobe GoLive CS, Part 3
By: Sams Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 23
    2004-11-16

    Table of Contents:
  • Using Adobe GoLive CS, Part 3
  • Rollovers
  • More on rollovers
  • Even More on Rollovers
  • Photoshop Integration
  • ImageReady and Illustrator Integration
  • InDesign Integration
  • Using Images from the InDesign Package
  • Using Cascading Style Sheets
  • Creating an Element Style
  • Creating a Class Style
  • External CSS
  • Link Warnings
  • Publishing the Site
  • Begin Creating

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Adobe GoLive CS, Part 3 - Creating a Class Style


    (Page 11 of 15 )

    Defining a class style is not much different from defining an element style, but unlike an element style, which automatically adheres to every occurrence of a specific HTML tag in a page, a class style needs to be manually applied wherever it is desired. Class style names begin with a . and won't work properly without it. Let's try one. Click the New Class button at the bottom of the CSS Editor and change the name of the style to .bodyclass.

    In the Font Properties area, choose White for the Color and Navy for the Back Color and 16px for the type Size. Hold down the Create New Font Family button and choose Trebuchet Set. The preview gives you a very clear idea of how this style will look (see Figure 9.83).

    Figure 9.83 The New Font Family pop-up menu. Notice how the CSS Editor gives you a preview of your style as you edit properties.


    Note - Whereas clicking the pop-up next to a color well provides a list from which to choose, clicking into the color well opens the Color palette, and clicking on the black triangle in the lower-right corner of the color well opens a temporary Swatches palette.


    Now click the Margin and Padding Properties button, and under Padding type 5 into the All field. When you click out of the input field, the attribute will automatically fill in for all four sides (see Figure 9.84).


    Note - The CSS Editor uses pixels by default in all the input fields. If you'd like to change to points, picas, inches, ems, percentage, or another unit, click the pop-up next to the field and make your selection.


    Figure 9.84 You can define Margin and Padding values for any side, or for all of them. If all sides are to use the same setting, you need to define only the All field and the others will be filled in automatically.

    Click the Border and Outline Properties button and make sure that Border is active. Type 2 into the All input field, and choose Lime from the color list and Solid from the border type pop-up (see Figure 9.85). Save your changes and go over to your HTML page. Type the words try it! and select them. In the toolbar, click the Apply CSS Style button. Holding your mouse over the check boxes invokes a style preview.

    Moving the mouse across the check boxes allows you to see how the style will look applied as an inline style, a block style, a paragraph style, and so on. Click the inline style box to both apply the style and dismiss the Apply CSS Style window simultaneously, and then preview your page.

    Figure 9.85 Add a border to finish off your style.

    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.

    More Web Authoring Articles
    More By Sams Publishing


     

    WEB AUTHORING ARTICLES

    - Yahoo Pipes: Worth a Look
    - Completing an EAR
    - Building and Deploying an EAR
    - New Nuke Security Sentinel: Worth Taking a C...
    - Administering Your CMS-Based Web Site
    - What You Need to Know Before Using a CMS
    - Introducing the Google Maps API
    - An Overview of the Yahoo User Interface Libr...
    - Basic configuration of osCommerce, concluded
    - Basic configuration of osCommerce, continued
    - Basic configuration of osCommerce
    - Deploying your Site with PHPEclipse, continu...
    - Deploying your Site with phpEclipse
    - Macromedia Captivate Review
    - Macromedia and Adobe Planning to Tie the Knot







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek