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

  • Home
  • SEARCH
  • 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 8094179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:43:02+00:00 2026-06-05T20:43:02+00:00

I have the following code: <div id=header> <h1>HEADER TEXT</h1> <div id=members> <form action= method=post>

  • 0

I have the following code:

<div id="header">
  <h1>HEADER TEXT</h1>
  <div id="members">
    <form action="" method="post">
    <input type="text" value="Search this site" />
    </form>
    <a href="#">Member Login</a>
    </div>
  <div id="nav">
  <ul>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
    </ul>
    </div>
</div>
<div id="main">

</div>
</body>

And here’s the CSS:

<style>
body {
    font-family:Verdana, Geneva, sans-serif;
    font-size: 16px;
    background-color: #EEE;
    color: #111;
    margin: 0;
    padding: 0;
}
h1 {
    display:inline;
    margin:0;
    padding:0;
    color:#000;
}
#header {
    position:fixed;
    width:100%;
    min-width:100%;
    background-color:#EEE;
}
#members {
    position:absolute;
    right:.5em;
    bottom:3em;
    margin: 0;
    padding: 0;
}
#members form {
    display: inline;
    margin: 0;
    padding: 0;
}
#nav {
    border-bottom:1px solid #3d5086;
    font-size:13px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bold;
    height: 3.5em;
    border-top: 1px solid #7683c4;
    background-color: #44529C;
    width: 100%;
    min-width: 100%;
    overflow: hidden;
}
#nav ul {
    padding:0;
    margin:0;
}
#nav li {
    display:inline;
    list-style-type:none;
    margin:0;
    cursor:pointer;
    border-left: 1px solid #7085ba;
    border-right: 1px solid #3d5086;
    float: left;
    height: 2.5em;
    padding-top: 1em;
    text-shadow: 1px 1px 1px #111;
}
#nav li:hover {
    background-color:#5a64b3;
    color:#FFF;
}
#nav a {
    padding: 1.6em;
    color: #EEE;
    text-decoration: none;
}
#main {
    background:#FFF;
    width: 1000px;
    height: 1000px;
    margin: 0 auto;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
</style>

The problem I’m having is that if I shrink the window small enough, the links in #nav start disappearing (or if overflow isn’t hidden, it gets pushed down to the next line). I can’t specify a width for the #nav as I need the background to extend 100%. Is there an easy fix for this? Another small problem, is it possible to make it so that, if the window shrinks small enough, the h1 and #members div don’t overlap? Thanks for any suggestions!

  • 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-06-05T20:43:04+00:00Added an answer on June 5, 2026 at 8:43 pm

    try setting min-width to the minimum size by which it still displays normal.

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

Sidebar

Related Questions

I have the following code <div class=framepage> <header> <script type=text/javascript> function getBaseUrl() { return
I have the following code: HTML <div id='foo'> <input type='checkbox' value='english' name='bar[english]' /> <input
I have the following code: ​<div id=container> <input type=text name=a1 id=a1> <input type=text name=a2
I have the following form <form id=myform method=post action=#> <div class=fields> <fieldset class=ui-widget ui-widget-content
I have the following code for a header: <div id=title-text> The Cuttlefisher Paradise </div>
if have the following code: <div id=container style=position:relative; width:300px; height:300px; overflow:scroll;> <div id=header> </div>
I have the following code (inherited from someone): <div class=feedback>&nbsp;</div> <form onsubmit=return false autocomplete=off>
i have the following code in html : <div id=header> <div id=logo></div> <div id=versione>
I have the following code <html> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8 /> <title>Untitled Document</title>
i have following code to show div on page <div id=all_users> <div id=user11 userid=11

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.