Solved

Footer position should float below selected div

Posted on 2008-06-10
3
685 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
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
intrwrks earned 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

856 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