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
Can't figure out why my "menu div" is half hidden?!
Old 09-04-2009, 09:39 PM Can't figure out why my "menu div" is half hidden?!
Chris_123K's Avatar
Super Talker

Posts: 128
Name: Chris Kummelstedt
Trades: 0
Good Morning Forum!

I have, what I suspect to be, a very amateur like problem.

I am trying to make my own travel blog and I have found a free template for the menu for selecting entries, but it is half hidden. I have tried everything I can think off to correct this problem.

Thanks for taking the time to look at my little issue!

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd"> 
<html lang="en"> 
<head> 
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
	<title>Kummel in Northern Capital</title> 
	<meta name="description" content="Kummel in Northern Capital"> 
	<meta name="copyright" content="Copyright (c) 2009 Christopher Kummelstedt"> 
	<meta name="author" content="Christopher Kummelstedt"> 
	<style type="text/css"> 
	body,
	html {
		margin:0;
		padding:0;
		color:#000;
		background:#fff;
	}
	#wrap {
		width:75%;
		margin:0 auto;
		background: #fff;
		
	}
	#header {
    	padding:5px 10px;
		background:#fff;
		height:100px;
	}
	h1 {
	    margin:0;
    }
	#main {
		float:left;
	    padding:10px;
		padding-left:30px;
		padding-right:30px;
		background:#fff;
		width:70%;
	}
	h2 {
		margin:0 0 1em;
	}
	#sidebar {
		float:right;
		width:230px;
		padding:10px;
		background:#fff;
		color:#fff;	
	}
	#footer {
		clear:both;
		padding:5px 10px;
		background: #cccccc;
		color:#cf3737
		ma
	
	}
	#footer p {
		margin:0;
    }
	* html #footer {
		height:1px;
	}
#menu8 {
	width: 200px;
	margin-top: 10px;
	margin-right: 100px;
	}
	
#menu8 li a {
	text-decoration: none;
	height: 32px;
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	height: 24px;
	}
	
#menu8 li a:link, #menu8 li a:visited {
	color: #777;
	display: block;
	background: url(images/menu8.gif);
	padding: 8px 0 0 20px;
	}
	
#menu8 li a:hover {
	color: #257EB7;
	background: url(images/menu8.gif) 0 -32px;
	padding: 8px 0 0 25px;
	}
	
#menu8 li a:active {
	color: #fff;
	background: url(images/menu8.gif) 0 -64px;
	padding: 8px 0 0 25px;
	}

	</style> 
    
</head> 
<body> 
<div id="wrap"> 
	<div id="header"><img src="./images/logo.gif" alt="Kummel in Northern Capital" align="left" /></div> 
	<div id="main">
     
<?php
if ($_GET["main"]=="1") 
{include("./blog/a.php");}
elseif ($_GET["main"]=="2") 
{include("./blog/b.php");}
else
{include ("welcome.php");}
?>
        
	</div> 

<div id="sidebar"> 
<div id="menu8"> 
<ul>
<li><a href="?main=2">03/09/09</a></li>
<li><a href="?main=1">28/08/09</a></li>
</ul>
</div> 
</div>
	
    
    
    
    <div id="footer"> 
		<p>Footer</p> 
	</div> 
</div> 
</body> 
</html>
http://ubuntu.asterhag.se/kummel/kblog/

have a good day,

Chris

Last edited by Chris_123K; 09-04-2009 at 09:41 PM.. Reason: missed things
Chris_123K is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-04-2009, 10:56 PM Re: Can't figure out why my "menu div" is half hidden?!
fresh-d's Avatar
Super Talker

Posts: 145
Trades: 0
try changing the width size on

<div id="sidebar">
<div id="menu8">
fresh-d is offline
Reply With Quote
View Public Profile
 
Old 09-05-2009, 02:57 PM Re: Can't figure out why my "menu div" is half hidden?!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Your #sidebar is too wide - narrow it to like 210px and it will go up where you want it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can't figure out why my "menu div" is half hidden?!
 

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 0.66271 seconds with 12 queries