Lecture 8 - Dropdown Menus, Library Items, Templates

¡Supera tus tareas y exámenes ahora con Quizwiz!

Templates

- .dwt - a common structure that most of the pages follow - can have up to TWO templates associated within a website - but ONE is easier to work with

Library Item

- .lbi - reusable info of HTML code - used for individual page elements that appear frequently and may change later - should no go on every page - can be in dif spots on dif pages

Menus

- based on UL (unordered list) - one, two, or three levels - three levels hard to work with and use

Dropdown Menu CSS a:link, a:visited { text-decoration:none; } a:hover, a:active { blah }

- behaviour of links - text-decoration:none gets rid of default underline in links

Dropdown Menu CSS li { display:inline}

- forces <li> elements onto one line (removes line break) - for HORIZONTAL drop down

Dropdown Menu CSS li {display:block}

- puts <li> elements on a line of their own - for VERTICAL drop down

Dropdown Menu CSS ul { margin: 0; padding: 0; }

- removes browser defaults

Dropdown Menu CSS ul { list-style-type: none; }

- removes the bullets

Dropdown Menu

- two or more tiers - best practice is to not go more than two levels - must be a page title heading in the content area - indication of which top menu option it came from


Conjuntos de estudio relacionados

CNA 101 - Module 10 - Basic Router Configuration

View Set

Milady's Standard Nail Technology

View Set

ATI RN Adult Medical Surgical Practice B 2023

View Set

Driver's Ed Level 01 Study Guide

View Set