More css HTML and css 2012 Brian Davison. DIV Use... to mark a division or section of your Web page Lorem ipsum dolor sit amet, consectetur adipiscing.

Slides:



Advertisements
Similar presentations
Titolo Titolo Titolo Titolo Titolo Autore Titolo Titolo Titolo Titolo Titolo Autore DESCRIZIONE DELLA SPECIE Lorem ipsum dolor sit amet, consectetur adipiscing.
Advertisements

Title of Poster Here Doctors, Researchers, PhDs, etc… Department of Something Science, The Rockefeller University, New York, NY Title of Poster Here Doctors,
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum nec massa urna. Mauris et augue eros. Aenean consequat.
THIRD LINE DOCUMENT TITLE SECOND LINE Month day, year Presenter name Presenter title SUBHEAD SINGLE AND DOUBLE LINE.
Type Your Poster Title in Here This is where you should put your name and date References: Type your references in here: Aliquam nec lacus eget sapien.
Example KCL master page Example sub title (0 x indent) Example description (1 x indent) Introduction (0 x indent) Body text (1 x indent) lorem ipsum dolor.
Presentation Title (example size – 88 pt) Presenter’s Name (example size – 72 pt) University of Wisconsin – Superior (example size – 60 pt) Text Block.
Main Title And Second Line
Main Title And Second Line
PLACE TITLE OF POSTER PRESENTATION HERE
Your Department – Your Institution
TITLE. An engineer’s World
LINE DOCUMENT TITLE SECOND third line Month day, year
Presentation Title (example size – 60 pt) Presenter’s Name (example size – 44 pt) University of Wisconsin – Superior (example size – 40 pt) Text Block.
Presentation Title (example size – 88 pt) Presenter’s Name (example size – 72 pt) University of Wisconsin – Superior (example size – 60 pt) Text Block.
Template for a 32” x 54” poster presentation (your title goes here)
Poster Title Template, Times 72 font
PLACE TITLE OF POSTER PRESENTATION HERE
Template for a 3’ x 4’ poster presentation (your title goes here)
TITLE. An engineer’s World
Author Name. , Author Name
Presentation Title (example size – 60 pt) Presenter’s Name (example size – 48 pt) University of Wisconsin – Superior (example size – 40 pt) Text Block.
Presentation Title (example size – 60 pt) Presenter’s Name (example size – 48 pt) University of Wisconsin – Superior (example size – 40 pt) Text Block.
Presentation Title (example size – 88 pt) Presenter’s Name (example size – 72 pt) University of Wisconsin – Superior (example size – 60 pt) Text Block.
Place Title Here Header Header Header Header Header Header Header
DOCUMENT TITLE Presenter name(s) Presenter title Month day, year.
Template for a 4” x 8” poster presentation (your title goes here)
THIRD LINE SECOND LINE DOCUMENT TITLE SUBHEAD SINGLE AND DOUBLE LINE
Poster Title (Arial 65pts Bold)
Poster Title Your name Section Title Section Title Section Title
DOCUMENT TITLE Presenter name(s) Presenter title Month day, year.
Template for a 43” x 54” poster presentation (your title goes here)
Insert Title at minimum of pt Font; Larger if Possible
Template for a 36” x 54” poster presentation (your title goes here)
Template for a 4” x 4” poster presentation (your title goes here)
Author Name. , Author Name
PLACE TITLE OF POSTER PRESENTATION HERE
Presentation Title (example size – 60 pt) Presenter’s Name (example size – 44 pt) University of Wisconsin – Superior (example size – 40 pt) Text Block.
THIRD LINE SECOND LINE DOCUMENT TITLE SUBHEAD SINGLE AND DOUBLE LINE
Template for a 27” x 54” poster presentation (your title goes here)
TITLE. An engineer’s World
Add Your Poster Title Here
Presentation title lorem ipsum dolor sit amet, consectetur adipiscing elit Speaker name.
Place Title Here Header Header Header Header Header Header Header
Community Partner Name(s) – Add logo on right
Title Bar A B C A-1 A1 C1 And Sub Heading Abstract Introduction
TITLE. An engineer’s World
Presentation Title (example size – 88 pt) Presenter’s Name (example size – 72 pt) University of Wisconsin – Superior (example size – 60 pt) Text Block.
TITLE. An engineer’s World
Presentation Title (example size – 54 pt) Presenter’s Name (example size – 40 pt) University of Wisconsin – Superior (example size – 36 pt) Text Block.
Presentation Title (example size – 48 pt) Presenter’s Name (example size – 36 pt) University of Wisconsin – Superior (example size – 32 pt) Text Block.
Presentation Title (example size – 72 pt) Presenter’s Name (example size – 54 pt) University of Wisconsin – Superior (example size – 48 pt) Text Block.
Presentation Title (example size – 60 pt) Presenter’s Name (example size – 48 pt) University of Wisconsin – Superior (example size – 40 pt) Text Block.
Presentation Title (example size – 88 pt) Presenter’s Name (example size – 72 pt) University of Wisconsin – Superior (example size – 60 pt) Text Block.
Place Title Here Header Header Header Header Header
CLICK TO EDIT MASTER TITLE STYLE
Project Title Author(s) Introduction Results Discussion Methods
Poster´s title International
Poster Title Author #1, Author #2, Author #3
Presentation Title (example size – 60 pt) Presenter’s Name (example size – 48 pt) University of Wisconsin – Superior (example size – 40 pt) Text Block.
Presentation Title (example size – 54 pt) Presenter’s Name (example size – 40 pt) University of Wisconsin – Superior (example size – 36 pt) Text Block.
Project Title Author(s) Introduction Discussion Results Methods
Project Title Author(s) Background Results Discussion Hypothesis
Project Title Author(s) Background Results Discussion Hypothesis
Presentation Title (example size – 54 pt) Presenter’s Name (example size – 40 pt) University of Wisconsin – Superior (example size – 36 pt) Text Block.
Poster Title (Arial 65pts Bold)
Poster Title Template, Times 72 font
Main Title And Second Line
Title of Poster Your Name Heading 1 Heading 2 Heading 3 Heading 4
Main Title And Second Line
Presentation transcript:

