john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

css html notes

width 100% makes a scroll bar

html form

option SELECTED value="a" preselects a default

html {overflow-x: hidden;}

also, any footer with text-align center and left 17% will cause a horiz scroll bar

How to have a footer at the bottom

#container {
   min-height:100%;
   position:relative;
}

<div id="container">
<contents>
<footer>

</div>  <!-- end container -->

http://matthewjamestaylor.com/blog/keeping-footers-at-the-bottom-of-the-page


  • « css image mouseover
  • css example »

Published

Feb 6, 2010

Category

css

~53 words

Tags

  • css 19
  • html 23
  • notes 13