Link to home
Start Free TrialLog in
Avatar of leblanc
leblanc

asked on

css layout

I have the following html (see below) and the result is not what I am looking for. The #nav and #search are below the #logo and not next to #logo.

Please see pic for what I am looking for.
User generated image

 
 <div id="header">
        <div id="logo"></div>
        <div id="search">search</div>
        <div id="nav">
            <ul>
                <il><a href="">home</a></il>
                <il><a href="">home</a></il>
                <il><a href="">home</a></il>
                <il><a href="">home</a></il>
                <il><a href="">home</a></il>
            </ul>
        </div>
    </div>

Open in new window


and css code:
#logo {
	width: 280px;
	height: 100px;
	background-image:url(images/logo.jpg)
}
#search {
	float:right;}
	
#nav {
	width: 680px;
	text-align:center;
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc
leblanc

ASKER

It works. But now I have #nav and #search. I'd like #search to be on top and #nav at the bottom. Thx
So I guess you are assuming that I can see across the internet into you mind and determine what it looks like without a link or any other hint.  Nope, I do not have telepathic capabilities.  I need specifics.

Cd&