Style Sheets
  Home arrow Style Sheets arrow Page 3 - Styling Web Page Headers with Transparent ...
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? 
STYLE SHEETS

Styling Web Page Headers with Transparent Background Images
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2008-02-12

    Table of Contents:
  • Styling Web Page Headers with Transparent Background Images
  • Review: building angled corners using a transparent background image
  • Building some fancy web page headers
  • Developing a final testing example

  • 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


    Styling Web Page Headers with Transparent Background Images - Building some fancy web page headers


    (Page 3 of 4 )

    As I stated in the prior section, building attractive web page headers using a unique transparent background image is actually a straightforward process, since the whole development procedure is practically identical to the one that you learned for creating both angled and rounded corners.

    As you might have guessed, the only difference rests in designing a different background graphic, which will be properly provided to one or more elements of a web document via the declaration of a few basic CSS styles.

    But, in fact I’m getting ahead of myself. So first I’m going to create the  background image (in this case, resized for the sake of clarity), which looks like this:



    As shown above, the upper area of the previous image has a solid white color, while the rest of it is completely transparent. As you can see, this basic methodology for creating background images is indeed the real workhorse that allows us to build different corner and header effects with extreme ease. Quite simple, isn’t it?

    Besides, based upon the creation of the prior background picture, the visual appearance of a heading element included into a sample web page would look like this:



    See how simple it was to build an attractive web page header utilizing only one transparent background image? I bet you do! Nonetheless, this graphical example is still incomplete, since you might want to see how the pertinent background image can be used within the structure of an entire web document.

    Thus, based on this crucial requirement, in the next section I’ll set up a complete practical example that hopefully will demonstrate how to use the previous background picture to style some heading sections for a primitive web page.

    As I said before, this will be done in the next few lines, so click on the link shown below and keep reading.

    More Style Sheets Articles
    More By Alejandro Gervasio


       · In this final article of the series, you’ll learn how to build with minor efforts,...
     

    STYLE SHEETS ARTICLES

    - Image Replacement CSS Techniques
    - Using BlueTrip`s Success, Notice and Error C...
    - More Uses for the Thin and Caps CSS Classes ...
    - Styling Definition Lists with the BlueTrip C...
    - Styling Unordered and Ordered HTML Lists wit...
    - Using the BlueTrip CSS Framework`s Thin and ...
    - Adding Borders to Web Page Columns with Blue...
    - Introducing the BlueTrip CSS Framework
    - Using a Background Grid to Assist Web Page L...
    - Extending the Rule Of Thirds for Web Page La...
    - A Two-Column Web Page Layout Based on the Ru...
    - Using the Rule Of Thirds for Web Page Layout
    - Swapping Columns Using the Divine Ratio for ...
    - Using the Golden Ratio in Liquid Web Page De...
    - Fundamental Design Principles for Web Page L...







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