Adding a background image with CSS- The absolute basics CIT230-05 WINTER SEMESTER 2014 PRESENTED BY COLBY GRIFFITHS.

Slides:



Advertisements
Similar presentations
How To Make Your Own Web Page: Basic Web Design
Advertisements

Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
Unit 1.00 Project Environments. Directions  You will be manipulating text to make an impact on an American audience about the country/culture that you.
Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
Images By Tara Frieszell By Tara Frieszell. Adding images to your website will make it more interesting and add to the design. However, some viewers aren’t.
Cascading Style Sheets 1 Color and Backgrounds. Cascading Style Sheets 2 Color and Backgrounds Computer color basics Expression of color values using.
IMAGES Controlling size of images in CSS Aligning images in CSS Adding background images.
Images: HTML and CSS. The Bells page without images in Source View and Design View.
Background Images in HTML/CSS STEPHANIE BECKSTROM.
Adding Websites to a Folder  Putting sites into an already existing folder Putting sites into an already existing folder  Adding an image on the icon.
CIT 256 Organizing Large Websites: Divs, DW Templates Dr. Beryl Hoffman.
 a style language that defines layout & appearance of HTML documents  CSS covers fonts, colours, margins, lines, height, width, background images and.
How To Use Google Docs. 1. Go to the Google Docs website a) Go to b) Sign in using your username and password.
How To: Add HYPERLINKS and IMAGES with HYPERLINKS to your Outlook Signature. By: Tom Jackson
Web Design (5) Navigation (1). Creating a new website called ‘Navigation’ In Windows Explorer, open the folder “CU3A Web Design Group”; and then the sub-folder.
Website Development with Dreamweaver
To Proudly supported by ferrycake.com. We will be printing Cash for your Community tokens every week in the Carmarthen Journal and Llanelli Star. The.
11/6/13 MORE CSS!. TODAY’S AGENDA Review: float for positioning objects Review: CSS and color Introductions to: o CSS and images o CSS backgrounds o CSS.
Sharepoint Getting started. Please log on to the Adult and Family Education website: adulted.d11.org Then go to AFE Teaching Staff and click on Valerie.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
How To Use This Template The blank slide below will be your canvas for creating your very own custom header image! The slide has already been sized to.
How To Use This Template
How To Use This Template The blank slide below will be your canvas for creating your very own custom header image! The slide has already been sized to.
How To Use This Template The blank slide below will be your canvas for creating your very own custom header image! The slide has already been sized to.
Adding Graphics to Web Pages. CSS does not have any properties specifically aimed at formatting images Use properties you have already learned, i.e.,
Unit 3 Day 6 FOCS – Web Design. Journal Unit #3 Entry #4 Write the source code that would make the following display on a rendered page: Shopping List.
More CSS.
Definition CSS “Short for Cascading Style Sheets, a new feature being added to HTML that gives both Web site developers and users more control over how.
Website Editing From Gingerweb The Image Gallery.
Sports Website Creation. In this project you will design and produce your own website.
Chcslonline.org Text –wrapping around Images. chcslonline.org To wrap text around an image, lets set up a style in our style sheet. open a new notepad.
PowerPoint Basics Tutorial 1: Objects These tutorials will introduce you to the most basic and useful functions of Microsoft PowerPoint We’re going.
Colors and backgrounds The following CSS properties will be explained: 1.color 2.background-color 3.background-image 4.background-repeat 5.background-attachment.
DIV, Span, CSS.
FUNDAMENTALS OF HTML, XHTML & CSS Lesson 4. THE OBJECTIVES -  In this lesson you will begin coding in HTML to provide the structure  You will learn.
Quick Questions 1. What does HTML stand for? 2. What are the three main languages of the Web? 3. What is the purpose of the tags? 4. Why do we indent different.
HTML & CSS BasicsHTMLCSSQuizAnswers  The logo In this website(made of html and css Codes), you will learn some basics of How to use HTML and CSS codes.
Site Organization. The Need to Organize Site Files Thus far, we have placed all our site files into the main (root) website folder. As a website becomes.
Photoshop Image Slicing. Reasons to Image Slide To create links out of sliced images To optimise different areas. (flat areas of colour, such as logos,
Colors and backgrounds The following CSS properties will be explained: 1.color 2.background-color 3.background-image 4.background-repeat 5.background-position.
Dawn Pedersen Art Institute. What Are CSS Sprites? Back in the day, sprites were the images in games that swapped one little image for another in a specific.
Pictures, Pictures, Pictures!. Load your pictures:  Open your and save each picture to your computer. I suggest saving to the My Documents or My.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Royalton Hartland High School Web Design WEBSITE DRAGSTER IMAGES.
Step One: Introduction. Welcome to Follow My Clients! Once you log in, on the home page is your dash board. Here you will find your quick access buttons.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
The first thing you need to do is log in. This is what the “Log In Screen” looks like. Remember to get teacher permission and login information prior.
PATHNAMES LINKS BACKGROUND.  Pathnames in hyperlinks & image tags  Absolute pathnames: for links to web addresses  Relative pathnames: for links to.
Setting Up an OnCourse Website Debbie Hale. Sign on to
How to create an educational wiki. Laurie Roberts 2010.
HTML HTML stands for Hyper Text Markup Language. HTML is used in making the base of a Website You can just use an online website maker like weebly.com.
If you don’t have Google Earth downloaded already, you can go to to get it.
Web Design (15) CSS Opacity, Link Colours & Background Images.
 Pictures  Page backgrounds  Element backgrounds (list items!)  Link displays (arrows)  List markers.
CS 120: Introduction to Web Programming Lecture 10: Extra Features and Website Design Part 1 Tarik Booker CS 120 California State University, Los Angeles.
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
How to create a website from scratch.  You should have an internet access.  Visit  You need to create a new account OR.
Advanced CSS Layout Lesson 5.
How To Use This Template
How To Use This Template
How to for Dropbox.
Click on Adobe dreamweaver
Cascading Style Sheets™ (CSS)
How To Use This Template
Training & Development
Introduction to PowerPoint
To insert a hyperlink ( a web page address, URL) using text
Learning How to Create an Online Interactive Poster using
How To Use This Template
Publisher Tutorial.
Presentation transcript:

Adding a background image with CSS- The absolute basics CIT WINTER SEMESTER 2014 PRESENTED BY COLBY GRIFFITHS

The Goal The goal is to have a background picture on the website

Step 1 You can start with a blank page or one that already has some CSS work done on it. The page below has some styling.

Step 2 Find an image to use for your background. Make sure it is your picture or a picture you have permission to use. (This image works good for the website I am building.)

Step 3 Place the image in the image files folder for your website. Once the image is in the folder you are ready for CSS coding. In your CSS stylesheet it is time to write the code to make the image your background. For this tutorial we will use the picture for an entire background image. You can have multiple background images but we will just use one here. The easiest way will be to put it in the body. Example code: Body{ background-image: url(/images/windchill.png) }

Step 3 cont’d Example code: Body{ background-image: url(/images/windchill.png) } The URL is the location of the image on your website and the name of the image file. In this case the image is located in the “image” folder of my website and the name of the image is “windchill.png”.

Step 3 result The website now looks like this below. Notice that the image is completely in the background and the blue box covers up some of the image. Also on the right side the image is repeated because of the size of the screen.

Step 4 To keep the image from repeating you can use the code: body{ background-image: url(/images/windchill.png) background-repeat: no-repeat; } The result will be that the image displays only once.

Extras There are many things that you can do to style a background image. A good website to learn about those is:

My end result I chose to use the opacity style to make the image visible through the blue box on my website. Code that I used for this page: body{ background-image: url(/images/windchill.png); background-repeat: no-repeat; opacity : 0.8; }

The End