Jump to content

Links in image not clickable


Gamerz

Recommended Posts

So I have this HTML page, and I put multiple images and on these images, I added text...well, they are overlapping indeed, and I gave them all a z-index...problem now, is that one set of the links in the logo is not clickable...I've tried z-index to higher, lower...they dont work.

 

I have given you the HTML page below...you can try it out yourself. Find the below line as this line is the set of links that don't work:

<b><a href="home.php">Home</a> - <a href="tutorial.php">Tutorial</a> - <a href="faq.php">FAQ</a> - <a href="help.php">Help</a> - <a href="about.php">About Us</a> - <a href="contact.php">Contact Us</a></b>

 

You can access the webpage by clicking below:

http://www.earth1materials.com/imagez/

 

Here is the full HTML page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TEST</title>

<style type="text/css">
html {overflow-y:hidden; }
body {overflow: hidden; }

* {margin:0;padding:0}

/* mac hide \*/
html,body{height:100%;width:100%;}
/* end hide */
body {
text-align:center;
min-height:468px;/* for good browsers*/
min-width:552px;/* for good browsers*/
}

#outer{
height:50%;
width:100%;
display:table;
vertical-align:middle;
}

#container {
text-align: center;
position:relative;
vertical-align:middle;
display:table-cell;
height: 468px;
}

#inner {
width: 552px;
background:white;
height: 468px;
text-align: center;
margin-left:auto;
margin-right:auto;
border:0px solid #000;
}
#boxone {
width:500px;
text-align:center; /* Counteract to IE5/Win Hack */
padding:15px;
border:1px dashed #333;
background-color:white;
                overflow:auto;
position:relative;
margin-top:-220px;
margin-left:-50px;
margin-right:500px;

}


div.image
{
margin-right: 0px;
float:left;
width:100px; // adjust this to the width of your images.
}


.usertext {
position:relative;
margin-top:-610px;
margin-left:-50px;
margin-right:-50px;
text-align:center;
}

.headertext {
position:relative;
top:10px; /* in conjunction with left property, decides the text position */
right:-475px;
}

.headerlink {
position:relative;
top:-50px; /* in conjunction with left property, decides the text position */
right:-475px;
}

.search {
position:relative;
top:-73px; /* in conjunction with left property, decides the text position */
right:-1000px;
}


div#testtext {
    position: relative;
    height: auto;
    width: auto;
    left: -475px;
    top: -75px;
}

div#logolink {
    position: relative;
z-index:9;
    height: auto;
    width: auto;
    left: 415px;
    top: -180px;
}

div#rightlogolink {
    position: relative;
z-index:1;
    height: auto;
    width: auto;
    right: 415px;
    top: -250px;
}


div#left-orangebar {
    position: relative;
    height: auto;
    width: auto;
    left: 414px;
    top: -146px;
}

div#right-orangebar {
    position: relative;
    height: auto;
    width: auto;
    right: 415px;
    top: -216px;
}
div#testtextzh1 {
    position: relative;
    height: auto;
    width: auto;
    right: -300px;
    top: -50px;
}

