
Jan 5th, 2006, 14:28
|
 |
Highly Reputable Member
|
|
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Re: is it normal?
It is actually not normal for things to be extremely different. Although I cannot pin-point the exact cause of your problems, I can only suggest one thing that comes to mind; starting your CSS file off with this:
* {margin:0; padding:0;}
It helps to put everything in check and make sure all browsers start with the same foundation of margin and padding.
In fact, while I'm at it, here is my default style sheet I use on every site I make:
- Code: Select all
/*====================
Global Styles
======================*/
* {
margin: 0;
padding: 0;
}
body, html {
background-color: #fff;
color: #000;
padding: 0;
margin: 0;
}
body {
font: 85%/1.3em Tahoma, Arial, Helvetica, sans-serif;
}
/*====================
Link Styles
======================*/
a:link {
color: #00c;
}
a:visited {
color: #90c;
}
a:focus {
color: #06c;
}
a:hover {
color: #9c3;
}
a:active {
color: #f90;
}
/*====================
Heading Styles
======================*/
h1,h2,h3,h4,h5,h6 {
color: #000;
font-family: Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;
}
h1 {
font-size: 1.8em;
margin: 0 0 .9em;
}
h2 {
font-size: 1.6em;
margin: 0 0 .8em;
}
h3 {
font-size: 1.4em;
margin: 0 0 0.7em;
}
h4 {
font-size: 1.2em;
margin: 0 0 .6em;
}
h5 {
font-size: 1em;
margin: 0 0 .5em;
}
/*====================
Image Styles
======================*/
img {
border: 0;
}
/*====================
List Styles
======================*/
dl, ol, ul {
margin: 0 0 1em;
}
dt {
font-weight: bold;
}
dd {
margin: 0 0 0 3em;
}
ul {
padding:0 0 0 3em;
}
ol {
padding: 0 0 0 3em;
}
li {
margin: 0 0 0.5em;
}
/*====================
Quote Styles
======================*/
blockquote {
margin: 1em 0;
padding-left: 20px;
}
/*====================
General Styles
======================*/
code, kbd, pre {
font-family: Courier, "Courier New", Tahoma;
}
ins, del {
font-style: italic;
}
p {
margin: 1em 0;
}
abbr, acronym, dfn {
cursor: help;
}
/*====================
Site Styles
======================*/
|