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  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
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: 5 stars5 stars5 stars5 stars5 stars / 3
    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
     
    Iron Speed
     
    ADVERTISEMENT

    Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!

    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

    - Creating Gradients for Individual Containers...
    - Creating Gradients for Web Page Headers with...
    - SEO Scrolling Frames Problem Solved
    - Building Cross-Browser Background Effects wi...
    - CSS: Pseudo
    - Using PNG Images to Build Background Effects
    - CSS: Continuing the Clarification of CSS Cla...
    - CSS: Top Secret Classification
    - CSS: Dimensions
    - CSS: Margins and Padding
    - CSS: Crossing the Border
    - CSS: Text, Fonts, and Tables
    - CSS: Working with Text
    - CSS: Backgrounds
    - CSS for the Newbie


    Iron Speed





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway