positioning JQuery tabs beside a div element

Hi,

I'm trying to put a "JQuery tabs" element on the right of a simple div element.

This would seem like a very simple task, however, I haven't been able to achieve it.

Here's the relevant code:

<div style="float:left; margin-right:10px;margin-left:10px;width:200px; text-align:right;">

...some more code here, this is the div that goes on the left

</div>

and here is the tabs element:

<div id="tabs">
	<ul class="tabs">
		<li><a href="./Vacantes/listaVacantes.jsp?tabNo=1">Lista de Vacantes</a></li>
		<li><a href="./Vacantes/listaVacantes.jsp?tabNo=2">Mis Vacantes</a></li>
	</ul>
</div>

Open in new window


The problem is that the tabs element gets deformed, the title gets the size of the div on the left and it is above it also (see tabAbove.jpg image attached)

I've tried doing this also, adding this css properties to the tab element, but is not good either because the tab apper on the most right of the screen (see tabRight.jpg image attached), and all I need is to appear next to the first div, like if it was 2 cells of a traditional html table.

<style>
#tabs {
float: right;
width: 700px;
}
</style>

Open in new window


I've tried using a traditional html table, which kind of works but the tabs are not displayed correctly.

Any help will be appreciated
tabAbove.jpg
tabRight.jpg
sergiomnAsked:
Who is Participating?
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.

sergiomnAuthor Commented:
OK, I've already solved it.

I forgot about absolut positioning.

All I did was include this:

position:absolute; left:245px;

Open in new window


And now is displayed correctly where it should go.
0

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
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.