?
Solved

html keeping table at bottom center

Posted on 2014-03-17
4
Medium Priority
?
174 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 84

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

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses how to create an extensible mechanism for linked drop downs.
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 how to count occurrences of each item in an array.
Suggested Courses

752 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