More css HTML and css 2012 Brian Davison

DIV Use... to mark a division or section of your Web page Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla rhoncus aliquam metus id gravida.

css box model

Specifying Borders You can change three attributes of a border: style, width and colour p { border: solid thin black } You can specify these one at a time div { border-style: solid; border-width: thin; border-color: black; } You can specify the border in just one direction: div.c0 { border-left: solid thin black } Instead of style solid you can have –none –dotted –dashed

Specifying lengths and widths You can specify border width as: –2pt –2px –0.1cm –0.05em –thin –thick Using point size (pt) is good; this means that it will print on paper well.

Color, background color, padding You can change the background color from the default value “transparent” You can change the text color from the default value “black” The padding shows how much space there is between the text and the border. If you use a background color you usually need to increase the padding. h1 { color:white; background-color: black; padding 3pt;}

Positioning DIVs

The position attribute Inline –DIVs can appear next to each other Relative –Takes up space vertically on the page –Can be positioned horizontally Absolute –Does not take up space vertically –Always in the same position relative to the top of the page Fixed –Does not take up space vertically –Always in the same position relative to the window

Floating DIVS float = 'left' float = 'right' Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam blandit ornare vulputate. Nam venenatis orci at risus pretium imperdiet. Fusce quam quam, iaculis eget convallis elementum, condimentum sed nulla. Quisque sit amet metus vitae lorem auctor sollicitudin. Pellentesque eu odio libero. Curabitur nec mi arcu. Nulla consectetur ultrices turpis, in dictum diam placerat at. Phasellus odio felis, egestas vitae malesuada sagittis, imperdiet aliquam libero. Vestibulum velit orci, interdum a lacinia a, malesuada non ante. Etiam augue libero, sollicitudin fermentum elementum in, auctor quis libero. Fusce in libero eros. Phasellus leo arcu,. auctor a hendrerit eu, cursus vel augue. Curabitur est lectus, malesuada ut vehicula at, ultrices sit amet urna.

Rollover effects Use :hover as a selector: a:hover { red; } div#rollover div:hover { padding-left: 10 pt; }

Nesting rules A rule can select an element inside another: div#a div#b { color: red; }

Revealing hidden elements using :hover ? div#c:hover div#d{ display:block; } div#d{ display:none; float: right; }