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 9118813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:14:40+00:00 2026-06-17T05:14:40+00:00

This should be a relatively easy question. Though I am yet to find a

  • 0

This should be a relatively easy question. Though I am yet to find a solution as I’m a beginner. All I would like to do is center my search box. The html is as follows:

jsFiddle

  <div class="colums">
    <li class="share"> <a target="_blank" href="#"></a>

    </li>
    <div id='search-box'>
      <form action='/search' id='search-form' method='get' target='_top'>
        <input onwebkitspeechchange="voiceInputOver(this.value)" x-webkit-speechname='q'
        placeholder='Search Contrabang...' type='text' />
      </form>
    </div>
  </div>
  <div class="colums">
    <div class="cntratop">
      <ul>
        <li class="live"> <a target="_blank" href="#">+Contrabang</a>

        </li>
        <li><a target="_blank" href="#">Blog</a>

        </li>
        <li><a target="_blank" href="#">Events</a>

        </li>
        <li><a target="_blank" href="#">About</a>

        </li>
        <li><a target="_blank" href="#">Contact</a>

        </li>
      </ul>
    </div>
  </div>
  <div class="columa">
    <div id="text-display"> <span>Your Daily Dose of Contrabang</span>
    </div>
  </div>

The CSS is as follows:

.columa {
  background:transparent;
  width: 960px;
  height: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0px;
}
.colums {
  background:transparent;
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0px;
}
.cntratop {
  font-family: sans-serif;
  font-size: 14px;
}
.cntratop ul {
  list-style:none;
  margin-top:12px;
  background:;
  width:760px;
  padding:0px 0px 0px 0px;
  margin-left: auto;
  margin-right: auto;
}
.cntratop li {
  display:inline-block;
}
.cntratop li:first-child {
  margin-left:0px;
}
/*navbar text*/
 .cntratop a {
  display:inline;
  margin-left: -9px;
  padding:15px;
  text-decoration:none;
  color:#999;
  cursor:pointer;
}
.cntratop a:hover,
/*
.cntratopli.live*/
 a {
  font-weight:bold;
  color:#E94F78;
}
#search-box {
  list-style-type: none;
  display: inline;
  margin-left: 0px;
  margin-right:0px;
}
#search-form {
  width:0px;
  background-color: transparent;
  position: relative;
  margin-top: -23px;
}
#search-box input[type="text"] {
  width: 760px;
  font-family:Georgia;
  font-style: italic;
  font-size: 90.0%;
  padding: 3px 2 2px 10px;
  color: #999;
  outline: none;
}
#search-text {
  font-size: 13px;
  font-family:Georgia;
  font-style: italic;
  border-width: 0;
  background: transparent;
}
#search-button {
  position: absolute;
  top: 0;
  right: 0;
  height: 32px;
  width: 80px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  line-height: 0px;
  border-width: 0;
  background-color: #3d3d3d;
  cursor: pointer;
}
#text-display {
  background-color:#E94F78;
}
#text-display {
  top:;
  position: relative;
  display:inline-block;
  padding:5px 10px;
  font-family: sans-serif;
  font-weight:bold;
  font-size:50px;
  color: white;
  text-align: center;
  line-height: 1.2em;
  margin:50px;
}
  • 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-17T05:14:41+00:00Added an answer on June 17, 2026 at 5:14 am
    #search-form {
      /* width:0px; */
      background-color: transparent;
      position: relative;
      margin-top: -23px;
    }
    

    Removing the width:0px from #search-form should resolve this problem. The text-align:center style, within your .colums class, appears to control the alignment of the search input.

    Hope that helps 🙂

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

Sidebar

Related Questions

This seems like it should be relatively straightforward, I cannot figure out what I'm
This should be relatively easy to do, but after several hours straight programming my
I am relatively new to rails - therefore the question should be very easy
I am relatively new to ruby on rails, so this question might be easy.
I'm sure this should be relatively easy to do with Jquery, but my attempts
Setup OSX 10.7.4 Eclipse Indigo, Pydev, Tweepy-1.9 I thought this should be relatively simple
This should be a really, really simple one, I would assume. I'm throwing together
This should be a pretty straightforward question. I have the following code, which forms
I am relatively new to MVC, so this is likely a novice question. I
Having what I thought should be a relatively easy problem to deal with being

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.