Creating your own Styles

Slides:



Advertisements
Similar presentations
CSS-Formatting Review Cascading Style Sheets addstyle to your HTML web pages.
Advertisements

Learn about Cascading Style Sheets LACUNY Web Management Roundtable October 21, 2005
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Adding styles. Three alternatives HIT151 Web 'n' Net Web Page Basics /*stylesheet*/ h1,h2,h3 { font-family: verdana, arial, 'sans serif'; } p,table,li.
CSS. CSS, or Cascading Styles Sheets, is a way to style HTML. Whereas the HTML is the content, the style sheet is the presentation of that document.
Introduction to CSS.
Today’s Goals What is HTML?
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
Cascading Style Sheet CSS CS1520 Ali Alanjawi. 2 TA Information Ali Alanjawi Homepage: Office:
Class four: the box model and positioning. is an HTML tag which allows you to create an element out of inline text. It doesn’t mean anything! try it:
Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition.
Prepared by ackoo Styli n g your page (font type, font size, colors, text decoration, alignment, set margin, table padding, etc.) References: W3Schools.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
STYLING THE WEBSITE - EXTERNAL CSS BY JORGE MARTINEZ.
Font Families by Anthony Asay. Font Family ●Font family or font face is the typeface that is applied to the text by a web browser. ●There are a lot of.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
The Web Wizard’s Guide To DHTML and CSS Chapter 1 A Review of CSS1.
ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.
October 21, Learn about Cascading Style Sheets LACUNY Web Management Roundtable October 21, 2005
Cascading Style Sheets
Cascading Style Sheets August 25-26, What is CSS? a means for web authors to separate the appearance of web pages from the content of web pages.
Designing Web Pages The case for CSS. The Power of CSS css Zen Garden
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
CSS Syntax. Syntax The CSS syntax is made up of three parts: a selector, a property and a value: selector {property: value}
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
WebD Introduction to CSS By Manik Rastogi.
CSS for Styling Text.
CSS Cascading Style Sheets
Web Development & Design Foundations with XHTML
Getting Started with CSS
Style Sheets.
The Internet 10/11/11 Fonts and Colors
Creating Your Own Webpage
>> Introduction to CSS
Introduction to CSS.
Cascading Style Sheets (CSS)
Intro to CSS CS 1150 Fall 2016.
Filezilla problems continuing
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Website Design 3
Introduction to CSS.
Cascading Style Sheets
Cascading Style Sheets 2
Intro to CSS CS 1150 Spring 2017.
CSS.
The Internet 10/13/11 The Box Model
CS134 Web Design & Development
Stylin’ with CSS.
Cascading Style Sheets Color and Font Properties
Introduction to Cascading Style Sheets (CSS)
Working with Cascading Style Sheets (CSS)
Working with Cascading Style Sheets (CSS)
What are Cascading Stylesheets (CSS)?
The Internet 10/6/11 Cascading Style Sheets
Cascading Style Sheets
Web Development & Design Foundations with H T M L 5
Web Design and Development
CSS Styles Fonts and Colors.
CSS.
Introduction to CSS.
Web Design & Development
Stylin’ with CSS.
External Style Sheets.
Stylin’ with CSS.
Session IV Chapter 15 - How Work with Fonts and Printing
Introduction to Styling
CS332A Advanced HTML Programming
Presentation transcript:

Creating your own Styles

Recall a sample css style body { font-family: Verdana, "Minion Web", Helvetica, sans-serif; font-size: 1em; text-align: justify; } Selector  Opening Curly brace Property name Value Closing Curly brace

Get ready 1st you need a web page. (Download from Web site) 2nd a css style sheet (Download from the Web) Both can be accessed from the Web 10 site.

Linking a style sheet Open the web page Make an external link to the style sheet This is what the code looks like: <link rel="stylesheet" href="stylesheetname.css"> where stylesheetname.css refers to the name of your file, and an appropriate path, if needed.

Edit the style sheet Add this to your style sheet .specialfont { font-family: font-family: "Times New Roman", Times, serif; color: green }

To use special style you must: Apply the style Voila.. Your own unique style that can be applied to any element in your web page