Solved

html keeping table at bottom center

Posted on 2014-03-17
4
171 Views
Last Modified: 2014-03-22
I have the following code working to put a table on the bottom of my web page:

<style>
#bottomDiv { position: absolute; bottom: 0 ; }
</style>


The only issue is that I need the table centered and while this code is putting the table at the bottom is to the left.  Is it possible to do this but center it on at the bottom of the page?
0
Comment
Question by:thandel
[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
  • 3
4 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39935950
Try this.
#bottomDiv { position: absolute; bottom: 0 ;margin-left: auto;margin-right: auto; }

Open in new window

0
 

Author Comment

by:thandel
ID: 39935958
No difference with your code.
0
 

Accepted Solution

by:
thandel earned 0 total points
ID: 39935972
I removed the DIV and just added the following line prior to the table:

<p style=" position: absolute; bottom: 0; left: 0; width: 100%; text-align: center;">
0
 

Author Closing Comment

by:thandel
ID: 39947254
Self resolved.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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)

724 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