Microsoft
Software
Hardware
Network
Question : How can I center my table in relation to the width of my defined body-width in XHTML 1.0 Transitional?
How can I center my table in relation to the width of my defined body-width in XHTML 1.0 Transitional?
Now, when I enclose my table (width 500) with
1:
<div align="center">
, the table centers in relation to the whole screen, not in relation to the body width as I want. In the beginning of the XHTML-document, I set
1:
<body>
to width="800" and there are no other parts that are "breaking" that width.
Answer : How can I center my table in relation to the width of my defined body-width in XHTML 1.0 Transitional?
<body>
<div style="width:800px;margin:
0 0;text-align:center;" >
<table align="center">
<tr>
<td>
...
...
</td>
</tr>
</table>
</div>
Random Solutions
Fancybox Jquery Form
Problem connecting Netapp FCP LUN on SERVER 2008
Configuring logging in named.conf
Radio button Dependency using JSF and Apache Trinidad
How can I display this without line breaks
How can I get an email to release its hold on an attachment after sending?
SCCM OSD deployment to Hyper-v R2
Why is my border not wrapping around all of my content in firefox??
WRVS4000 Router in front of Cisco ASA
Java Data Array Sorting Advice Needed