Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

html - center table

How can I center a table without centering textboxes and data inside?
I tried this, but everything is centered.

 <div align="center"><table ...>

</table></div>
0
VBdotnet2005
Asked:
VBdotnet2005
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
IE is the only browser that does that.  You need to put something like align="left" in the table tag.

<div align="center"><table align="left"...>

</table></div>
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now