B
Becky Lash
Hi, all,
I am trying to transition an existing site to css2 and xhtml. I'm in the
early stages of learning this technology too.
Firefox is stumping me on div behavior and absolute positioning. I've seen a
lot of discussion about this , but haven't quite found the answer to my
problem (or recognized it, if it is staring me in the face).
My menu graphics look fine in IE, but in Firefox, they are not lining up
correctly on the vertical axis. Do you know of any fixes?
www.smallbusinessproofreading.com/woodstone
Here's my .css, in case that helps:
ul, li {font-size: 12px; font-family: Verdana,Arial,sans-serif }
#QUOTE { font-style: italic; color: #0000A0 }
#new { color: #FF0000; text-decoration: none; font-family: Verdana, Arial,
sans-serif; font-weight: bold}
H1 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif; color: #74C3FC; text-decoration: none}
H2 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif; color: #74C3FC; text-decoration: none}
H3 {font-weight: bold; color: #21962E;font-family: Verdana, Arial,
sans-serif; text-decoration: none ; padding-left: 5em}
H4 {font-weight: bold; color: #74C3FC; font-family: Verdana, Arial,
sans-serif; text-decoration: none }
a {text-decoration: underline; font-family: Verdana, Arial, sans-serif;
font-weight: bold ; color: #FF0000}
..buynow {text-decoration: none; font-weight: bold; color: #FF0000}
a:visited { color: #996666; }
..praise {color: #0000A0; font-style:italic}
..default { background-color: #ffffff}
..menuitem { color: #157A85; text-decoration: underline; font-family:
Verdana,Arial,sans-serif; font-size: 14px; font-weight: bold }
..title { font-size: 11px; font-family: Verdana, Arial, sans-serif; color:
#880606}
..saheading { font-weight: bold; font-size: 14px; font-family: Verdana,
Arial, sans-serif; color: #74C3FC}
..smallbody { font-size: 14px; font-family: Verdana, Arial, sans-serif;
color: #000000; margin-top: auto; margin-right: auto; margin-bottom: auto;
margin-left: auto}
..quotation { color: #003366; font-size: 12px; font-family:
Verdana,Arial,sans-serif ;font-style:italic}
h5 { font-weight: bold; color: #74C3FC; font-family: Verdana, Arial,
sans-serif; text-decoration: none ; font-size: 16px}
h6 { color: #74C3FC; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px; font-weight: bold; text-align: center}
p.awards { text-align: center; padding: 2em 2em }
div.imgholder {
float:left;
background: url(dropshadow.png) no-repeat bottom
right;
background: url(dropshadow.gif) no-repeat bottom right;
margin: 10px 7px 0 10px;
}
div.imgholder img {
display:block;
position:relative;
background-color: #fff;
border: 1px solid #666;
margin: -3px 5px 5px -3px;
padding: 2px;
}
hr {
color: #DB581F;
background-color: #DB581F;
width: 80%;
height: 3px;
margin-left: auto;
margin-right: auto;
; text-align: left
}
div.body { font-size: 12px; font-family: Verdana, Arial, sans-serif;
padding-right: 10px; padding-bottom: 10px; padding-left: 20px; padding-top:
0px; height: auto; width: auto; border-left-width: medium; margin-right:
0px; margin-bottom: 0px; margin-left: 0px; float: right; margin-top: 0px;
clear: right}
p { font-size: 12px; font-family: Verdana, Arial, sans-serif; height: auto;
width: auto; border-left-width: medium;margin-top:0;}
p.body { font-size: 12px; font-family: Verdana, Arial, sans-serif;
padding-right: 10px; padding-bottom: 10px; padding-left: 20px; padding-top:
0px; border-left-width: medium}
..features { text-decoration: none; font-weight: bold; color: #21962E}
thanks for any advice! I am new at this.
Becky
I am trying to transition an existing site to css2 and xhtml. I'm in the
early stages of learning this technology too.
Firefox is stumping me on div behavior and absolute positioning. I've seen a
lot of discussion about this , but haven't quite found the answer to my
problem (or recognized it, if it is staring me in the face).
My menu graphics look fine in IE, but in Firefox, they are not lining up
correctly on the vertical axis. Do you know of any fixes?
www.smallbusinessproofreading.com/woodstone
Here's my .css, in case that helps:
ul, li {font-size: 12px; font-family: Verdana,Arial,sans-serif }
#QUOTE { font-style: italic; color: #0000A0 }
#new { color: #FF0000; text-decoration: none; font-family: Verdana, Arial,
sans-serif; font-weight: bold}
H1 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif; color: #74C3FC; text-decoration: none}
H2 { font-weight: bold; font-size: 14px; font-family: Verdana, Arial,
sans-serif; color: #74C3FC; text-decoration: none}
H3 {font-weight: bold; color: #21962E;font-family: Verdana, Arial,
sans-serif; text-decoration: none ; padding-left: 5em}
H4 {font-weight: bold; color: #74C3FC; font-family: Verdana, Arial,
sans-serif; text-decoration: none }
a {text-decoration: underline; font-family: Verdana, Arial, sans-serif;
font-weight: bold ; color: #FF0000}
..buynow {text-decoration: none; font-weight: bold; color: #FF0000}
a:visited { color: #996666; }
..praise {color: #0000A0; font-style:italic}
..default { background-color: #ffffff}
..menuitem { color: #157A85; text-decoration: underline; font-family:
Verdana,Arial,sans-serif; font-size: 14px; font-weight: bold }
..title { font-size: 11px; font-family: Verdana, Arial, sans-serif; color:
#880606}
..saheading { font-weight: bold; font-size: 14px; font-family: Verdana,
Arial, sans-serif; color: #74C3FC}
..smallbody { font-size: 14px; font-family: Verdana, Arial, sans-serif;
color: #000000; margin-top: auto; margin-right: auto; margin-bottom: auto;
margin-left: auto}
..quotation { color: #003366; font-size: 12px; font-family:
Verdana,Arial,sans-serif ;font-style:italic}
h5 { font-weight: bold; color: #74C3FC; font-family: Verdana, Arial,
sans-serif; text-decoration: none ; font-size: 16px}
h6 { color: #74C3FC; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px; font-weight: bold; text-align: center}
p.awards { text-align: center; padding: 2em 2em }
div.imgholder {
float:left;
background: url(dropshadow.png) no-repeat bottom
right;
background: url(dropshadow.gif) no-repeat bottom right;
margin: 10px 7px 0 10px;
}
div.imgholder img {
display:block;
position:relative;
background-color: #fff;
border: 1px solid #666;
margin: -3px 5px 5px -3px;
padding: 2px;
}
hr {
color: #DB581F;
background-color: #DB581F;
width: 80%;
height: 3px;
margin-left: auto;
margin-right: auto;
; text-align: left
}
div.body { font-size: 12px; font-family: Verdana, Arial, sans-serif;
padding-right: 10px; padding-bottom: 10px; padding-left: 20px; padding-top:
0px; height: auto; width: auto; border-left-width: medium; margin-right:
0px; margin-bottom: 0px; margin-left: 0px; float: right; margin-top: 0px;
clear: right}
p { font-size: 12px; font-family: Verdana, Arial, sans-serif; height: auto;
width: auto; border-left-width: medium;margin-top:0;}
p.body { font-size: 12px; font-family: Verdana, Arial, sans-serif;
padding-right: 10px; padding-bottom: 10px; padding-left: 20px; padding-top:
0px; border-left-width: medium}
..features { text-decoration: none; font-weight: bold; color: #21962E}
thanks for any advice! I am new at this.
Becky