A:link {color:black}
A:visited {color:black}
A:hover {color:#0066CC}
A.unique:hover {color:black}
</style>
</head>
<body>
<center>
<img src="http://www.earth1materials.com/imagez/top-bar.jpg" height="74" width="1366"><br>
<div id="testtext"><img src="http://www.earth1materials.com/imagez/logo.jpg" height="75" width="400">
<div class="headertext">
<h2>Welcome to {WEBSITE}</h2>
</div>

<div class="headerlink" style: "z-index:7">
<a href="lol.php">
<b><a href="home.php">Home</a> - <a href="tutorial.php">Tutorial</a> - <a href="faq.php">FAQ</a> - <a href="help.php">Help</a> - <a href="about.php">About Us</a> - <a href="contact.php">Contact Us</a></b>
</div>
<div class="search" style: "z-index:-1">
<form action="search.php" method="post">
<input  onFocus="if(this.value == 'Search for a File...') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Search for a File...';}" type="text" name="filename" size="30" value="Search for a File...">   
<input type="submit" name="submit" value="Search File!">
</form>
</div>

</div>
</div>
<div id="left-orangebar">
<img src="http://www.earth1materials.com/imagez/left-orangebar.png">
</div>
<div id="logolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a>
</div>
<div id="right-orangebar">
<img src="http://www.earth1materials.com/imagez/right-orangebar.png">
</div>
<div id="rightlogolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a></div>
<div id="vert">
<div id="outer">
<div id="container">
<div id="inner">
<p>
<div id="boxone" style="width:650px; height:200px; overflow:auto;">
<div class="image">
  <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>ECL Fall '09</p></a>
</div>
<div class="image">
   <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Geophysical Science</p></a>
</div>
<div class="image">
  <a href="lol.php">  <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Math</p></a>
</div>

</div>

<script type="text/javascript">
gradualFader.init() //activate gradual fader
</script>
</div>
</div>
</div>
<div class="usertext" style="text-align: center;">
<p>Welcome, <b>ADMIN</b> <br>
SOME TEXT HERE</b>.</p>
</div>
</body>
</html>

Link to comment
Share on other sites

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TEST</title>

<style type="text/css">
html {overflow-y:hidden; }
body {overflow: hidden; }

* {margin:0;padding:0}

/* mac hide \*/
html,body{height:100%;width:100%;}
/* end hide */
body {
text-align:center;
min-height:468px;/* for good browsers*/
min-width:552px;/* for good browsers*/
}

#outer{
height:50%;
width:100%;
display:table;
vertical-align:middle;
}

#container {
text-align: center;
position:relative;
vertical-align:middle;
display:table-cell;
height: 468px;
}

#inner {
width: 552px;
background:white;
height: 468px;
text-align: center;
margin-left:auto;
margin-right:auto;
border:0px solid #000;
}
#boxone {
   width:500px;
   text-align:center; /* Counteract to IE5/Win Hack */
   padding:15px;
   border:1px dashed #333;
   background-color:white;
                overflow:auto;
position:relative;
margin-top:-220px;
margin-left:-50px;
margin-right:500px;

}


div.image
{
margin-right: 0px;
float:left;
width:100px; // adjust this to the width of your images.
}


.usertext {
position:relative;
margin-top:-610px;
margin-left:-50px;
margin-right:-50px;
text-align:center;
}

.headertext {
   position:relative;
   top:10px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.headerlink {
   position:relative;
   top:-50px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.search {
   position:relative;
   top:-73px; /* in conjunction with left property, decides the text position */
   right:-1000px;
}


div#testtext {
    position: relative;
    height: auto;
    width: auto;
    left: -475px;
    top: -75px;
}

div#logolink {
    position: relative;
z-index:9;
    height: auto;
    width: auto;
    left: 415px;
    top: -180px;
}

div#rightlogolink {
    position: relative;
z-index:1;
    height: auto;
    width: auto;
    right: 415px;
    top: -250px;
}


div#left-orangebar {
    position: relative;
    height: auto;
    width: auto;
    left: 414px;
    top: -146px;
}

div#right-orangebar {
    position: relative;
    height: auto;
    width: auto;
    right: 415px;
    top: -216px;
}
div#testtextzh1 {
    position: relative;
    height: auto;
    width: auto;
    right: -300px;
    top: -50px;
}

