Jump to content

text floating over menu, wierd...


Recommended Posts

any reason why my code is looking like this? http://i50.tinypic.com/2h87l3o.png

 

here is my html and css code:

	<div id="header"> <!-- start of header -->
	<div id="logo_span"><!-- Making space for logo (1000 x 144) --></div>
	<div id="top_menu-gd">
	<div id="top_menu-left">
	<div id="top_menu-right">
		<span id="date">Dec.14.2009</span>
		<ul>
			<li><a href="#">Home</a></li>
			<li><a href="#">About TrooKine</a></li>
			<li><a href="#">Community</a></li>
			<li><a href="#">Play Runescape</a></li>
		</ul>
	</div>
	</div>
	</div>
</div> <!-- end of header -->

#header { background: url("images/logo_2.png") no-repeat; }
#header > #logo_span { height: 144px; min-height: 144px; max-height: 144px; }
#header #top_menu-gd { background: url("images/top_nav_gd.png") repeat-x; color: #181818; }
#header #top_menu-left { background: url("images/top_nav_left_p.png") no-repeat top left; }
#header #top_menu-right { background: url("images/top_nav_right_p.png") no-repeat top right; padding: 45px 15px; }
#header #top_menu-gd #date { float: right; }
#header #top_menu-gd ul { margin: 0; padding: 0; list-style: none; display: inline; }
#header #top_menu-gd ul li { display: inline; }
#header #top_menu-gd ul li a { display: inline-block; padding: 0 15px; font-weight: 700; color: #181818; text-transform: uppercase; }
#header #top_menu-gd ul li a:hover { color: #919191; }
#header #top_menu-gd ul li a:first-child { padding-left: 0px; }

Link to comment
https://forums.phpfreaks.com/topic/185862-text-floating-over-menu-wierd/
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.