Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Publication Station
Search
Editing
Courses/Design & Technique-Essential Web Design/04
(section)
From Publication Station
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Positioning = CSS position property determines where an element will be positioned. Example: http://codepen.io/anon/pen/VKKWgY ==position:static== * the default position * dont offset possibilities * are positioned according to their default behavior ==position: relative== * very similar to that of the static value * position is in relation to the containing / parent element * Main difference: relative value accepts box offset properties top, right, bottom left. * Box offset properties allow precise positioning ==position: absolute== * elements accept box offset properties (left,right, top, bottom) * elements are removed from the normal flow of the document * and positioned in relation to the body element * off-set property are set in relation to the body and not containing element. E.g. <code>top: 10px;</code> will place the element 10px offset from the top of the browser window. '''Interesting art work using absolute position and Google books image: http://www.julienlevesque.net/books-scapes/ ''' ==position: fixed== * similar to absolute: off-set set in relation to the body * but the '''positioning is relative to the browser viewport''' * not scrolling with the page. * always present, as if fixed to the screen Based on http://learn.shayhowe.com/advanced-html-css/detailed-css-positioning/ ==More on position== * http://blog.fourthbit.com/2013/11/27/essential-css-positioning
Summary:
Please note that all contributions to Publication Station are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Publication Station:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Main navigation
Main page
Printmaking Studio
Print Studio
Dig. Publishing Studio
Namespaces
Grafiwiki
Random Page
Log in
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs