konartis
15th November 06, 04:07 AM
ok. this time i have screenshots and code. :$
i am trying to get the text to fit over the top of the menu bar.
all of the other elements (4 pictures all up-left logo, right logo, left menu, right menu) are rendered together in both browsers.
in IE it renders perfectly, but firefox does not (2.0)
here it is in IE:
http://img299.imageshack.us/img299/6370/mysiteinieaa9.jpg (http://imageshack.us)
and here in FF:
http://img299.imageshack.us/img299/2106/mysiteinffpy6.jpg (http://imageshack.us)
here is the code, and i would really appreciate some pointers. i do not know what i am doing wrong.
thank you
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>website title!</title>
</head>
<style type="text/css">
body, html {padding: 0; margin: 0;}
body {width: 1007px;}
#top-a {width: 100%;}
#top-b {height: 30px; margin: 0; position: absolute; top: 131px}
#topleftimage {float: left;}
#menubar {float: left;}
#menutxt li { color: #FFFFFF;
list-style: none;
display: inline;
padding-right: 18px;
padding-left: 18px;
}
#menutxt {z-index: 1; position: absolute; top: 135; left: 0;}
#menutxt ul {margin-left: 0; }
</style>
<body>
<div id="container">
<div id="top-a">
<img id="topleftimage" src="images/top-left.jpg" alt="" width="566" height="131" />
<img src="images/top-right.jpg" alt="" width="441" height="131" />
</div>
<div id="top-b">
<div id="menuback">
<img id="menubar" src="images/menu-bar.gif" alt="" width="871" height="30" />
<img src="images/menu-end.gif" alt="" width="136" height="30" />
</div>
</div>
<div id="menutxt">
<ul>
<li>home</li>
<li>link1</li>
<li>link2</li>
<li>link3</li>
</ul>
</div>
</div>
</body>
</html>
i am trying to get the text to fit over the top of the menu bar.
all of the other elements (4 pictures all up-left logo, right logo, left menu, right menu) are rendered together in both browsers.
in IE it renders perfectly, but firefox does not (2.0)
here it is in IE:
http://img299.imageshack.us/img299/6370/mysiteinieaa9.jpg (http://imageshack.us)
and here in FF:
http://img299.imageshack.us/img299/2106/mysiteinffpy6.jpg (http://imageshack.us)
here is the code, and i would really appreciate some pointers. i do not know what i am doing wrong.
thank you
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>website title!</title>
</head>
<style type="text/css">
body, html {padding: 0; margin: 0;}
body {width: 1007px;}
#top-a {width: 100%;}
#top-b {height: 30px; margin: 0; position: absolute; top: 131px}
#topleftimage {float: left;}
#menubar {float: left;}
#menutxt li { color: #FFFFFF;
list-style: none;
display: inline;
padding-right: 18px;
padding-left: 18px;
}
#menutxt {z-index: 1; position: absolute; top: 135; left: 0;}
#menutxt ul {margin-left: 0; }
</style>
<body>
<div id="container">
<div id="top-a">
<img id="topleftimage" src="images/top-left.jpg" alt="" width="566" height="131" />
<img src="images/top-right.jpg" alt="" width="441" height="131" />
</div>
<div id="top-b">
<div id="menuback">
<img id="menubar" src="images/menu-bar.gif" alt="" width="871" height="30" />
<img src="images/menu-end.gif" alt="" width="136" height="30" />
</div>
</div>
<div id="menutxt">
<ul>
<li>home</li>
<li>link1</li>
<li>link2</li>
<li>link3</li>
</ul>
</div>
</div>
</body>
</html>