How to Set Up a Background & Header in CSS Code

Save
Next Video:
How to Display a Javascript Variable in a Textbox....5

Setting up a background and header in CSS is something you can do at any time during the creation of your document. Set up a background and header in CSS with help from a self-taught web developer in this free video clip.

Part of the Video Series: Web Programming
Promoted By Zergnet

Comments

Video Transcript

Hello, I'm Christina Chiu. I'm a computer web specialist, and today I'm going to show you how to set up a background and header in CSS code. Now first we need to edit our HTML document so we need to input a header so I'm going to do it as a div ID so it would be div ID equals header and then header and then close my div ID and I'm going to edit now my test CSS code, so click on my test CSS code. So this is with all in the body tags of your HTML document. It's going to be body, background color black or background color or whatever color you would like your background color to be and since our header is a div ID we're going to use our pound sign and header and within that we could do width equals 100 pixels or the background color of the header could be blue. So that is how you set up a background and header using CSS. Thanks so much for your time. My name is Christina Chiu.

Featured

Related Searches

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!