Why is my jQuery tab section so large

I have 2 columns on my page. The left column contains a list and the right column contains a jQuery tab. I do not understand why my tab header in the right column seems to have the same height as the list in the left column.

For an example go to: http://anna.adreflex.com/tabtest.cfm

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link type="text/css" href="jqueryui/css/smoothness/jquery-ui-1.8.17.custom.css" rel="stylesheet" />

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js" type="text/javascript"></script>

<style type="text/css">
	.leftcolumn
	{
		float:left;
		width: 150px;
		font-size:12px;
		overflow-y:auto;
	}
	.leftcolumn ul
	{
		list-style:none;
		margin:0px;
		margin-top:10px;
		padding:0px;
		max-height:800px;
		overflow:auto;
	}
	.rightcolumn
	{
		margin-left:155px;
	}
</style>
</head>

<body>
		<div class="leftcolumn">
			<span class="PageTitle" style="vertical-align:bottom">My Groups</span>
			<ul>
				<li>test 1</li>
				<li>test 2</li>
				<li>test 3</li>
				<li>test 4</li>
				<li>test 5</li>
				<li>test 6</li>
			</ul>
		</div>
		<div class="rightcolumn groupsection">
			<div id="lay1">
				<ul>
					<li><a class="ui-tabs-nav TabTitleStyle" href="#lay1_Tab1">tab 1</a></li>
					<li><a class="ui-tabs-nav TabTitleStyle" href="#lay1_Tab2">tab 2</a></li>
					<li><a class="ui-tabs-nav TabTitleStyle" href="#lay1_Tab3">tab 3</a></li>
				</ul>
				
				<div id="lay1_Tab1">
					Tab 1 Content
				</div>
				
				<div id="lay1_Tab2">
					Tab 2 Content
				</div>
				
				<div id="lay1_Tab3">
					Tab 3 Content
				</div>

			</div>
		</div>


<script type="text/javascript">
	$('#lay1').tabs();
</script>

</body>
</html>

Open in new window


TabTest.PNG
WestCoast_BCAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Because your left column is floated left and your right is not so the tab header section is floating next to the left column and being cleared before the tab body.

Change .rightcolumn to

.rightcolumn
{
	float: left;
}

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
F IgorDeveloperCommented:
You could remove the "margin-left:155px;" and put only the "float:left" (margin will not be necessary )
Julian HansenCommented:
@fraigor,

You could remove the "margin-left:155px;" and put only the "float:left" (margin will not be necessary )

That is what I put in my post prior to yours.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.