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
Memory Advanced ECC Mode with Mixed DIMM Capacities on Dell R710 PowerEdge
Get Access Database online
drive mapping not working?
How to design my DNS structure
JQuery based image (actually an element of code) rotator
"bad request" when trying to access 'options' page in Exchange 2010 OWA
What is the proper DNS settings for ...
Iterating through a PDF file (stepping through) for validation purposes
Custom Search Page and Impersonation
How do I dynamically sum up/display customcontrol (ascx control in the item template) values into an asp:repeater footer?