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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:30:45+00:00 2026-05-28T02:30:45+00:00

I can’t understand how to solve this. I’m trying to insert my search form

  • 0

I can’t understand how to solve this. I’m trying to insert my search form in a page written by someone else and it overlaps.

This is the wrong version. As you can see, it has a weird behaviour.

http://jsfiddle.net/ecFWr/2/

This is the relevant bit of code

<div style="width: 400px; float:right">
        <link rel="stylesheet" type="text/css" href="/css/search.css">
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
        <script type="text/javascript" src="/js/jquery.color.js"></script>
        <script type="text/javascript" src="/js/search.js"></script>
        <link rel="stylesheet" href="/css/search.css">
        <form id="searchForm" action="/tags/search">
            <fieldset style="border:0px; padding:0px">
                <div class="input">
                    <input type="text" name="s" id="s" value="Cerca...">
                </div>
                <div>
                    <input type="submit" id="searchSubmit" value="">
                </div>
            </fieldset>
            <input type="hidden" name="owner_id" id="owner_id" value="1">
        </form>
        <div>
            <fieldset>
                <legend style="padding:0;">
                <span style="display:none;">
                Documento di sintesi &nbsp;<a href="javascript:;" title="TOGGLE_RESOURCE" onclick="jQuery_1_4_x('#wiki').toggle(!jQuery_1_4_x('#wiki').is(':visible'));"><img src="/img/icons/zoom.png" alt="show">Mostra/Nascondi</a>
                </span>
                </legend>
                0 documenti di sintesi presenti<br>
                <a href="/wikitool/create/Infodisc/1"><img src="/img/icons/page_add.png" style="border: 0px; margin-bottom: -3px;" class="pngfix" alt=""> Crea un documento di sintesi</a>
                <div id="wiki" style="display: none;">
                </div>
            </fieldset>
        </div>

If i use

<div style="width: 400px;">

instead of

<div style="width: 400px; float:right">

i get this

wrong floating

what i’m doing wrong?

I can post the whole page if needed.

  • 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-28T02:30:46+00:00Added an answer on May 28, 2026 at 2:30 am

    If you just want to place your search area on the right side without overlapping, you can keep your div float to the right, and make the div below it float to the left, like this:

    <div style="width: 400px; float: right;">
      ... your div
    <div>
    <div style="width: 100%; float:left;">
      ... div immediately below
    <div>
    

    Updated version: http://jsfiddle.net/ecFWr/4/

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

Sidebar

Related Questions

can someone explain why the compiler accepts only this code template<typename L, size_t offset,
Can anyone tell me what i am doing wrong? I am trying to get
Can anyone help me trying to find out why this doesn't work. The brushes
can someone show me the regex for this preg_match. I want to make sure
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
Can I run this in a Windows command prompt like I can run it
Can anybody help me? What should be the datatype for this type -07:00:00 of
Can someone guide me on a possible solution? I don't want to use /bin/cp
Can you guys help me understand a concept real quick, I'm having trouble understanding

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.