View Full Version : DIV inside TD
09-26-2006, 11:30 PM
I can't get a DIV to align in the center of a TD. I thought I had it but in browser it doesn't show. I took a look at it in Dreamweaver to see if it had any problems, and it shows up in the center there. Any ideas?
Simple div inside a td..
09-26-2006, 11:33 PM
What's inside the div? How wide is the div? How wide is the table cell?
And why are you still using tables for layout? ;)
09-27-2006, 12:38 AM
Because when I learned web designing, nobody used Divs. I am too lazy to use divs. For now, I have to hurry and get my website done because my bank is about to kick me out for wasting their Space on the computers.
Once it is up and running, I will begin designing a new layout and take my time with the design.
Divs are more complicated. I still don't get why I should use them over tables, when I work with tables very, very easily.
Anyway, on my original question, I fixed it... ...soft of. wrap the divs in another div and align=center on the wrapper. Poor man's way of doing things.
09-27-2006, 12:53 AM
Well, that's why I asked you the other questions too. To help show you how to center a div.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.