A:link {color:black}
A:visited {color:black}
A:hover {color:#0066CC}
A.unique:hover {color:black}
</style>
</head>
<body>
<center>
<img src="http://www.earth1materials.com/imagez/top-bar.jpg" height="74" width="1366"><br>
<div id="testtext"><img src="http://www.earth1materials.com/imagez/logo.jpg" height="75" width="400">
<div class="headertext">
<h2>Welcome to {WEBSITE}</h2>
</div>

<div class="headerlink" style: "z-index:7">
<a href="lol.php">
<b><a href="home.php">Home</a> - <a href="tutorial.php">Tutorial</a> - <a href="faq.php">FAQ</a> - <a href="help.php">Help</a> - <a href="about.php">About Us</a> - <a href="contact.php">Contact Us</a></b>
</div>
<div class="search" style: "z-index:-1">
<form action="search.php" method="post">
<input  onFocus="if(this.value == 'Search for a File...') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Search for a File...';}" type="text" name="filename" size="30" value="Search for a File...">   
<input type="submit" name="submit" value="Search File!">
</form>
</div>

</div>
</div>
<div id="left-orangebar">
<img src="http://www.earth1materials.com/imagez/left-orangebar.png">
</div>
<div id="logolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a>
</div>
<div id="right-orangebar">
<img src="http://www.earth1materials.com/imagez/right-orangebar.png">
</div>
<div id="rightlogolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a></div>
<div id="vert">
<div id="outer">
<div id="container">
<div id="inner">
<p>
<div id="boxone" style="width:650px; height:200px; overflow:auto;">
<div class="image">
  <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>ECL Fall '09</p></a>
</div>
<div class="image">
   <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Geophysical Science</p></a>
</div>
<div class="image">
  <a href="lol.php">  <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Math</p></a>
</div>

</div>

<script type="text/javascript">
gradualFader.init() //activate gradual fader
</script>
</div>
</div>
</div>
<div class="usertext" style="text-align: center;">
<p>Welcome, <b>ADMIN</b> <br>
SOME TEXT HERE</b>.</p>
</div>
</body>
</html>

you have an open <a> tag above those links.

Link to comment
Share on other sites

                           <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TEST</title>

<style type="text/css">
html {overflow-y:hidden; }
body {overflow: hidden; }

* {margin:0;padding:0}

/* mac hide \*/
html,body{height:100%;width:100%;}
/* end hide */
body {
text-align:center;
min-height:468px;/* for good browsers*/
min-width:552px;/* for good browsers*/
}

#outer{
height:50%;
width:100%;
display:table;
vertical-align:middle;
}

#container {
text-align: center;
position:relative;
vertical-align:middle;
display:table-cell;
height: 468px;
}

#inner {
width: 552px;
background:white;
height: 468px;
text-align: center;
margin-left:auto;
margin-right:auto;
border:0px solid #000;
}
#boxone {
   width:500px;
   text-align:center; /* Counteract to IE5/Win Hack */
   padding:15px;
   border:1px dashed #333;
   background-color:white;
                overflow:auto;
position:relative;
margin-top:-220px;
margin-left:-50px;
margin-right:500px;

}


div.image
{
margin-right: 0px;
float:left;
width:100px; // adjust this to the width of your images.
}


.usertext {
position:relative;
margin-top:-610px;
margin-left:-50px;
margin-right:-50px;
text-align:center;
}

.headertext {
   position:relative;
   top:10px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.headerlink {
   position:relative;
   top:-50px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.search {
   position:relative;
   top:-73px; /* in conjunction with left property, decides the text position */
   right:-1000px;
}


div#testtext {
    position: relative;
    height: auto;
    width: auto;
    left: -475px;
    top: -75px;
}

div#logolink {
    position: relative;
z-index:9;
    height: auto;
    width: auto;
    left: 415px;
    top: -180px;
}

div#rightlogolink {
    position: relative;
z-index:1;
    height: auto;
    width: auto;
    right: 415px;
    top: -250px;
}


div#left-orangebar {
    position: relative;
    height: auto;
    width: auto;
    left: 414px;
    top: -146px;
}

div#right-orangebar {
    position: relative;
    height: auto;
    width: auto;
    right: 415px;
    top: -216px;
}
div#testtextzh1 {
    position: relative;
    height: auto;
    width: auto;
    right: -300px;
    top: -50px;
}

