RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1696 | Replies: 5 | Thread Tools  Display Modes
Reply
Join Date: Oct 2006
Posts: 24
Reputation: vexhawk is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
vexhawk vexhawk is offline Offline
Newbie Poster

2 problems (GAP and HEIGHT)

  #1  
Nov 15th, 2006
This first issue is actually my main concern:

Please go here for reference:
http://www.omegaboi.com/test/

On the menu, (the blue bar) if you hover over it you can see it turn white, yes? Okay..

Now between the keywords (HOME etc. etc.) you find a " | " dividing them, which is a "border" i wrote in for the css stylesheet. However, AFTER that "|" there is a minature gap, that won't turn white when I hover. I removed the border attribute, but the gap is still there. I dunno how to align it. Hope someone can tell me whats up.


Second issue is, it was just a random thought tonight. But how do you line up two different CSS containers (ie. make them end at the same location on the bottom of a page). I know that the container expands for the amount of data it has, but what if one of your containers don't have enough data to match that of the taller container. I know that w/ firefox you can use the height attribute, but in I.E. this is not the case. I just want to see how people deal with this issue.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Posts: 24
Reputation: vexhawk is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
vexhawk vexhawk is offline Offline
Newbie Poster

Re: 2 problems (GAP and HEIGHT)

  #2  
Nov 15th, 2006
i resolved the first problem myself. thanks. second issue, any ideas?
Reply With Quote  
Join Date: Jul 2005
Location: india
Posts: 147
Reputation: katarey is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 17
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

Solution Re: 2 problems (GAP and HEIGHT)

  #3  
Nov 15th, 2006
Hi there,

i am not getting your Second issue, please feel free to clearify the quetion


Solution for first is :-

Use this CSS and HTML

<head>
<style type="text/css">
body
	{
		font-family: arial, verdana, helvetica;
		font-size: 80%;
		color: #000000;
	}
#navBar
	{
		margin: 0px;
		background-image: url(grad-blue.gif);
		background-repeat: repeat-x;
		border-top: 1px solid #333399;
		border-bottom: 1px solid #333399;
	}
#navBar a:link, a:visited, a:active
	{
		font-weight: bold;
		color: #ffffff;
		text-decoration: none;
		padding:2px 7px 2px 7px;
		border-right: 1px solid #333399;
	}
#navBar a:Hover
	{
		background: #ffffff;
		color: #0066cc;
		padding:2px 7px 2px 7px;
		border-right: 1px solid #333399;
	}
-->
</style>
</head>
<body>
<div id="navBar"><a href="#">Home</a><a href="#">Catalog</a><a href="#">Shopping Cart</a><a href="#">Order Manager</a><a href="#">File Manager</a></div>
</body>
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote  
Join Date: Oct 2006
Posts: 24
Reputation: vexhawk is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
vexhawk vexhawk is offline Offline
Newbie Poster

Re: 2 problems (GAP and HEIGHT)

  #4  
Nov 15th, 2006
thanks!

The second issue was just regarding how you align the base of two containers.

Say you had a container that was float: left; and another was float: right;

but u had more information in the right one than the left one. The base would be uneven, like this:

__________________


______________________________________________
I don't know if that was a good enough visual, but how would you make both bases line up as such:

________________________ _____________________________


I hope this is clear.
Last edited by vexhawk : Nov 15th, 2006 at 7:22 pm.
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 5
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: 2 problems (GAP and HEIGHT)

  #5  
Nov 16th, 2006
check the clear property. set it to none. since http://www.omegaboi.com/test/ is not opening(404 Not Found) so i couldn't see the source of your page.
Reply With Quote  
Join Date: Jul 2005
Location: india
Posts: 147
Reputation: katarey is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 17
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

Help Re: 2 problems (GAP and HEIGHT)

  #6  
Nov 16th, 2006
Try this for 2nd prob, it may help you, its working IE, Opera and FireFox

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>---------</title>
<style type="text/css" >
<!--
body
	{
		margin:0px;
		padding:0px;
		background-color:#000000;
		color:#ffffff;
	}
/* Properties that both side lists have in common */
div.link-list 
	{
		width:150px;
		background-color:#262626;
		position:absolute;
		top:0px;
		font-size:80%;
		padding-left:1%;
		padding-right:1%;
		margin-left:0;
		margin-right:0;
		height:250px;
	}
/* we leave some place on the side using the margin-* properties */
#main 
	{
		margin-left:180px;
		background-color:#262626;
		margin-right:180px;
		padding-left:1em;
		padding-right:1em;
		height:250px;
	}
/* and then we put each list on its place */
#list1 
	{
		left:2px;
	}
#list2 
	{
		right:2px;
	}
-->
</style>
</head>
<body>
<div id="main">Content for  id "main" Goes Here</div>
<div class="link-list" id="list1">Content for New Div Tag Goes Here</div>
<div class="link-list" id="list2">Content for  id "list2" Goes Here</div>
</body>
</html>
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the HTML and CSS Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:03 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC