Nov. 1, 2018 Drop-down menu.

Slides:



Advertisements
Similar presentations
Advance CSS (Menu and Layout). CSS Navigation MENU.
Advertisements

Layout using CSS. Using multiple classes In the head:.important{font-style:italic;}.title{color:red;} In the body: Here's a type of paragraph that is.
Very quick intro HTML and CSS. Sample html A Web Title.
FORMATTING IN CONTEXT. FOLLOW UPS ANCHOR POINTS MUST BE UNIQUE  If you have more than one, how does it know where to go?  They can be repeated across.
Links.  Styling Links  Links can be styled with any CSS property (e.g. color, font-family, background-color).  Special for links are that they can.
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
Navigation Bars Level 2 Extended Certificate Unit B12 Doing Business Online.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Diliev.com & pLOVEdiv.com  DIliev.com.
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:
Unit 20 - Client Side Customisation of Web Pages
Tutorial 4: Creating page layout with css
Lecture Cascading Style Sheets (CSS) Internal Style Sheets Classes.
Art 128 Interface Programming 1 In-class Presentation Week 11B.
Cascading Style Sheet Basics Pepper. Looking at the HTML See the surrounding tags See head, body, paragraph, header See the ending tags See the list.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Basics of Web Design 1 Copyright © 2016 Pearson Education, Inc., Hoboken NJ.
HTML5 Sections Old structuring elements –body, div, address, blockquote –headings: h1, h2, h3, … –ul, ol, table New structuring elements –header, footer,
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
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.
WEB DEVELOPMENT IMMERSIVE BUILDING PAGE LAYOUTS. 2 Box Model Scaling Positioning Boxes Box Aesthetics HTML 5 Semantic Tags CSS Resets TOPICS GENERAL ASSEMBLYWEB.
1 Cascading Style Sheets
WebD Introduction to CSS By Manik Rastogi.
Cascading Style Sheets (CSS) Internal Style Sheets Classes
Lab Styling Tabs with CSS Scott Lydiard
UNIT-II CSS.
More advanced HTML and CSS
CSS Presentation and Positioning
What is CSS.
Creating Page Layouts with CSS
Vendosja e Headers dhe Footers
Cascading Style Sheets (Layout)
Web Systems & Technologies
School of Business Administration
Bootstrap響應式網頁設計 (Responsive Web Design, RWD)
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
Cascading Style Sheets
COMP 101 Review.
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
2017, Fall Pusan National University Ki-Joune Li
6 Layout.
Laying out a website using CSS and HTML
Cascading Style Sheets
Robert Kiffe Senior Customer Support Engineer
December 1, 2017 Web Design.
Creating a Webpage with External CSS
Web Development & Design Foundations with HTML5
Intro to Web Development
How to use the CSS box model for spacing, borders, and backgrounds
Responsive Web Design (RWD)
Create an Unordered List
Creating a simple web page
USING IMAGES This is the bottom of the page. Note the alignment of having text before and after, at the top, in the middle and at the bottom. Code is on.
Web Development & Design Foundations with HTML5
Session 4: CSS Positioning
HTML & CSS Page Layout Lesson 1 ©2016 Sarah Wischmeyer
School of Business Administration
Web Client Side Technologies Raneem Qaddoura
CSc 337 Lecture 5: Grid layout.
Introduction to Styling
Presentation transcript:

Nov. 1, 2018 Drop-down menu

Drop-down Menus We will create a bare bone version the drop-down menu on page 487-89. In addition to the presentation that you experienced earlier in the semester, this will give you a fundamental understanding of how it works. To learn to make fancier dropdowns, you can: Learn through tutorials, Search for “CSS3 generators” to generate automatically online. Search for dropdown menu programs. Most require you to log on or to download the software.

Starting HTML and CSS /* dont think i need <!DOCTYPE html> <html lang="en"> <head> <title>Skeleton dropdown </title> <meta charset="utf-8"> <link href="dropstyles.css" rel="stylesheet"> </head> <body> <div id ="wrapper"> <nav> <ul> <li><a href="index.html">Home</a></li> <li><a href="coffee.html">Coffee</a></li> <li><a href="cuisine.html">Cuisine</a></li> <li><a href="directions.html">Directions</a></li> <li><a href="http://www.justnowhere.com">Contact</a></li> </ul> </nav> <header> <h1>Hello World</h1> </header> <p>This is a sentence that will repeat repeatedly and I will keep repeating. Don't read this sentence that will repeat repeatedly and I will keep repeating. Don't read this sentence that will repeat repeatedly and I will keep repeating. Don't read this sentence that will repeat repeatedly and I will keep repeating. Don't read this sentence that will repeat repeatedly and I will keep repeating. </p> </div> </body> </html> /* dont think i need header, main, nav, footer, figure, figcaption { display: block; } */ body { background-color: #66484d; } #wrapper { width: 800px; min-height: 400px; background-color: #ffe9ec; margin: auto; header { background-color: #ffd3d9 ; min-height: 125px; p { padding: 10px; nav { background-color: #bb0033; text-align: right; padding-right: 5px;

Emergency styles nav ul { list-style-type: none; margin: 0; } display: inline-block; nav li { padding: 0.5em; } display: block; nav a { text-decoration: none; nav a:visited { color: #EAEAEA; } nav a:link { color: #FFFFFF; } nav a:hover { color: #D3DBEB;} padding: 10px 20px; color: #000000; main { background-color: #ffffff; min-height: 400px; overflow: auto;