Rethor
01-15-2008, 04:09 PM
I'm relatively new to CSS and HTML and I am having some problems with how my UL's seem to be appearing on my page and how the code appears in different browsers. For the UL's I just want them to stop overlapping each other to where they appear one after the other. My site also doesn't appear to be responding with the CSS across multiple browsers, on IE it seems to be appearing correctly minus the UL part but on Firefox it's not appearing the way I want it at all.Any and all help is appreciated.
CSS: body { background-image: url(/csca website/_images/background.gif); }
p {
text-indent: 3em;
}
#hnavigation li {
display : inline;
}
#hnavigation ul, #vnavigation ul, #quicklinks ul {
list-style: none;
margin: 0;
padding: 0;
padding-top: 4px;
}
#hnavigation a:link, #hnavigation a:visited, #vnavigation a:link, #vnavigation a:visited, #quicklinks a:link,
#quicklinks a:visited {
margin-rigfht: 2px;
padding: 3px 10px 2px 10px;
color: #ffff00;
background-color: #6699cc;
text-decoration: none;
border-top: 1px solid #003399;
border-left: 1px solid #003399;
border-bottom: 1px solid #003399;
border-right: 1px solid #003399;
}
#hnavigation a:hover, #vnavigation a:hover, #quicklinks a:hover {
border-top: 1px solid #ff0000;
border-left: 1px solid #ff0000;
border-bottom: 1px solid #ff0000;
border-right: 1px solid #ff0000;
}
HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<div id="hnavigation">
<ul>
<li><h4 align=center><a href="/cscanew/index.html">Home</a></li><br>
<li><a href="/cscanew/aboutcsca.html">About CSCA</a></li>
<li><a href="/cscanew/calendar.html">Calendar</a></li>
<li><a href="/cscanew/resources.html">Resources</a></li>
<li><a href="/cscanew/contactus.html">Contact Us</a></li></h4>
</ul>
<title>Cobb School Counselor Association</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link href="_css/mastercss.css" rel="stylesheet" type="text/css" />
</head>
<body>
<body background="_images/background1.gif">
<div id="header">
<h2 align=center>Welcome to Cobb School Counselor Association!</h2>
</div>
</div>
<div id="vnavigation">
<ul>
<li><h4 align=left><a href="/cscanew/joincsca.html">Join CSCA</a></li><br>
<li><a href="/cscanew/newsletter.html">Newsletter</a></li><br>
<li><a href="/cscanew/cscastore.html">CSCA Store</a></li><br>
<li><a href="/cscanew/sponsorship.html">Sponsorship</a></li>
</ul>
</div>
<vr>
<div id="quicklinks">
<ul>
<li><h4 align=right><a href="http://www.schoolcounselor.org">ASCA</a></li><br>
<li><a href="http://www.counseling.org">ACA</a></li><br>
<li><a href="http://www.gaschoolcounselors.com">GSCA</a></li><br>
<li><a href="http://www.doe.k12.ga.us">GADOE</a></li><br>
<li><a href="http://www.nbcc.org">NBCC</a></li><br>
<li><a href="http://www.cobbk12.org/Departments/SS/SSGuidance/">CCSD</a></li>
</ul>
</div>
<div id="body content" align=center>
<p>
The Cobb Counselor Association (CSCA) was formed during the 1984-85 school year by over <br>sixty
counselors from the Cobb School System. During the first year, membership was expanded to include <br>counselors in
the Marietta City School System and counselors in private schools and colleges in Cobb County. Currently, the<br>
association includes over 130 professional school counselors, students, and affiliates.
</p>
</div>
</body>
</html>
CSS: body { background-image: url(/csca website/_images/background.gif); }
p {
text-indent: 3em;
}
#hnavigation li {
display : inline;
}
#hnavigation ul, #vnavigation ul, #quicklinks ul {
list-style: none;
margin: 0;
padding: 0;
padding-top: 4px;
}
#hnavigation a:link, #hnavigation a:visited, #vnavigation a:link, #vnavigation a:visited, #quicklinks a:link,
#quicklinks a:visited {
margin-rigfht: 2px;
padding: 3px 10px 2px 10px;
color: #ffff00;
background-color: #6699cc;
text-decoration: none;
border-top: 1px solid #003399;
border-left: 1px solid #003399;
border-bottom: 1px solid #003399;
border-right: 1px solid #003399;
}
#hnavigation a:hover, #vnavigation a:hover, #quicklinks a:hover {
border-top: 1px solid #ff0000;
border-left: 1px solid #ff0000;
border-bottom: 1px solid #ff0000;
border-right: 1px solid #ff0000;
}
HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<div id="hnavigation">
<ul>
<li><h4 align=center><a href="/cscanew/index.html">Home</a></li><br>
<li><a href="/cscanew/aboutcsca.html">About CSCA</a></li>
<li><a href="/cscanew/calendar.html">Calendar</a></li>
<li><a href="/cscanew/resources.html">Resources</a></li>
<li><a href="/cscanew/contactus.html">Contact Us</a></li></h4>
</ul>
<title>Cobb School Counselor Association</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link href="_css/mastercss.css" rel="stylesheet" type="text/css" />
</head>
<body>
<body background="_images/background1.gif">
<div id="header">
<h2 align=center>Welcome to Cobb School Counselor Association!</h2>
</div>
</div>
<div id="vnavigation">
<ul>
<li><h4 align=left><a href="/cscanew/joincsca.html">Join CSCA</a></li><br>
<li><a href="/cscanew/newsletter.html">Newsletter</a></li><br>
<li><a href="/cscanew/cscastore.html">CSCA Store</a></li><br>
<li><a href="/cscanew/sponsorship.html">Sponsorship</a></li>
</ul>
</div>
<vr>
<div id="quicklinks">
<ul>
<li><h4 align=right><a href="http://www.schoolcounselor.org">ASCA</a></li><br>
<li><a href="http://www.counseling.org">ACA</a></li><br>
<li><a href="http://www.gaschoolcounselors.com">GSCA</a></li><br>
<li><a href="http://www.doe.k12.ga.us">GADOE</a></li><br>
<li><a href="http://www.nbcc.org">NBCC</a></li><br>
<li><a href="http://www.cobbk12.org/Departments/SS/SSGuidance/">CCSD</a></li>
</ul>
</div>
<div id="body content" align=center>
<p>
The Cobb Counselor Association (CSCA) was formed during the 1984-85 school year by over <br>sixty
counselors from the Cobb School System. During the first year, membership was expanded to include <br>counselors in
the Marietta City School System and counselors in private schools and colleges in Cobb County. Currently, the<br>
association includes over 130 professional school counselors, students, and affiliates.
</p>
</div>
</body>
</html>