Health & Medical Diet & Fitness

How to Make a Header Bar in CSS

  • 1). Create a label for the header bar. For this example, use:

    #hdrbar{

  • 2). Define the banner size. For consistent results on a variety of screen sizes, define the width as a percentage of the page. Specify the display height using pixels in the code:

    width: 100%;

    height: 80px;

  • 3). Specify the border type and color by adding:

    border: solid black;

  • 4). Set the background and text colors and close the header bar definition with the code:

    background: blue;

    color: black;

    }

Related posts "Health & Medical : Diet & Fitness"

Want to Know How to Really Lose Weight Fast? 5 Tips to Melt the Fat Away

Diet & Fitness

Crackers On Medifast: Is This Allowed?

Diet & Fitness

Before I Buy Nutrisystem, Do I Need To Research Recipes And Meals?

Diet & Fitness

5 Outstanding Benefits of the Raw Food Diet

Diet & Fitness

How to Cut Pickles for Canning

Diet & Fitness

High Protein Low Carb Diets - Do They Work & Are They Safe?

Diet & Fitness

Alkaline Diet and Cancer - Cancer Cells Cannot Live In An Alkaline Environment

Diet & Fitness

Top 3 Tips to Help Avoid Getting Fat During the Holidays

Diet & Fitness

The Lowdown On Low Carbohydrate Diet Plan

Diet & Fitness

Leave a Comment