kappel
14th August 06, 10:29 AM
Hi I just learned to build sites using only CSS/XHTML instad of tables.
Have som questions though.
Why is the so big diff in IE and Firefox, what can I do to change it?
Then I need help with the textad divs, I want them in two colums.
my dev site..
http://www.newmarket.se/sportnik/
body { background: #fff url(../images/bg_grey.gif); background-repeat: repeat-x; margin: 0px; font-family: 'Arial'; font-size : 11px; color : #3b3b3b;}
/* General Links */
a:link { text-decoration : none; color : #00508f; border: 0px;}
a:active { text-decoration : underline; color : #00508f; border: 0px;}
a:visited { text-decoration : none; color : #00508f; border: 0px;}
a:hover { text-decoration : underline; color : #00508f; border: 0px;}
input { background: #f3f3f3; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color: #4b4b4b; }
select { background: #f3f3f3; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color: #4b4b4b; }
textarea { background: #f3f3f3; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color:#4b4b4b; padding: 6px;}
/* General Class */
form { padding: 0px; margin: 0px; }
img { border: none;}
/* Main contain (FULL PAGE) */
#maincontain { width:990px; background: #ffffff; margin: 0px; text-align: left;}
/* Annons Topp */
#toppad { width:980px; margin: 5px 5px 25px 5px; height:120px; font-family: 'Arial'; font-size : 9px; color : #666666;}
/* Header */
#header { width:980px; height:35px;}
#header h1 { margin: 0; padding-left: 16px;}
#header h1 a {width: 154px; height: 40px; background: url(../images/logo_sportnik.gif) no-repeat; cursor: hand; float: left; }
#header h1 a:hover { float: left; color: #fff; background: url(../images/logo_sportnik.gif) no-repeat bottom; cursor: hand; text-decoration: none;}
#header #textad { margin-left: 222px; width: 290px;}
#header #textad h1 { font-family: 'Arial'; font-size : 9px; color : #666666; margin: 0; padding: 0;}
#header #textad a {font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color:#3b3b3b; text-decoration : none;}
#header #textad a:hover { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color:#6b6b6b; text-decoration : none;}
#block {
padding-left: 2px;
background: #f1f1f1;
width:180px;
}
Have som questions though.
Why is the so big diff in IE and Firefox, what can I do to change it?
Then I need help with the textad divs, I want them in two colums.
my dev site..
http://www.newmarket.se/sportnik/
body { background: #fff url(../images/bg_grey.gif); background-repeat: repeat-x; margin: 0px; font-family: 'Arial'; font-size : 11px; color : #3b3b3b;}
/* General Links */
a:link { text-decoration : none; color : #00508f; border: 0px;}
a:active { text-decoration : underline; color : #00508f; border: 0px;}
a:visited { text-decoration : none; color : #00508f; border: 0px;}
a:hover { text-decoration : underline; color : #00508f; border: 0px;}
input { background: #f3f3f3; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color: #4b4b4b; }
select { background: #f3f3f3; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color: #4b4b4b; }
textarea { background: #f3f3f3; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color:#4b4b4b; padding: 6px;}
/* General Class */
form { padding: 0px; margin: 0px; }
img { border: none;}
/* Main contain (FULL PAGE) */
#maincontain { width:990px; background: #ffffff; margin: 0px; text-align: left;}
/* Annons Topp */
#toppad { width:980px; margin: 5px 5px 25px 5px; height:120px; font-family: 'Arial'; font-size : 9px; color : #666666;}
/* Header */
#header { width:980px; height:35px;}
#header h1 { margin: 0; padding-left: 16px;}
#header h1 a {width: 154px; height: 40px; background: url(../images/logo_sportnik.gif) no-repeat; cursor: hand; float: left; }
#header h1 a:hover { float: left; color: #fff; background: url(../images/logo_sportnik.gif) no-repeat bottom; cursor: hand; text-decoration: none;}
#header #textad { margin-left: 222px; width: 290px;}
#header #textad h1 { font-family: 'Arial'; font-size : 9px; color : #666666; margin: 0; padding: 0;}
#header #textad a {font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color:#3b3b3b; text-decoration : none;}
#header #textad a:hover { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color:#6b6b6b; text-decoration : none;}
#block {
padding-left: 2px;
background: #f1f1f1;
width:180px;
}