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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:24:12+00:00 2026-06-11T16:24:12+00:00

I have a webpage which initially looks like this. When clicked upon a link,

  • 0

I have a webpage which initially looks like this.

enter image description here

When clicked upon a link, a small form appears to the right side of the page.

enter image description here

enter image description here

The problem is when that happens that line which reads Record added also moves to the middle.

These are the CSS rules I’ve written to position them.

#frmAddService { float:right; padding-right:250px; padding-top:150px; }   //the form

#msg { float:right; padding-right:250px; padding-top:300px; }   //the 'Record Added' line

How can I make that line’s position fixed when the form appears?

Thank you.

  • 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-11T16:24:13+00:00Added an answer on June 11, 2026 at 4:24 pm

    Cool thank for the link, that help 🙂

    I created a new div and add your form and your msg in it. that way, if one move both move.
    And I put the id, formContainer.

    here is the CSS

    #formContainer{width:350px; float:right;padding-right:250px;}
    #frmAddService {position: relative; float:right;padding-top:300px;}
    
    #msg { position:relative; float:right; padding-top:300px; }
    
    #tasks { float:left; padding-left:40px; padding-top:100px; }​
    

    I also moddify your Jquery to change the value of your #msg

    $(function()
    {
        $("#frmAddService").hide();
    
        $("#add").click(function()
        {
            $("#frmAddService").fadeIn("slow");
            $("#msg").css("padding-top","0px");
            $("#msg").css("margin-top","10px");
            $("#msg").css("padding-right","100px");
            return false;
        });
    });
    

    and this mostly it as you can see in http://jsfiddle.net/PJVu6/29/ it work fine.

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

Sidebar

Related Questions

I have a webpage with a form, which looks kinda like this: @using (Html.BeginForm(MyAction,
I have a webpage which I'm updating, this page uses Prototype together with Lightbox.
I have this webpage which shows me some images and some images are on
I currently have an app which reads a line from a webpage which looks
I have a webpage in which I have a div that I would like
I have a form in asp.net webpage which contains 2 drop down lists and
I have an webpage which posts some data and then redirects to a page
Here's the situation I have a webpage which has one drop down called prefer.
I have a WebPage on which I have to detect and prevent usage of
I have created a Webpage which will post as post method..not as get method.

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.