Avatar of Wanting2LearnMan
Wanting2LearnMan
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Positioning Menu and login controls within a html logo.

I have a Logo positionied on my web site using the following css:

.logo a{ background:url(../images/logo_.png) no-repeat; display:block; width:1000pxheight:85px;

Open in new window


I now wish to position 2 more elements:
1: A simple menu ("Home", "About", "Contact Us")
2: Login controls. (2 text boxes in a row for username and password and a 'login' button)

How can I set the positon of my menu so that it is relative to the position of the logo? e.g. If the logo starts at 0,0 then I want to positon the menu at positon 100, 50 (100 across and 50 down) and the login controls at positon 300, 10 (300 across and 10 down)

I want to do this because I dont want the menu and login controls to clash with each other.
HTMLCSSWeb Development

Avatar of undefined
Last Comment
Ishaan Rawat

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Chris Stanyon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
COBOLdinosaur

Without a link so we can see what we are working with it is like asking us to thread a needle while wearing boxing gloves.  We might hit it with a guess or it might still be unresolved a month from now.

Cd&
Ishaan Rawat

Please provide a link or image of what should we do.. Its not easy to just tell. So please provide us an image or the link of your website.

Thanks
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck