The title explains it all. I want to create a tableless template. So I need a simple code to put the div in the middle. Thanks, ~HPA
HPA, the best you're going to be able to do is provide a graphical mockup of how you want the design to look (simple boxes with the type of content listed inside will be best) so that someone who knows what they're really doing (read: deathshaodw, Stomme poes, soulscratch, myself, etc) can show you how to code it the best way.
The current width of my table is 732px. But I want to create a tableless page. But i still want my contents to be in the middle...
Then what you need to do is create a container DIV that will hold everything in the page, give it a width and then use margin: 0 auto; to center the page (but not its contents).
okay to get your content in the middle put everything in a 'wrapper' div and give it this property: margin: auto;
Link to page ?. A text-align:left; may solve it.. I'm getting the hint that you're not even using a doctype.
I'm using a doctype.... I'm working on it, offline... Okay i'll try to add text-align: left; Problem solved, thanks so much!