Change site style→

style-1 style-2
  1. nazenani
  2. >
  3. >
  4. >
  5. >
  6. Delete misterious space.

Delete misterious space.

Trouble of using clearfix.

When mysterious space is appared in web site, distrust code of clearfix.

Most mistakable parts are below properties.

Trouble of header and footer.

Sometimes mysterious space is appared in right side of header and footer when browser is shrinked, distrust “min-width”.

This case is shown by following coding.

  • Header and footer width is 100%.
  • contents width between header and footer is fixed.

To solve this problem….
Set contents width as min-width of header and footer.

http://detarame.moo.jp/2010/12/20/%E3%83%98%E3%83%83%E3%83%80%E3%83%BC%E3%80%81%E3%83%95%E3%83%83%E3%82%BF%E3%83%BC%E3%82%92%E3%83%96%E3%83%A9%E3%82%A6%E3%82%B6%E5%B9%85%E3%81%84%E3%81%A3%E3%81%B1%E3%81%84%E3%81%AB%E3%81%99%E3%82%8B/

http://coliss.com/articles/build-websites/operation/css/css-tutorial-fluid-header-footer-problem.html

comment

Fields with * is required.

go to related tags archive?

No tags setted.