Home arrow Style Sheets arrow Page 3 - Styling Web Page Headers with Transparent Background Images
STYLE SHEETS

Styling Web Page Headers with Transparent Background Images


Welcome to the last installment of the series “Building Corner Effects with Transparent Background Images.” This series, which is comprised of three parts, guides you through the process of building rounded and angled corners, in addition to creating other appealing effects, which can be easily applied to one of more elements of a web page to improve its overall visual presentation.

Author Info:
By: Alejandro Gervasio
Rating: 4 stars4 stars4 stars4 stars4 stars / 4
February 12, 2008
TABLE OF CONTENTS:
  1. · Styling Web Page Headers with Transparent Background Images
  2. · Review: building angled corners using a transparent background image
  3. · Building some fancy web page headers
  4. · Developing a final testing example

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

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.


blog comments powered by Disqus
STYLE SHEETS ARTICLES

- CSS Combinators: Working with Child Combinat...
- CSS Combinators: Using General Siblings
- Intro to CSS Combinators
- CSS Semicircles and Web Page Headers
- Drawing Circular Shapes with CSS3 and Border...
- More CSS Pagination Link Templates
- CSS Pagination Links
- Animated CSS3 Image Gallery: Advanced Transi...
- CSS3 Animated Image Gallery: Transitions
- CSS3 Properties: Fixed Heights with box-sizi...
- CSS3 Properties: Altering Strokes and 3D Eff...
- CSS3 Properties: Text-Stroke
- CSS3 Transitions: Width and Height Properties
- Creating a Drop Down Menu in CSS3
- Intro to CSS Transitions

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 5 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials