Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Footer position should float below selected div

Posted on 2008-06-10
3
Medium Priority
?
689 Views
Last Modified: 2010-04-21
hi -
please see http://www.sellthink.com/result2.htm

i am really struggling to make the header footer (line 398 - 425) align properly.  

the footer should align in the middle of the page, just below the submit button, and shoud "float" in the same position relative to the submit button when either "Write your own script - FREE" or "Professional Script Writing Service - Only $99.95 USD" radio buttons (which control show/hide divs) are selected.

can someone pls give me some guidance?
0
Comment
Question by:chrisj1963
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
intrwrks earned 2000 total points
ID: 21756887
Sorry about that. Don't know how I missed the second part of that question, but to fix the footer you should remove the height from mydiv and remove everything from mydiv2 except the text-align center.
#mydiv
{
     margin:0px auto;
     width:30em;
}
 
#mydiv2
{
     text-align:center;
}

Open in new window

0
 

Author Comment

by:chrisj1963
ID: 21756987
thanks for the response, but take a look at http://sellthink.com/result2.htm in ie or firefox.  the footer is floating over the divs.  any thoughs on how I can fix that?
thanks
0
 

Author Closing Comment

by:chrisj1963
ID: 31466025
it worked perfectly... pls disregard my followup comment
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question