ALBERT WAVERING BOBBY SENG. Week 3: CSS  Quiz  Announcements/questions/etc  Homework.

Slides:



Advertisements
Similar presentations
CSS Layout Crash Course An Advance CSS Tutorial. Inline vs. Block Many HTML elements have a default display setting of Block. Block elements take up the.
Advertisements

Part 5 Introduction to CSS. CSS Display - Block and Inline Elements A block element is an element that takes up the full width available, and has a line.
With CSS, a color is most often specified by: a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)" a color name - like "red“ Example h1.
Week 9 Using the Box Properties. 9-2 The CSS Visual Formatting Model Describes how the element content boxes should be displayed by the browser –Based.
Tutorial 4: Creating page layout with css
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
MORE Cascading Style Sheets (The Positioning Model)
CSS to Know And this is just the beginning. What to What?  Tags = regular HTML  Ids = #id, only one hashtag per page  Class =.class, many as you want.
Page Layout & Mobile Web Using columns, grid systems, etc… to layout sites for desktops and mobile.
LING 408/508: Programming for Linguists
CSS Introduction Cascading Style Sheets Provides a great deal of control over the presentation of the document HTML indicates both semantics of a document.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Doman’s Sections Information in this presentation includes text and images from
CSS Netcentric. What is CSS O CSS stands for Cascading Style Sheets O Styles define how to display HTML elements O Styles were added to HTML 4.0 to solve.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorials 3 & 4: Working With CSS.
CHAPTER 3 CSS & CSS3 อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
>> The “Box” Model. Pre-requisite Create a new project in Netbeans called Week5 Create a new html file and name it box.html Create a new css file and.
 Cascading Style Sheets (CSS) ◦ Used to specify the presentation of elements separately from the structure of the document.  Inline style ◦ declare.
CSS Class 2 -Add margins to elements on a page. -Set width and height of elements. - CSS shorthand properties for box model. -Style links. -Style tables.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Layout with Styles Castro Chapter 11. Tables vs. CSS You can produce “liquid layouts” (layouts that stretch as the browser is resized) using tables or.
LING 408/508: Programming for Linguists Lecture 10 September 30 th.
Web Development & Design Foundations with HTML5 7th Edition
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
CSS Fun damentals The Document Hierarchy Element Relationships The Box Model.
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, you will learn:  CSS Box Model  CSS properties for border  CSS properties for.
Web Foundations MONDAY, OCTOBER 7, 2013 LECTURE 7: CSS LINK COLORS, INTERMEDIATE CSS.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ CSS Training.
MTA EXAM HTML5 Application Development Fundamentals.
Extra-simplified.  Only truly happen when the CSS and HTML are defined as separate files (external style sheet) Introduction The main idea of CSS is.
Tutorial 4 Creating Page Layouts with CSS
Cascading Style Sheets CSS2 - a bit more advanced.
5 th ed: Chapter 4 4 th ed: Chapter 5 SY306 Web and Databases for Cyber Operations SlideSet #5: Advanced CSS.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring 2016 CSS Positioning 1.
Advanced CSS. Display  Hiding an element can be done in two ways  display:none  Element is hidden and will no longer take up space on the page  Can.
HTML and Dreamweaver November 11th. Agenda Box Model Displaying and positioning elements – Padding – Margin – Float – Display – Position HTML Demo.
Understanding CSS Cascading Style Sheets control the presentation of content in HTML pages Style Sheets separate formatting from the content –Styles defined.
ACT102 INTRODUCTION TO WEB DESIGN. Content Padding Border Margin.
Chapter 7.  Change body and link styles  Create a drop-down menu  Change color and font styles in the menu  Create a pop-up effect using CSS  Utilize.
CS 120: Introduction to Web Programming Lecture 10: Extra Features and Website Design Part 1 Tarik Booker CS 120 California State University, Los Angeles.
NAVIGATION USING HTML TO SET UP THE BASIC STRUCTURE OF A NAV BAR.
WebD Introduction to CSS By Manik Rastogi.
Laying out Elements with CSS
CSS Layouts: Positioning and Navbars
Webpage layout using CSS
Cascading Style Sheet List Properties Box Properties Pseudoclass
Advanced CSS BIS1523 – Lecture 20.
Cascading Style Sheets
Cascading Style Sheets (Layout)
Web Development & Design Foundations with HTML5 7th Edition
Chapter 7 Page Layout Basics Key Concepts
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5
The Internet 10/25/11 XHTML Tables
COMP 101 Review.
Cascading Style Sheet List Properties Box Properties Pseudoclass
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
MORE Cascading Style Sheets (The Positioning Model)
Float Property Elements that seem to “float" on the right or left side of either the browser window or another element are often configured using.
List Properties Box Properties Pseudoclass
Web Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5
The Internet 10/20/11 CSS Layout
ITI 133: HTML5 Desktop and Mobile Level I
Styling Links.
Positioning Boxes Using CSS
CGS 3066: Web Programming and Design Fall 2019 CSS Extra
Presentation transcript:

ALBERT WAVERING BOBBY SENG

Week 3: CSS  Quiz  Announcements/questions/etc  Homework

CSS Abilities  visibility: hidden  Box Model  Border  border-style: solid, etc  Outline  outline-style  Margin  margin-top, -right, -bottom, -left  Padding  padding-top, etc

CSS Rounded Corners  Useful tool for elements  Using circles or ellipses #rounded{ height: 5em; width: 12em; -moz-border-radius: 1em 4em 1em 4em; border-radius: 1em 4em 1em 4em; }   Generate circle-rounded corner CSS

Rounded Corners

CSS Positioning  Static  Default mode  Always positioned with respect to HTML flow  Fixed  Positioned relative to the browser window  Relative  Positioned relative to its normal position  Absolute  Positioned relative to the first non-static parent element

CSS Float  Refers to ‘pushing’ elements horizontally to one side or the other  float:right

CSS Align  Align block (full width + line break) elements horizontally.center { margin-left:auto; margin-right:auto; width:70%; background-color:#b0e0e6; }

CSS Pseudo-classes  Example: anchor styling a:link {color:#FF0000;} /* unvisited link */ a:visited {color:#00FF00;} /* visited link */ a:hover {color:#FF00FF;} /* mouse over link */ a:active {color:#0000FF;} /* selected link */  Some more (if interested, look up online)

CSS Psuedo-elements  :first-line  :first-letter  :before  :after

Website Design  What makes a good website?

Website Design: Don’t  

Website Design: Still Don’t 

Homework 3  Select a topic that interests you.  Create a website about this topic with at least three pages (separate HTML files)  Pages should include a sidebar and content area as shown in class. Pages should be styled with a separate CSS file.