ddantes
asked on
Centering a div in html5
It's been a while since I needed to code an html5 page, and I'm having a challenge centering a div. The page is at www.mauitradewinds.com/links.htm At the bottom of the top section of links there is a link to Maui Helicopter Tours. The div is styled with textalign:center, but it is not centered. Please advise.
ASKER
Thank you for your comment. I tried applying that style, but the item is still not centered. Please have another look.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks to both experts. Moving the div out of the ul resolved it.
Really it's the left and right margins that need to be set to "auto", you can set what you life for top and bottom