modcaml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Modcaml] cocanwiki css annoyance


From: Eric Stokes
Subject: [Modcaml] cocanwiki css annoyance
Date: Mon, 12 Dec 2005 14:12:43 -0800

Hello, the css of cocanwiki contains a minor annoyance,

The following is the h1 definition, it will cause the browser to always have a horizontal scroll bar (no matter how wide with window is)

h1 {
  background-color: #fff;
  border-bottom: 1px solid #000;
  position: absolute;
  top: 0px;
  left: 0px;
  font-size: 140%;
  width: 100%;
  padding-left: 2em;
}

This happens because the width is set to 100%, and their is padding defined. One easy solution is to simply set the width to 95%, which will account for the padding, and does indeed solve the problem. I tested this is firefox, camino, and safari and it works fine.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]