Solved

Footer position should float below selected div

Posted on 2008-06-10
3
688 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
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…
Suggested Courses

623 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