D
David
I have a web page that I initially designed using IE to view it. It
validates as XHTML Strict with the HTML validator. It looks fine in
IE, but dosn't look so great in Firefox, I was wondering if you had any
tips on making it Firefox friendly. Here is the HTML:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles/main.css"/>
<title>Liferipple</title>
</head>
<body>
<div id="header">
<div class="left"><h1 id="heading">Liferipple</h1></div>
<div class="right"><div id="headernav"><a href="./forum">Discussion
Board</a> | <a href="./contact.php">Contact</a></div></div>
</div>
<div class="miscbar"> </div>
<div id="navbody">
<div class="left">
<div id="navbar">
<div class="buttonscontainer">
<div class="buttons">
<a href="./index.php">Home</a>
<a href="./forum">Discussion Board</a>
<a href="./contact.php">Contact</a>
</div>
</div>
</div>
</div>
<div class="right">
<div id="body"> <dl class="bodytxt">
<dt>liferipple [lahyfrip-uhl]</dt>
<dd>A cumulative effect produced when one good act by a person
sets off a chain reaction of similar good acts.</dd>
</dl>
<p class="bodytxt">Welcome to liferipple.com, my name is David
Lewis. I believe we are all here to serve a purpose and do some good
in the world. If we all work as a group together I believe that we
<strong>can</strong> make a difference.</p>
<p class="bodytxt">I feel that if we are all focused on some
similar goals we can accomplish a lot more than if we were less
organized. Please join the Discussion Board so that we can communicate
our common goals to each other so that we can put our focus in the same
areas in order to accomplish much more.</p>
<p class="bodytxt">Keep in mind that this is a brand new website,
so it might take some time to get moving, so please tell everyone that
would be interested to join the Discussion Board. If you have any
questions please contact me via the Contact page.</p>
<br />
<span class="right" style="padding-right:50px;">Sincerely,<br
/>David Lewis, Founder</span>
</div>
</div>
</div>
<div class="miscbar">Copyright (C) 2006 Liferipple</div>
</body>
</html>
Here is the CSS:
body
{
font-family:verdana;
margin:0px;
}
#header
{
background-color:#8968CD;
height:75px;
}
#heading
{
margin: 15px 0px 0px 5px;
color:#ffffff;
}
#headernav
{
padding:50px 5px 3px 0px;
color:#ffffff;
font-weight:bold;
}
#headernav a
{
color:#ffffff;
font-weight:bold;
}
#navbody
{
width:100%;
}
#navbar
{
width:165px;
background-color:#cccccc;
border-right:1px dashed #535353;
height:5.0in;
}
#body
{
width:100%;
background-color:#fcfcfc;
height:5.0in;
}
..subheader
{
padding:3px 10px 3px 10px;
}
..miscbar
{
text-align:center;
background-color:#3B6AA0;
color:#ffffff;
font-weight:bold;
padding:3px;
font-size:10px;
}
..bodytxt
{
padding:3px 10px 3px 10px;
}
..formtxt
{
padding:0px;
margin:0px;
}
..formspacer
{
width:150px;
}
..left
{
float:left;
}
..right
{
float:right;
}
dt
{
font-weight:bold;
}
..buttonscontainer
{
width: 165px;
}
..buttons a
{
color: white;
background-color:#45297e;
padding: 2px;
padding-left: 3px;
display: block;
border-left: 10px solid #3B6AA0;
font: 13px Verdana, sans-serif;
font-weight: bold;
text-decoration: none;
text-align: left;
margin-top: 1px;
}
..buttons a:hover
{
border-left: 10px solid #8968CD;
text-decoration: none;
color: white;
}
You will see what I mean that it doesn't look right if you look at it
in IE and then Firefox. I tried some stuff with the position
attribute, but I can't get it right. Any help would be much
appreciated. Let me know if you need any other information. Thanks.
David
validates as XHTML Strict with the HTML validator. It looks fine in
IE, but dosn't look so great in Firefox, I was wondering if you had any
tips on making it Firefox friendly. Here is the HTML:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles/main.css"/>
<title>Liferipple</title>
</head>
<body>
<div id="header">
<div class="left"><h1 id="heading">Liferipple</h1></div>
<div class="right"><div id="headernav"><a href="./forum">Discussion
Board</a> | <a href="./contact.php">Contact</a></div></div>
</div>
<div class="miscbar"> </div>
<div id="navbody">
<div class="left">
<div id="navbar">
<div class="buttonscontainer">
<div class="buttons">
<a href="./index.php">Home</a>
<a href="./forum">Discussion Board</a>
<a href="./contact.php">Contact</a>
</div>
</div>
</div>
</div>
<div class="right">
<div id="body"> <dl class="bodytxt">
<dt>liferipple [lahyfrip-uhl]</dt>
<dd>A cumulative effect produced when one good act by a person
sets off a chain reaction of similar good acts.</dd>
</dl>
<p class="bodytxt">Welcome to liferipple.com, my name is David
Lewis. I believe we are all here to serve a purpose and do some good
in the world. If we all work as a group together I believe that we
<strong>can</strong> make a difference.</p>
<p class="bodytxt">I feel that if we are all focused on some
similar goals we can accomplish a lot more than if we were less
organized. Please join the Discussion Board so that we can communicate
our common goals to each other so that we can put our focus in the same
areas in order to accomplish much more.</p>
<p class="bodytxt">Keep in mind that this is a brand new website,
so it might take some time to get moving, so please tell everyone that
would be interested to join the Discussion Board. If you have any
questions please contact me via the Contact page.</p>
<br />
<span class="right" style="padding-right:50px;">Sincerely,<br
/>David Lewis, Founder</span>
</div>
</div>
</div>
<div class="miscbar">Copyright (C) 2006 Liferipple</div>
</body>
</html>
Here is the CSS:
body
{
font-family:verdana;
margin:0px;
}
#header
{
background-color:#8968CD;
height:75px;
}
#heading
{
margin: 15px 0px 0px 5px;
color:#ffffff;
}
#headernav
{
padding:50px 5px 3px 0px;
color:#ffffff;
font-weight:bold;
}
#headernav a
{
color:#ffffff;
font-weight:bold;
}
#navbody
{
width:100%;
}
#navbar
{
width:165px;
background-color:#cccccc;
border-right:1px dashed #535353;
height:5.0in;
}
#body
{
width:100%;
background-color:#fcfcfc;
height:5.0in;
}
..subheader
{
padding:3px 10px 3px 10px;
}
..miscbar
{
text-align:center;
background-color:#3B6AA0;
color:#ffffff;
font-weight:bold;
padding:3px;
font-size:10px;
}
..bodytxt
{
padding:3px 10px 3px 10px;
}
..formtxt
{
padding:0px;
margin:0px;
}
..formspacer
{
width:150px;
}
..left
{
float:left;
}
..right
{
float:right;
}
dt
{
font-weight:bold;
}
..buttonscontainer
{
width: 165px;
}
..buttons a
{
color: white;
background-color:#45297e;
padding: 2px;
padding-left: 3px;
display: block;
border-left: 10px solid #3B6AA0;
font: 13px Verdana, sans-serif;
font-weight: bold;
text-decoration: none;
text-align: left;
margin-top: 1px;
}
..buttons a:hover
{
border-left: 10px solid #8968CD;
text-decoration: none;
color: white;
}
You will see what I mean that it doesn't look right if you look at it
in IE and then Firefox. I tried some stuff with the position
attribute, but I can't get it right. Any help would be much
appreciated. Let me know if you need any other information. Thanks.
David