Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7168043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:41:58+00:00 2026-05-28T14:41:58+00:00

I have a page where I divided things like this: a div for the

  • 0

I have a page where I divided things like this:

  • a div for the header
  • a div for the menu
  • a div for the content
    • a div for the logon
  • a div for the sidebar

Here is a jsfiddle: http://jsfiddle.net/cambraca/f9eYx/3/

You noticed that the logon div is located inside of the content page. This is because I need the logon to be exactly on top of the content area. You noticed also that the sidebar can disappear with the Hide me hyperlink.

I don’t like the logon inside of the content area. Is there any other solution? Possible to have the logon div at the same level as other div? I’m not very good at css and I’m pretty sure there is a better alternative for the logon placement.

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:41:59+00:00Added an answer on May 28, 2026 at 2:41 pm

    Well, a few of things.

    First I don’t have a problem with how you have the login button placed. I think it’s fine, and it’s probably where most people would look for it.

    Secondly, you have a way to hide the sidebar, but no way to show it again. You should probably change that to a .toggle() function so you can see the side bar again at some point.

    Third, I wouldn’t use the line breaks in your main nav. You should use an unordered list and create each menu item as a list item.

    As Tim suggested in his comment, you could create a cool login modal window, or have a login form slide down from the top. That would be pretty sweet.

    But overall, the answer to your question is “I think where you have it is fine.”

    EDIT

    One problem you’re going to have is that this content is going to stretch as far as the width of the browser window. IF you have a really big screen it’s going to look terrible. I would recommend wrapping your content in a “wrapper” div and give it a specific size, say 960px or 1000px.

    If you used the wrapper div, you could put your login button inside the wrapper.

    Ultimately, there are hundreds of ways to layout this code, and if you’re positioning everything absolutely (not always the best option) it doesn’t really matter where you place it in page, because they’ll almost always end up in the same spot (depending on if it’s parents are positioned absolute/relative.

    EDIT

    Ok, I set up this jsfiddle. It’s not really perfect, but this is how I would do it. Or something similar. It obviously needs a ton of work and it’s not very pretty, but it’s a start.

    http://jsfiddle.net/GvSSb/1/

    Do you have a photoshop mockup of what you’re trying to achieve? You should really go off of that, because if you just start typing in code it’s probably not going to be as well thought out as it would if you had a visual guide to go off.

    Good luck.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page where there is a column and a content div, somewhat
I have an HTML page divided vertically into Header Body Footer The body in
.I have a div tag that is also divided into two divs. here is
Here's the problem: 1.) We have page here... www.blah.com/mypage.html 2.) That page requests a
I have a HTML page which is divided into two frames. Separate web sites
I have a page that has a around 30 links divided among 6 groups.
I have a table for contents on a page. The page is divided into
VS2005, ASP.NET, C#, IIS6 Hello friends, I have a master page divided into three
I have divided my page into three sections: left, center, and right. Elements supposed
I have an ASP.NET page in a frameset. I divided into 2 frames, 1.LEFTNAVI

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.