Link to home
Start Free TrialLog in
Avatar of thandel
thandel

asked on

html keeping table at bottom center

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?
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Try this.
#bottomDiv { position: absolute; bottom: 0 ;margin-left: auto;margin-right: auto; }

Open in new window

Avatar of thandel
thandel

ASKER

No difference with your code.
ASKER CERTIFIED SOLUTION
Avatar of thandel
thandel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thandel

ASKER

Self resolved.