Click to See Complete Forum and Search --> : Trying to understand why my tables arnt lining up


Twinky279
11-12-2006, 07:35 PM
is my site. This is my first web site. Im currently working on it now. Iv been trying to understand why my little ads at the top are not lining up directly underneath everything else. Im pretty sure that its the colspan attribute. Iv tried doing different things with it, like changing the colspan value for each <tb> tag but i still just cant seem to figure out why it wont line up. Any suggestions? :confused:

Charles
11-12-2006, 07:43 PM
Any suggestions?Stop breaking the rules, using TABLEs for layout.

drhowarddrfine
11-12-2006, 08:22 PM
I think he cut/paste a lot of this code. He has the body element in the middle of the page. There is no doctype. It's a real mess.

Twinky279
11-12-2006, 08:56 PM
no, im working on it through Geomodules, a classifieds program. alot of the html contains modules within the program that are linked with other stuff. And plus im only 16. Im just trying to find some way to understand this stuff, because the manuals dont help out to much with basic HTML. Iv also gotten a program from teachucomp. But it doesn't go to in depth about tables. and what rules did I break?

Charles
11-13-2006, 04:24 AM
what rules did I break?I meant From the HTML 4.01 Specification:
Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.
http://www.w3.org/TR/html401/struct/tables.html#h-11.1 But you can find a list of others at http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.patrader.ca%2F and more at http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fwww.patrader.ca%2F .