Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 10-27-2008, 10:52 PM Links won't work???
Webmaster Talker

Posts: 626
Trades: 0
For some reason my links will not work... I'm working on a new design for someone.

I've absolutely positioned the menu, can that cause the problem? I originally thought that it might be because the logo is a transparent PNG, however it happens in both FF and IE.

I'd imagine it is an obvious error, but any help is appreciated.

Snapshot attached as it is on my local machine.

HTML:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title> new document </title>
 <link rel="stylesheet" type="text/css" href="css/template.css" />
<!--[if IE]>
 <link rel="stylesheet" type="text/css" href="css/ieonly.css" />
<![endif]-->
 </head>

 <body>
	<div id="container">
		<div id="header">
			<ul id="mainlevel-mainmenu">
			   <li><a href="#">Products</a></li>
			   <li><a href="#">Easy Pay</a></li>
			   <li><a href="#">Technology &amp; Environment</a></li>
			   <li><a href="#">Company</a></li>
			   <li><a href="#">Support</a></li>
			</ul>
			<div class="moduletable-logo">
			</div>  <!-- .moduletable-logo -->
		</div>  <!-- #header -->
		<div id="mainbody"></div>  <!-- #footer -->
		<div id="footer"></div>  <!-- #footer -->
	</div>   <!-- #container -->
 </body>
</html>
CSS:
Code:
#header {
   position: relative;
   width: 100%;
   height: 125px;
   background: #505050 url(../images/bg-header.gif) repeat-x left top;
}

#header .moduletable-logo {
   position: absolute;
   width: 100%;
   height: 125px;
   background: transparent url(../images/logo.png) no-repeat center center;
}

#header ul#mainlevel-mainmenu {
   position: absolute;
   left: 0;
   bottom: 8px;
   margin: 0;
   padding: 0;
   border-top: 1px solid #545454;
   list-style: none inside none;
   text-transform: uppercase;
}

#header ul#mainlevel-mainmenu li {
   display: inline;
   margin: 0 10px 0 3px;
   padding: 0;
   line-height: 1.6em;
   font-size: .9em;
   line-height: 1.6em;
}

#header ul#mainlevel-mainmenu li a {
   width: 100%;
   text-decoration: none;
   color: white;
   background: red;
}
Attached Images
File Type: jpg snapshot.jpg (28.5 KB, 3 views)
jim.thornton is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-28-2008, 05:01 AM Re: Links won't work???
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
the image is ABOVE the links in the stacking order
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-28-2008, 07:10 AM Re: Links won't work???
Webmaster Talker

Posts: 626
Trades: 0
thank you.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 10-28-2008, 08:33 AM Re: Links won't work???
JohnDiamond's Avatar
Extreme Talker

Posts: 171
Name: John Diamond
Trades: 0
By the way I really like the interface! Feel free to post in the review section once you're done with it. :-)

Good luck!
__________________
John

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
JohnDiamond is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Links won't work???
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.13851 seconds with 13 queries