A:link {color:black}
A:visited {color:black}
A:hover {color:#0066CC}
A.unique:hover {color:black}
</style>
</head>
<body>
<center>
<img src="http://www.earth1materials.com/imagez/top-bar.jpg" height="74" width="1366"><br>
<div id="testtext"><img src="http://www.earth1materials.com/imagez/logo.jpg" height="75" width="400">
<div class="headertext">
<h2>Welcome to {WEBSITE}</h2>
</div>

<div class="headerlink" style="z-index:7">
<a href="lol.php">   <a href="lol.php"><a href="lol.php"><a href="lol.php"><a href="lol.php">
<b><a href="home.php">Home</a> - <a href="tutorial.php">Tutorial</a> - <a href="faq.php">FAQ</a> - <a href="help.php">Help</a> - <a href="about.php">About Us</a> - <a href="contact.php">Contact Us</a></b>
</div>
<div class="search" style: "z-index:-1">
<form action="search.php" method="post">
<input  onFocus="if(this.value == 'Search for a File...') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Search for a File...';}" type="text" name="filename" size="30" value="Search for a File...">   
<input type="submit" name="submit" value="Search File!">
</form>
</div>

</div>
</div>
<div id="left-orangebar">
<img src="http://www.earth1materials.com/imagez/left-orangebar.png">
</div>
<div id="logolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a>
</div>
<div id="right-orangebar">
<img src="http://www.earth1materials.com/imagez/right-orangebar.png">
</div>
<div id="rightlogolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a></div>
<div id="vert">
<div id="outer">
<div id="container">
<div id="inner">
<p>
<div id="boxone" style="width:650px; height:200px; overflow:auto;">
<div class="image">
  <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>ECL Fall '09</p></a>
</div>
<div class="image">
   <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Geophysical Science</p></a>
</div>
<div class="image">
  <a href="lol.php">  <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Math</p></a>
</div>

</div>

<script type="text/javascript">
gradualFader.init() //activate gradual fader
</script>
</div>
</div>
</div>
<div class="usertext" style="text-align: center;">
<p>Welcome, <b>ADMIN</b> <br>
SOME TEXT HERE</b>.</p>
</div>
</body>
</html>

 

I already tried that HTML code in my computer, i hope it works for you. :D

Link to comment
Share on other sites

AngelG, now...the upper link does work, but I just realized that if you look on the top, right hand corner..there's a search function. That isn't working. I can't even click the field to enter something, let alone clicking the submit button. Is it possible to make both of them work?

Link to comment
Share on other sites

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TEST</title>

<style type="text/css">
html {overflow-y:hidden; }
body {overflow: hidden; }

* {margin:0;padding:0}

/* mac hide \*/
html,body{height:100%;width:100%;}
/* end hide */
body {
text-align:center;
min-height:468px;/* for good browsers*/
min-width:552px;/* for good browsers*/
}

#outer{
height:50%;
width:100%;
display:table;
vertical-align:middle;
}

#container {
text-align: center;
position:relative;
vertical-align:middle;
display:table-cell;
height: 468px;
}

#inner {
width: 552px;
background:white;
height: 468px;
text-align: center;
margin-left:auto;
margin-right:auto;
border:0px solid #000;
}
#boxone {
   width:500px;
   text-align:center; /* Counteract to IE5/Win Hack */
   padding:15px;
   border:1px dashed #333;
   background-color:white;
                overflow:auto;
position:relative;
margin-top:-220px;
margin-left:-50px;
margin-right:500px;

}


div.image
{
margin-right: 0px;
float:left;
width:100px; // adjust this to the width of your images.
}


.usertext {
position:relative;
margin-top:-610px;
margin-left:-50px;
margin-right:-50px;
text-align:center;
}

.headertext {
   position:relative;
   top:10px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.headerlink {
   position:relative;
   top:-50px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.search {
   position:relative;
   top:-73px; /* in conjunction with left property, decides the text position */
   right:-1000px;
}


div#testtext {
    position: relative;
    height: auto;
    width: auto;
    left: -475px;
    top: -75px;
}

div#logolink {
    position: relative;
z-index:9;
    height: auto;
    width: auto;
    left: 415px;
    top: -180px;
}

div#rightlogolink {
    position: relative;
