will
Posts: 88
|
Posted: 10/10/2008, 10:57 AM |
|
I dont know if anyone has had this problem but when you use firefox if one page does not have the scroll bars due to page size then your site will shift sometimes this can be irritating
below is a very simple fix and a nice solution
in your style sheet add the following line
html { min-height: 100%; margin-bottom: 1px; }
also if you would like to keep your grids and forms and records nice and neat in a table add the following to your style sheet
form {
MARGIN: 0px
}
and if you would like to make your errors look nice you can also use the following in your style sheet
.error {
BORDER-RIGHT: #ff0000 1px solid; BORDER-TOP: #ff0000 1px solid; BORDER-LEFT: #ff0000 1px solid; WIDTH: 95%; BORDER-BOTTOM: #ff0000 1px solid; BACKGROUND-COLOR: #ffdede
}
.error TD {
FONT-SIZE: 10px; COLOR: #ff0000; FONT-FAMILY: verdana, sans-serif
}
.error .title {
BACKGROUND-COLOR: #ff9393
}
.error .title TD {
FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #ffffff; FONT-FAMILY: verdana, sans-serif
}
Hope this helps new comers and the rest of the community
|
|
|
|