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
Upgrade Sqlite in RHEL5.4
USB Mouse and Keyboard Not Working
Calender applications.....
Coookie not storing information
C++ Serial Communication - LSB & MSB
How to set the backcolor of the entire gridview rows quickly +vb.net 2005
OpenOffice 3.2 GPO Install Problem
OCS 2007 R2 and Cisco call manager
Terminal server 2008 R2 Pinned Taskbar Links
How many instances of a web application can run on a server