z-index:1;
    height: auto;
    width: auto;
    right: 415px;
    top: -250px;
}


div#left-orangebar {
    position: relative;
    height: auto;
    width: auto;
    left: 414px;
    top: -146px;
}

div#right-orangebar {
    position: relative;
    height: auto;
    width: auto;
    right: 415px;
    top: -216px;
}
div#testtextzh1 {
    position: relative;
    height: auto;
    width: auto;
    right: -300px;
    top: -50px;
}

A:link {color:black}
A:visited {color:black}
A:hover {color:#0066CC}
A.unique:hover {color:black}
</style>
</head>
<body>
<center>
<img src="http://www.earth1materials.com/imagez/top-bar.jpg" height="74" width="1366"><br>
<div id="testtext"><img src="http://www.earth1materials.com/imagez/logo.jpg" height="75" width="400">
<div class="headertext">
<h2>Welcome to {WEBSITE}</h2>
</div>

<div class="headerlink" style="z-index:7">
<a href="lol.php">   <a href="lol.php"><a href="lol.php"><a href="lol.php"><a href="lol.php">
<b><a href="home.php">Home</a> - <a href="tutorial.php">Tutorial</a> - <a href="faq.php">FAQ</a> - <a href="help.php">Help</a> - <a href="about.php">About Us</a> - <a href="contact.php">Contact Us</a></b>
</div>
<div class="search" style="z-index:7">
<form action="search.php" method="post">
<input  onFocus="if(this.value == 'Search for a File...') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Search for a File...';}" type="text" name="filename" size="30" value="Search for a File...">   
<input type="submit" name="submit" value="Search File!">
</form>
</div>

</div>
</div>
<div id="left-orangebar">
<img src="http://www.earth1materials.com/imagez/left-orangebar.png">
</div>
<div id="logolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a>
</div>
<div id="right-orangebar">
<img src="http://www.earth1materials.com/imagez/right-orangebar.png">
</div>
<div id="rightlogolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a></div>
<div id="vert">
<div id="outer">
<div id="container">
<div id="inner">
<p>
<div id="boxone" style="width:650px; height:200px; overflow:auto;">
<div class="image">
  <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>ECL Fall '09</p></a>
</div>
<div class="image">
   <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Geophysical Science</p></a>
</div>
<div class="image">
  <a href="lol.php">  <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Math</p></a>
</div>

</div>

<script type="text/javascript">
gradualFader.init() //activate gradual fader
</script>
</div>
</div>
</div>
<div class="usertext" style="text-align: center;">
<p>Welcome, <b>ADMIN</b> <br>
SOME TEXT HERE</b>.</p>
</div>
</body>
</html>

 

There you go. I hope i helped you.

Link to comment
Share on other sites

<!DOCTYPE HTML PU1LIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TEST</title>

<style type="text/css">
html {overflow-y:hidden; }
body {overflow: hidden; }

* {margin:0;padding:0}

/* mac hide \*/
html,body{height:100%;width:100%;}
/* end hide */
body {
text-align:center;
min-height:468px;/* for good browsers*/
min-width:552px;/* for good browsers*/
}

#outer{
height:50%;
width:100%;
display:table;
vertical-align:middle;
}

#container {
text-align: center;
position:relative;
vertical-align:middle;
display:table-cell;
height: 468px;
}

#inner {
width: 552px;
background:white;
height: 468px;
text-align: center;
margin-left:auto;
margin-right:auto;
border:0px solid #000;
}
#boxone {
   width:500px;
   text-align:center; /* Counteract to IE5/Win Hack */
   padding:15px;
   border:1px dashed #333;
   background-color:white;
                overflow:auto;
position:relative;
margin-top:-220px;
margin-left:-50px;
margin-right:500px;

}


div.image
{
margin-right: 0px;
float:left;
width:100px; // adjust this to the width of your images.
}


.usertext {
position:relative;
margin-top:-610px;
margin-left:-50px;
margin-right:-50px;
text-align:center;
}

