Praktické použitie CSS a najbežnejšie layouty. František Haško, Lukáš Navrátil
|
|
- Tamsyn Rodgers
- 5 years ago
- Views:
Transcription
1 Praktické použitie CSS a najbežnejšie layouty František Haško, Lukáš Navrátil
2 Pred tým, než začneme Všetky ukážky kódu predpokladajú standard mód pri zobrazovaní html a css. Rôzne veci nemusia v quirk móde fungovať. box model margin: auto a iné
3 Čo je to layout? Page layout is the part of graphic design that deals in the arrangement and style treatment of elements (content). wikipedia - základný rozdiel oproti tlači - niektoré elementy na stránke môžu mať premenlivú veľkosť Dôsledok: každý layout webovej stránky je pohyblivý - nemôžeme vedieť ako stránka bude vyzerať, no musíme ju pripraviť na maximum možností
4 Druhy layoutov Dva základné druhy layoutov: pevný a voľný Pevný layout: Pevne zadaná šírku (width) svojich elementov. Voľný layout: Šírka niektorých elementov záleží od veľkosti okna prehliadača. Pozor! Aj pevný layout je pohyblivý - veľkosť písma, rôzne mierky pri grafických elementoch (obrázky, videa).
5 Pevný layout Ciele: trojstĺpcový layout, všetky stĺpce majú pevnú šírku usporiadanie na stránke nezáleží na poradí v kóde , rovnako dlhé stĺpce
6 1-2-3: HTML Stĺpce sú v rovnakom poradí na stránke ako v kóde. <div id="container"> <div id="head"></div> <div id="content"> <div id="left"></div> <div id="center"></div> <div id="right"></div> </div> <div id="foot"></div> </div>
7 1-2-3: CSS #container { width: 960px; margin: 0 auto; #content div { float: left; #center { width: 560px; #left, #right { width: 200px; background-color: #ccc; #foot,#head,#content { clear:both;
8 clear: both; VŽDY, keď máme nejaké elementy, ktoré majú nastavené float, tak musíme zabezpečiť, aby nejaký element, ktorý nasleduje neobtekal tieto predchádzajúce elementy. To zabezpečí clear:both, v našom prípade nastavený pre #foot. Často sa na tento účel používa trieda, ktorej nastavíme "neviditeľnosť" - nulové marginy, výšku a pod. a má práve clear:both. Ak chceme byť sémantický, použijeme ako tento oddeľovací prvok tag <hr /> s touto triedou.
9 Výsledok
10 2-1-3: HTML Obsah je na v kóde prvý. <div id="container"> <div id="head"></div> <div id="content"> <div id="left-cont"> <div id="center"></div> <div id="left"></div> </div> <div id="right"></div> </div> <div id="foot"></div> </div>
11 2-1-3: CSS K pôvodnému kódu pridáme ešte jednú definíciu (na koniec). #content div div { float: right; Poznámka: Aj na tomto môžeme vidieť výhody využívania netriviálnych selektorov v CSS.
12 Výsledok...to isté
13 Na čo je to potom dobré? Toto usporiadanie sa hodí "užívateľom", ktorí nepozerajú na grafické usporiadanie, ale na obsah. A pre nich platí, že čo je na stránke "skôr" (myslí sa v obsahu), tak to je dôležitejšie. Príklady: jednoduchšie prehliadače (mobil, tlačiareň, TV, ovládač na TV...) hlasové čítačky vyhľadávače, programové spracovanie
14 Výška stĺpcov Layout je na webe pohyblivý a výšku nevieme nastaviť elementom nejako "dynamicky", teda podľa výšky iných ako vnútorných elementov. height: 100% je problém - k čomu tých 100% referuje? Jednoduché riešenie: faux columns
15 Faux columns Čo to znamená, že sú stĺpce rovnako vysoké?...ak im dáme background-color, tak výška zafarbených elementov bude rovnaká... Tak im to zafarbenie dajme! Zjavne chceme, aby všetky tri stĺpce mali výšku spoločného nadradeného elementu - v našom prípade #content. Preto dáme #content vlastnosť background-image, o malej výške (stačí aj 1px) a potom zafarbený podľa šírky stĺpcov. Stĺpce teda nebudú rovnako dlhé, avšak budú vyzerať, že sú, čo je skoro vždy dostatočné riešenie.
16 Konečný výsledok
17 Mriežka V súčasnosti populárnou aplikáciou pevného layoutu je mriežka (v angličtine grid ). Ide o rozdelenie stránky na mriežku s pevnou šírkou jedného poľa, do ktorej sú vsádzané jednotlivé elementy. Najčastejšie sa používa šírka mriežky 960px (mnoho deliteľov). Vhodný web gs. Mriežku možno vytvoriť pomocou mnohých CSS frameworkov, napr. blueprintcss.
18 Príklad na mriežku
19 Voľný layout Rozdiely oproti pevnému: šírka nastavená v percentách - prispôsobenie sa veľkosti okna ťažšie vyladenie, viac kódu viac problémov, menej jednoduchých riešení box model Ciele: nastavenie pre maximum možností, či je šírka okna 400px, 800px alebo 1900px usporiadanie pevné okraje holy grail?
20 Čo potrebujeme naviac oproti pevnému min-width určí minimálnu šírku elementu max-width podobne maximálna šírka záporný margin
21 Záporný margin Záporny margin je jeden z najsilnejších nástrojov CSS, ktorý dokáže vyriešiť množstvo problémov - nad rámec tejto prednášky. Ako funguje: Margin je okraj okolo blokového elementu, na ktorý sa môžu prilížiť ostatné elementy. Z tejto definície vyplýva, že negatívny margin umožní, aby sa okolité elementy priblížili na zápornú hodnotu, t.j. tieto elementy sa budú prekrývať: <div style="float:left;">black</div> <div style="margin:5px px;">blue</div>
22 Záporný margin 2 Teraz si predstavme, že dáme záporný margin rovnajúci sa šírke elementu. Čo sa stane? Šírka elementu, ktorá je potrebná na výpočet, či tento element môže obtekať (alebo byť obtekaný) je 0. => to znamená, že obteká vždy Preto ak použijeme konštrukciu: <div style="width:70%;margin:0 auto;"> <div style="float:left; padding-right:150px"></div> <div style="width:150px; margin-right:-150px;"></div> </div> Tak získame voľný layout o 2 stĺpcoch, z toho dokopy budú zaberať 70% stránky a ten druhý bude mať 150px.
23 Voľný layout: HTML Splňuje 2-1-3, #left a #right sú pevné, #container má šírku v %. <div id="container"> <div id="head"></div> <div id="content"> <div id="center"></div> <div id="left"></div> </div> <div id="right"></div> <div id="foot"></div> </div>
24 Voľný layout: CSS #container { width: 70%; min-width: 550px; max-width: 960px; margin: 0 auto; #container div { float: left; #content { padding-right: 150px; #content div { float: right; #center { padding-left: 200px; #left{ width: 200px; margin-left: -200px; #right{ width: 150px; margin-left: -150px; #foot,#head { width: 100%; clear: both;
25 Problémy max/min-width nefunuje v <= IE6 min-width: dá sa vyriešiť cez záporny margin a border so šírkou rovnou min-width faux columns - s trochou hrania sa s pomermi a poziciovaním pozadia sa to občas dá, no nie vždy (pri dvoch stĺpcoch vždy). Existuje aj riešenie s naozaj rovnako dlhými stĺpcami - v zásade všetkým stĺpcom nastavíme maximálny paddingbottom a potom margin-bottom na záporné maximum. box-model - ak chceme v pevnom layoute padding, tak jednoducho odpočítame od width. Tu musíme použiť nový div. Táto metóda "obchádzania" box-modelu sa volá matrioška. div-ný kód - skôr technická výstraha: každý div musí mať opodstatnenie
26 Holy grail Súvisí s poslednou pripomienkou - ide o voľný layout s dvoma pevnými okrajovými stĺpcami na minimum div-ov v poradí a mal by to byť ultimate layout. Teda v skratke ide o CSS kód ku konštrukcii: <div id="container"> <div id="center"></div> <div id="left"></div> <div id="right"></div> </div> Jediný problém je, že nájsť ten istý pre všetky relevantné prehliadače je skutočne porovnateľné s hľadaním holy grail. Spraviť ho pre najnovšie verzie súčasných prehliadačov je však celkom jednoduché (ten má problém v IE7).
27 Taby Najprv HTML - štandardné menu <ul id="menu"> <li><a href="#"></a></li> <li><a href="#"></a></li> <li><a href="#"></a></li> <li><a href="#"></a></li> <li><a href="#"></a></li> </ul>
28 Základ CSS Vypneme odrážky, nastavíme rozloženie položiek do riadku a odkazy zobrazíme ako block. ul#menu { list-style-type:none; ul#menu li { list-style-type:none; float:left; ul#menu li a { display:block;
29 Sliding doors (SD) Technika na vytvorenie pozadí elementov, ktoré majú rôznu šírku, no rovnaké okraje. Spočíva v použití dvoch obrázkov - dverí: Veľké "dvere" zabezpečia dostatočnú veľkosť pozadia a menšie dokreslia pozadie do úplnosti.
30 Implementácia SD v CSS Predpoklad: menšie "dvere" majú šírku 15px, veľké sú dosť dlhé. HTML CSS <div id="outer"> <div id="inner"> Text </div> </div> Výsledok Text #outer { background: transparent url("left.png") left top no-repeat; margin-right: 15px; #inner { background: transparent url("right.png") right top no-repeat; margin-right: -15px;
31 Rozšírenie CSS pre taby ul#menu li { list-style-type:none; float:left; background: transparent url("left.png") left top no-repeat; margin-right: 15px; ul#menu li a { display:block; background: transparent url("right.png") right top no-repeat; margin-right: -15px; Teraz doplníme :hover štýly. Potrebujeme doplniť príslušné obrázky, kvôli čomu trošku odbočíme.
32 CSS Sprites Technika, pri ktorej umiestnime viac grafických prvkov do jedného súboru. Dobré na rýchlejšie načítavanie (kopa malých sa často načíta pomalšie) a istota, že máme naraz načítané všetky stavy elementu (napr. rollover, active a pod.). Potom už pri vložení pozadia iba zadáme záporné súradnice časti obrázka (nezadávame súradnice grafického prvku, ale kde bod kde má "začať" pozadie). Príklady: Na taby Facebook CSS Sprite
33 Rollover štýly Chceme aby sa menilo aj pozadie <li>, preto selektory: ul#menu li:hover { background-position: left -40px; ul#menu li:hover a { background-position: right -40px; Výsledok...a tým sme hotoví...skoro.
34 Problémy a poznámky 1 IE7 a IE6 negative margin bug Ak vnútorný element vystúpi mimo elementu pomocou záporného marginu, tak presahujúca časť je odrezaná. Vyriešime to podmienkovými komentármi - bežný spôsob opravy bugov pre IE. <!--[if lte IE 7]> <style type="text/css"> ul#menu li a { zoom: 1; position: relative; </style> <![endif]--> Zoom mu pridá haslayout, čo je konečne v IE8 vynechaná "vlastnosť" a position zaručí, že sa prečnievajúci obsah neodreže.
35 Problémy a poznámky 2 Veľkosť dverí Pozor na to, aby veľké "dvere" boli dostatočne veľké a to na šírku, aj na výšku (ako spomínané na začiatku, pohyblivý layout). Jeden kb, čo na to pôjde je zanedbateľný oproti hlúpej chybe spôsobenej dlhou položkou v menu. li:hover V IE6 samozrejme bez pomocného Javascriptu nefunguje hover na iné veci ako na <a>. Keďže v oboch naších vlastnostiach je hover na li, tak v IE6 to nebude veľmi vadiť. Ak chceme podporu aj na IE6, tak musíme vložiť do <a> element <span> a príslušne upraviť CSS.
36 Nahradenie textu obrázkom Toto je problém, ktorý má veľa zlých riešení a mnoho ich je takých, že človeka hneď napadnú. Prečo nie display: none a visibility: hidden? Ak vypneme obrázky, alebo ich nemáme zobrazené vôbec (čítačky), tak ani text nebude zobrazený. Podobne nie position:relative;left:-2000px;
37 Pixyho riešenie HTML <h1>praktické použití CSS<span></span></h1> CSS (bez rozmerov nahradzujúceho obrázka - obe elementy by bolo treba nastaviť na tieto rozmery) h1 { position: relative; overflow: hidden; h1 span { display: block;position:absolute; top:0;left:0; background-image: url("obrazok.gif"); z-index:1;
Databázové systémy. SQL Window functions
Databázové systémy SQL Window functions Scores Tabuľka s bodmi pre jednotlivých študentov id, name, score Chceme ku každému doplniť rozdiel voči priemeru 2 Demo data SELECT * FROM scores ORDER BY score
More informationkucharka exportu pro 9FFFIMU
požiadavky na export kodek : Xvid 1.2.1 stable (MPEG-4 ASP) // výnimočne MPEG-2 bitrate : max. 10 Mbps pixely : štvorcové (Square pixels) rozlíšenie : 1920x1080, 768x432 pre 16:9 // výnimočne 1440x1080,
More informationSpájanie tabuliek. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)
Spájanie tabuliek Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) 2011-2016 Úvod pri normalizácii rozdeľujeme databázu na viacero tabuliek prepojených cudzími kľúčmi SQL umožňuje tabuľky opäť spojiť
More informationAplikačný dizajn manuál
Aplikačný dizajn manuál Úvod Aplikačný dizajn manuál je súbor pravidiel vizuálnej komunikácie. Dodržiavaním jednotných štandardov, aplikácií loga, písma a farieb pri prezentácii sa vytvára jednotný dizajn,
More informationMgr. Martin Vesel M 114
Mgr. Martin Vesel martin.vesel@gmail.com M 114 Where 2 go W3C, CSS špecifikácia http://www.w3.org/standards/techs/css#w3c_all http://www.w3.org/tr/2011/rec-css2-20110607/ http://www.w3.org/tr/2012/rec-css3-mediaqueries-20120619/
More information<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***
Chapter 7 Using Advanced Cascading Style Sheets HTML is limited in its ability to define the appearance, or style, across one or mare Web pages. We use Cascading style sheets to accomplish this. Remember
More informationDatabázy (1) Prednáška 08. Alexander Šimko
Databázy (1) Prednáška 08 Alexander Šimko simko@fmph.uniba.sk Contents I Subqueries (poddopyty) konštrukcia WITH Section 1 Subqueries (poddopyty) Subquery (poddopyt) Použitie SELECTu na mieste, kde sme
More informationDatabázy (1) Prednáška 11. Alexander Šimko
Databázy (1) Prednáška 11 Alexander Šimko simko@fmph.uniba.sk Contents I Aktualizovanie štruktúry databázy Section 1 Aktualizovanie štruktúry databázy Aktualizácia štruktúry databázy Štruktúra databázy
More informationTAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a
> > > > CSS Box Model Think of this as a box that contains things, such as text or images. It can also just be a box, that has a border or not. You don't have to use a, you can apply the box model to any
More informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading
More informationGIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR DYNAMIC BACKGROUND IMAGE Before you begin this tutorial, you will need
More informationCSS for Page Layout Robert K. Moniot 1
CSS for Page Layout 2015 Robert K. Moniot 1 OBJECTIVES In this unit, you will learn: How to use style sheets for layout Controlling text flow, margins, borders, and padding Controlling visibility of elements
More informationPage Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning
Page Layout contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning 2 1 4.1
More informationMultimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3
Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows
More informationVYLEPŠOVANIE KONCEPTU TRIEDY
VYLEPŠOVANIE KONCEPTU TRIEDY Typy tried class - definuje premenné a metódy (funkcie). Ak nie je špecifikovaná inak, viditeľnosť členov je private. struct - definuje premenné a metódy (funkcie). Ak nie
More informationCSS: Layout, Floats, and More
CSS: Layout, Floats, and More CISC 282 September 27, 2017 Pseudo Selectors CSS selectors are typically document-related Reflect an element's context in the page Nesting, containing block, tag, class(es)...
More informationMedia Stylesheets and Navigation with CSS goodness. Webpage Design
Media Stylesheets and Navigation with CSS goodness Webpage Design Printing web pages the problem Here s a nice enough website that is clearly designed for the screen. The links are there because they work
More informationCSS: Lists, Tables and the Box Model
CSS: Lists, Tables and the Box Model CISC 282 September 20, 2017 Basics of CSS Style Name classes semantically What the style is intended for not what it does Define and apply styles efficiently Choose
More information- externý.css súbor sa prilinkuje v <head> elemente: <link rel="stylesheet" type="text/css" href="styles.css">
CSS Odporúčané tutoriály: http://www.jakpsatweb.cz/css/ http://www.w3schools.com/css/ Čo je CSS Cascading Style Sheet súbor kaskádnych štýlov definuje, ako sa majú zobrazovať HTML elementy. Zapisujú sa
More informationCreating a CSS driven menu system Part 1
Creating a CSS driven menu system Part 1 How many times do we see in forum pages the cry; I ve tried using Suckerfish, I ve started with Suckerfish and made some minor changes but can t get it to work.
More informationREPORT DESIGNER 1 VYTVORENIE A ÚPRAVA FORMULÁRA. úprava formulárov v Money S4 / Money S Vytvorenie formulára
REPORT DESIGNER úprava formulárov v Money S4 / Money S5 Informačný systém Money S4/S5 umožňuje upraviť tlačové zostavy tak, aby plne vyhovovali potrebám používateľa. Na úpravu tlačových zostáv slúži doplnkový
More informationBuilding Page Layouts
Building Page Layouts HTML & CSS From Scratch Slides 3.1 Topics Display Box Model Box Aesthetics Float Positioning Element Display working example at: h9ps://;nker.io/3a2bf Source: unknown. Please contact
More informationGIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple
More informationWhat is the Box Model?
CSS Box Model What is the Box Model? The box model is a tool we use to understand how our content will be displayed on a web page. Each HTML element appearing on our page takes up a "box" or "container"
More informationRegistrácia účtu Hik-Connect
Registrácia účtu Hik-Connect Tento návod popisuje postup registrácie účtu služby Hik-Connect prostredníctvom mobilnej aplikácie a webového rozhrania na stránke www.hik-connect.comg contents in this document
More informationWireframe :: tistory wireframe tistory.
Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17
More informationFundamentals of Web Technologies. Agenda: CSS Layout (Box Model) CSS Layout: Box Model. All HTML elements can be considered as a box or a container
ITU 07204: Fundamentals of Web Technologies Lecture 6: CSS Layouts (Intro) Dr. Lupiana, D FCIM, Institute of Finance Management Semester 2 Agenda: CSS Layout (Box Model) 2 CSS Layout: Box Model All HTML
More information12/9/2012. CSS Layout
Dynamic HTML CSS Layout CSS Layout This lecture aims to teach you the following subjects: CSS Grouping and nesting Selectors. CSS Dimension. CSS Display.. CSS Floating. CSS Align. 1 CSS Grouping and nesting
More informationBuilding Responsive Layouts
Building Responsive Layouts by Zoe Mickley Gillenwater @zomigi zomigi.com December 5, 2012 CSS Dev Conf hello nice to meet you 2 I don t use a mobile phone I have a process for eating these why responsive
More informationTP-LINK 150Mbps Wireless AP/Client Router Model TL-WR743ND Rýchly inštalačný sprievodca
TP-LINK 150Mbps Wireless AP/Client Router Model TL-WR743ND Rýchly inštalačný sprievodca Obsah balenia TL-WR743ND Rýchly inštalačný sprievodca PoE injektor Napájací adaptér CD Ethernet kábel Systémové požiadavky
More informationAssignments (4) Assessment as per Schedule (2)
Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like
More informationINFS 2150 Introduction to Web Development
INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout
More informationINFS 2150 Introduction to Web Development
Objectives INFS 2150 Introduction to Web Development 3. Page Layout Design Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout
More informationEECS1012. Net-centric Introduction to Computing. Lecture 5: Yet more CSS (Float and Positioning)
EECS 1012 EECS1012 Net-centric Introduction to Computing Lecture 5: Yet more CSS (Float and Positioning) Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M.
More informationClient-Side Web Technologies. CSS Part II
Client-Side Web Technologies CSS Part II Topics Box model and related properties Visual formatting model and related properties The CSS Box Model Describes the rectangular boxes generated for elements
More informationPoradové a agregačné window funkcie. ROLLUP a CUBE
Poradové a agregačné window funkcie. ROLLUP a CUBE 1) Poradové a agregačné window funkcie 2) Extrémy pomocou DENSE_RANK(), TOP() - Príklady 3) Spriemernené poradia 4) Kumulatívne súčty 5) Group By a Datepart,
More informationGIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: You may create your button in GIMP. Mine is 122 pixels by 48 pixels. You can use whatever
More informationWebsite Development (WEB) Lab Exercises
Website Development (WEB) Lab Exercises Select exercises from the lists below to complete your training in Website Development and earn 125 points. You do not need to do all the exercises listed, except
More information2005 WebGUI Users Conference
Cascading Style Sheets 2005 WebGUI Users Conference Style Sheet Types 3 Options Inline Embedded Linked Inline Use an inline style sheet to modify a single element one time in a page.
More informationThe Importance of the CSS Box Model
The Importance of the CSS Box Model Block Element, Border, Padding and Margin Margin is on the outside of block elements and padding is on the inside. Use margin to separate the block from things outside
More informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Review CSS Preview Review Transparent GIF headline Review JPG buttons button1.jpg button.psd button2.jpg Review Next Step Tables CSS Introducing CSS What is CSS? Cascading
More informationCertified CSS Designer VS-1028
VS-1028 Certification Code VS-1028 Certified CSS Designer Certified CSS Designer CSS Designer Certification requires HTML knowledge or VSkills HTML Designer Certification to allow organizations to easily
More informationWeb Design and Implementation
Study Guide 3 - HTML and CSS - Chap. 13-15 Name: Alexia Bernardo Due: Start of class - first day of week 5 Your HTML files must be zipped and handed in to the Study Guide 3 dropbox. Chapter 13 - Boxes
More informationWebsite Development with HTML5, CSS and Bootstrap
Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on
More informationBlock & Inline Elements
Block & Inline Elements Every tag in HTML can classified as a block or inline element. > Block elements always start on a new line (Paragraph, List items, Blockquotes, Tables) > Inline elements do not
More informationAnycast. Ľubor Jurena CEO Michal Kolárik System Administrator
Anycast Ľubor Jurena CEO jurena@skhosting.eu Michal Kolárik System Administrator kolarik@skhosting.eu O nás Registrátor Webhosting Serverové riešenia Správa infraštruktúry Všetko sa dá :-) Index Čo je
More informationTo place an element at a specific position on a page use:
1 2 To place an element at a specific position on a page use: position: type; top: value; right: value; bottom: value; left: value; Where type can be: absolute, relative, fixed (also static [default] and
More informationAPEX Developers - Do More With Less!!
APEX Developers - Do More With Less!! Roel Hartman Copyright 2014 APEX Consulting 2 LESS Leaner CSS SASS Syntactically Awesome StyleSheets SCSS Sassy CSS OOCSS Object Oriented CSS Issue 1 You need a CSS
More informationObsah. SOA REST REST princípy REST výhody prest. Otázky
REST Peter Rybár Obsah SOA REST REST princípy REST výhody prest Otázky SOA implementácie WEB (1990) CORBA (1991) XML-RPC (1998) WS-* (1998) SOAP RPC/literal SOAP Document/literal (2001) REST (2000) SOA
More informationCSS worksheet. JMC 105 Drake University
CSS worksheet JMC 105 Drake University 1. Download the css-site.zip file from the class blog and expand the files. You ll notice that you have an images folder with three images inside and an index.html
More informationWeb Authoring and Design. Benjamin Kenwright
CSS Div Layouts Web Authoring and Design Benjamin Kenwright Outline Review Why use Div Layout instead of Tables? How do we use the Div Tag? How to create layouts using the CSS Div Tag? Summary Review/Discussion
More informationSpôsoby zistenia ID KEP
Spôsoby zistenia ID KEP ID KEP (kvalifikovaný elektronický podpis) je možné zistiť pomocou napr. ovládacieho panela, prostredíctvom prehliadača Internet Expolrer, Google Chrome alebo Mozilla Firefox. Popstup
More informationCascading Style Sheets for layout II CS7026
Cascading Style Sheets for layout II CS7026 Understanding CSS float The CSS float property is also a very important property for layout. It allows you to position your Web page designs exactly as you want
More informationCreate a Web Page with Spry Navigation Bar. March 30, 2010
Create a Web Page with Spry Navigation Bar March 30, 2010 Open a new web page by selecting File on the Menu bar, and pick Open. Select HTML as the page type and none from the layout list. Finally, we press
More informationTestovanie bieleho šumu
Beáta Stehlíková FMFI UK Bratislava Opakovanie z prednášky Vygenerujeme dáta Vygenerujeme dáta: N
More informationCreate a three column layout using CSS, divs and floating
GRC 275 A6 Create a three column layout using CSS, divs and floating Tasks: 1. Create a 3 column style layout 2. Must be encoded using HTML5 and use the HTML5 semantic tags 3. Must se an internal CSS 4.
More informationPositioning in CSS: There are 5 different ways we can set our position:
Positioning in CSS: So you know now how to change the color and style of the elements on your webpage but how do we get them exactly where we want them to be placed? There are 5 different ways we can set
More informationZen Garden. CSS Zen Garden
CSS Patrick Behr CSS HTML = content CSS = display It s important to keep them separated Less code in your HTML Easy maintenance Allows for different mediums Desktop Mobile Print Braille Zen Garden CSS
More informationCSS Design and Layout Basic Exercise instructions. Today's exercises. Part 1: Arrange Page into Sections. Part 1, details (screenshot below)
CSS Design and Layout Basic Exercise instructions You may want to bring your textbook to Exercises to look up syntax and examples. Have a question? Ask for help, or look at the book or lecture slides.
More informationExploring Computer Science Web Final - Website
Exploring Computer Science Web Final - Website Objective: Create a website using rollover menus. You will be graded on the following: Is your CSS in a separate file from your HTML? Are your colors and
More informationREADSPEAKER ENTERPRISE HIGHLIGHTING 2.5
READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 Advanced Skinning Guide Introduction The graphical user interface of ReadSpeaker Enterprise Highlighting is built with standard web technologies, Hypertext Markup
More information5 Snowdonia. 94 Web Applications with C#.ASP
94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial
More informationMark Scheme. June Pearson Level 2 Certificate in Digital Applications. Unit 5: Coding for the Web
Mark Scheme June 016 Pearson Level Certificate in Digital Applications Unit 5: Coding for the Web General marking guidance All candidates must receive the same treatment. Examiners must mark the first
More informationGIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.
GIMP WEB 2.0 MENUS Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. Standard Navigation Bar Web 2.0 Navigation Bar Now the all-important question
More informationAPEX Developers Do More With Less!! How do YOU manage your APEX CSS? Storage Options 1. Web server 2. APEX repository 3. In line 4.
APEX Developers Do More With Less!! Roel Hartman Copyright 2016 APEX Consulting 2 How do YOU manage your APEX CSS? Storage Options 1. Web server 2. APEX repository 3. In line 4. Attribute 3 How do YOU
More informationCreating and Building Websites
Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 6 Slide 1 of 28 Week 6 Agenda
More informationDesigning the Home Page and Creating Additional Pages
Designing the Home Page and Creating Additional Pages Creating a Webpage Template In Notepad++, create a basic HTML webpage with html documentation, head, title, and body starting and ending tags. From
More informationCascading Style Sheets (CSS)
Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)
More informationCopyright 2016 by Martin Krug. All rights reserved.
MS Managed Service Copyright 2016 by Martin Krug. All rights reserved. Reproduction, or translation of materials without the author's written permission is prohibited. No content may be reproduced without
More informationCascading Style Sheets
4 TVEZEWXYHMNR LSTVSKVEQY-RJSVQEXMOENITSHTSVSZ RETVSNIOXIQ RERGSZER Q^)ZVSTWO LSWSGM PR LSJSRHYEVS^TS XYLPEZR LSQ WXE4VEL] 4VELE)9-RZIWXYNIQIHSZE% FYHSYGRSWXM CSS Cascading Style Sheets Lukáš Bařinka barinkl@fel.cvut.cz
More informationConstraint satisfaction problems (problémy s obmedzujúcimi podmienkami)
I2AI: Lecture 04 Constraint satisfaction problems (problémy s obmedzujúcimi podmienkami) Lubica Benuskova Reading: AIMA 3 rd ed. chap. 6 ending with 6.3.2 1 Constraint satisfaction problems (CSP) We w
More informationResponsive Web Design. From: Ethan Marcotte - Responsive Web Design 2011
Responsive Web Design From: Ethan Marcotte - Responsive Web Design 2011 Motivation Browser windows have their inconsistencies and imperfections Once web pages are published online, the designs are immediately
More informationNAVIGATION INSTRUCTIONS
CLASS :: 13 12.01 2014 NAVIGATION INSTRUCTIONS SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements CSS DROP-DOWN MENU
More informationMark Scheme (Results)
Mark Scheme (Results) Pearson Edexcel Certificate in Digital Applications Unit 5: Coding for the Web Edexcel and BTEC Qualifications Edexcel and BTEC qualifications are awarded by Pearson, the UK s largest
More informationWeb Designer s Reference
Web Designer s Reference An Integrated Approach to Web Design with XHTML and CSS Craig Grannell Graphical navigation with rollovers The final exercise in this chapter concerns navigation with graphical
More informationTvorba informačných systémov. 4. prednáška: Návrh IS
Tvorba informačných systémov 4. prednáška: Návrh IS Návrh informačného systému: témy Ciele návrhu ERD DFD Princípy OOP Objektová normalizácia SDD Architektonické pohľady UML diagramy Architektonické štýly
More informationFLOATING AND POSITIONING
15 FLOATING AND POSITIONING OVERVIEW Understanding normal flow Floating elements to the left and right Clearing and containing floated elements Text wrap shapes Positioning: Absolute, relative, fixed Normal
More informationMedia Types & Media Features
Media Types & Media Features Same HTML, Different CSS R. Scott Granneman r Jans Carton 1.6 2008 R. Scott Granneman Last updated 2018-08-21 You are free to use this work, with certain restrictions. For
More informationVzory, rámce a webové aplikácie
Vzory, rámce a webové aplikácie Jakub Šimko jakub.simko@stuba.sk Návrhové vzory (načo slúžia?) 1. Dobré zvyky v programovaní 2. Riešia často sa opakujúce problémy praxou overeným spôsobom 3. Pomôžu nám
More informationPROGRAMOVANIE WEBSTRÁNKY V HTML A CSS - FRONTEND
PROGRAMOVANIE WEBSTRÁNKY V HTML A CSS - FRONTEND MATURITNÝ PROJEKT Alex Benke STREDNÁ ODBORNÁ ŠKOLA, POD AMFITEÁTROM 7, LEVICE LEVICE 2013 PROGRAMOVANIE WEBSTRÁNKY V HTML A CSS - FRONTEND MATURITNÝ PROJEKT
More informationCSS: Layout Part 2. clear. CSS for layout and formatting: clear
CSS: Layout Part 2 Robert A. Fulkerson College of Information Science and Technology http://www.ist.unomaha.edu/ University of Nebraska at Omaha http://www.unomaha.edu/ CSS for layout and formatting: clear
More informationCOMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS
COMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS Goals Practice working with the CSS box model, positioning and layout Step 1. Create your infrastructure
More informationStyles, Style Sheets, the Box Model and Liquid Layout
Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of
More informationTHE HITCHHIKERS GUIDE TO HTML
THE HITCHHIKERS GUIDE TO HTML Computer Science I Designing technology solutions Mr. Barrett http://thestrategicblogger.com/ What is HTML HTML is a markup language for describing web pages HTML is used
More informationXamarin písanie Android a ios aplikácií v C#
www.dotnetcollege.cz Xamarin písanie Android a ios aplikácií v C# Roman Jašek Software Architect, Riganti s.r.o. MSP, MCP roman.jasek@riganti.cz Xamarin vs. Xamarin Forms ios C# UI Android C# UI Windows
More informationClass 9 / Instructor: Ira Epstein
Fashion Institute of Technology http://www.iraworks.com/fit Introduction to Web Design / CT244 Instructor: Ira Epstein iraepst@gmail.com Class 9 / 4-3-18 1) Attendance and Announcements... 2:10-2:20 a)
More informationTutorial 4: Creating Special Effects with CSS
Tutorial 4: Creating Special Effects with CSS College of Computing & Information Technology King Abdulaziz University CPCS-403 Internet Applications Programming Objectives Work with CSS selectors Create
More informationResponsive Web Design (RWD)
Responsive Web Design (RWD) Responsive Web Design: design Web pages, so that it is easy to see on a wide range of of devices phone, tablet, desktop,... Fixed vs Fluid layout Fixed: elements have fixed
More informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 9 Lecture Outline Text Styling Some useful CSS properties The Box Model essential to
More informationProduced by. Web Development. Eamonn de Leastar Department of Computing, Maths & Physics Waterford Institute of Technology
Web Development Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie CSS: Box Model Worked
More informationGoSquared Equally Rounded Corners Equally Rounded Corners -webkit-border-radius -moz-border-radius border-radius Box Shadow Box Shadow -webkit-box-shadow x-offset, y-offset, blur, color Webkit Firefox
More informationCSS Layout Part I. Web Development
CSS Layout Part I Web Development CSS Selector Examples Choosing and applying Class and ID names requires careful attention Strive to use clear meaningful names as far as possible. CSS Selectors Summary
More informationHTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.
HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information
More informationDreamweaver CS3 Lab 2
Dreamweaver CS3 Lab 2 Using an External Style Sheet in Dreamweaver Creating the site definition First, we'll set up the site and define it so that Dreamweaver understands the site structure for your project.
More informationImplementing a chat button on TECHNICAL PAPER
Implementing a chat button on TECHNICAL PAPER Contents 1 Adding a Live Guide chat button to your Facebook page... 3 1.1 Make the chat button code accessible from your web server... 3 1.2 Create a Facebook
More informationCSS: formatting webpages
CSS: formatting webpages Why CSS? separate content from formatting (style) style can be changed easily without rewriting webpages keep formatting consistent across website allows more advanced formatting
More informationBIM222 Internet Programming
BIM222 Internet Programming Week 7 Cascading Style Sheets (CSS) Adding Style to your Pages Part II March 20, 2018 Review: What is CSS? CSS stands for Cascading Style Sheets CSS describes how HTML elements
More informationUsing CSS for page layout
Using CSS for page layout Advantages: Greater typographic control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control Increased accessibility
More informationWebsite Design (Weekday) By Alabian Solutions Ltd , 2016
Website Design (Weekday) By Alabian Solutions Ltd 08034265103, info@alabiansolutions.com www.alabiansolutions.com 2016 TECHNOLOGIES DATE TIME Day 1 HTML Part 1 Intro to the web The web Clients Servers
More informationAGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES
CLASS :: 13 12.01 2014 AGENDA SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements TEMPLATE CREATION :: Why Templates?
More information