.headertext {
   position:relative;
   top:10px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.headerlink {
   position:relative;
   top:-50px; /* in conjunction with left property, decides the text position */
   right:-475px;
}

.search {
   position:relative;
   top:-73px; /* in conjunction with left property, decides the text position */
   right:-1000px;
}


div#testtext {
    position: relative;
    height: auto;
    width: auto;
    left: -475px;
    top: -75px;
}

div#logolink {
    position: relative;
z-index:9;
    height: auto;
    width: auto;
    left: 415px;
    top: -180px;
}

div#rightlogolink {
    position: relative;
z-index:1;
    height: auto;
    width: auto;
    right: 415px;
    top: -250px;
}


div#left-orangebar {
    position: relative;
    height: auto;
    width: auto;
    left: 414px;
    top: -146px;
}

div#right-orangebar {
    position: relative;
    height: auto;
    width: auto;
    right: 415px;
    top: -216px;
}
div#testtextzh1 {
    position: relative;
    height: auto;
    width: auto;
    right: -300px;
    top: -50px;
}

A:link {color:black}
A:visited {color:black}
A:hover {color:#0066CC}
A.unique:hover {color:black}
A{z-index:8;}
</style>
</head>
<body>
<center>
<img src="http://www.earth1materials.com/imagez/top-bar.jpg" height="74" width="1366"><br>
<div id="testtext"><img src="http://www.earth1materials.com/imagez/logo.jpg" height="75" width="400">
<div class="headertext">
<h2>Welcome to {WEBSITE}</h2>
</div>

<center>
<div style="margin:auto">
<div style="z-index:8;position:relative;top:-50px;">

<b><a href="home.php">Home</a> - <a href="tutorial.php">Tutorial</a> - <a href="faq.php">FAQ</a> - <a href="help.php">Help</a> - <a href="about.php">About Us</a> - <a href="contact.php">Contact Us</a></b>

</div></div>
        </center>
<div class="search" style="z-index:7">
<form action="search.php" method="post">
<input  onFocus="if(this.value == 'Search for a File...') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Search for a File...';}" type="text" name="filename" size="30" value="Search for a File...">   
<input type="submit" name="submit" value="Search File!">
</form>
</div>

</div>
</div>
<div id="left-orangebar">
<img src="http://www.earth1materials.com/imagez/left-orangebar.png">
</div>
<div id="logolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a>
</div>
<div id="right-orangebar">
<img src="http://www.earth1materials.com/imagez/right-orangebar.png">
</div>
<div id="rightlogolink">
<a href="link">LINK1</a> - <a href="link">LINK2</a> - <a href="link">LINK3</a> - <a href="link">LINK4</a></div>
<div id="vert">
<div id="outer">
<div id="container">
<div id="inner">
<p>
<div id="boxone" style="width:650px; height:200px; overflow:auto;">
<div class="image">
  <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>ECL Fall '09</p></a>
</div>
<div class="image">
   <a href="lol.php"> <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Geophysical Science</p></a>
</div>
<div class="image">
  <a href="lol.php">  <img src="http://www.earth1materials.com/imagez/folder_icon.jpg" alt="image" class="gradualfader"  style="border: 0px dashed black;" width="50" height="50"/>
  <p>Math</p></a>
</div>

</div>

<script type="text/javascript">
gradualFader.init() //activate gradual fader
</script>
</div>
</div>
</div>
<div class="usertext" style="text-align: center;">
<p>Welcome, <b>ADMIN</b> <br>
SOME TEXT HERE</b>.</p>
</div>
</body>
</html>

 

Now you can use both the menu and the search box...

But, i didn't figure out how to center the menu again, it's aligned to the left, at the moment,

sorry about that, but I'm kind of busy at the moment.

Link to comment
Share on other sites

It finally works...BUT when I try centering the links to the center by adding a right:-470px; to the code, the links still BUT NOT THE search function....so its same thing...how would I fix this?

 

This is the code that I added:

<div style="margin:auto">

<div style="z-index:8;position:relative;top:-50px; right:-470px;">

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.