Will someone check the grammer and usablity on a tutorial I just wrote about centering stuff vertically? Thanks!
(E-Mail me w/ ur email address Yeldarb at Barbdwyer dot com)
Will someone check the grammer and usablity on a tutorial I just wrote about centering stuff vertically? Thanks!
(E-Mail me w/ ur email address Yeldarb at Barbdwyer dot com)
actually, i’ll just post it
www.barbdwyer.com/misc/Tables.doc
Here’s the larger issue, put in a Doctype, which is required when validating a page, and see what happens to the height. I can get it to work if I use something like height=“100px,” but using height=“100%” is a no go. Add to the fact that you are basically using tables to help in the areas of layout and tables are not made to do that. Yes, they can do it, but tables are made to display tabular data, and that’s it, as per W3C’s recommendations. CSS is what is used for formatting of a web page. Here’s a side by side look at a table design to center something within an area and a div design with CSS to do the same thing. Also note the div/CSS version looks the same in IE 5.5 and Mozilla 1.5 where the table version doesn’t, and I would have the CSS defined in a external file so there would be even less code in the HTML file itself.
See attachment for code
the reason it doesnt work is because you can’t use quotes on 100% for some reason
yeah, I should really brush up on my CSS, but oh well
Well, your suppose to use quotes.
but it works if you don’t
Do you mean you took my code and just removed the quotes from the height attribute and it worked? I tried that and it didn’t work.
no, out of the height=“100%” it works if it’s height=100%
I changed it to height=100% in my code and it didn’t work.
hmm, that’s odd, that’s the only way it works for me…!!!
are you using internet explorer?
(btw, I’m talking about in my tutorial, not in the files that you posted)
Well I’m talking about in the file I posted. Does your file have a Doctype in it as the first line of code? If it doesn’t, then the height=“100%” works. If you have it in there, then it doesn’t work, and I already mentioned you need it to validate your page, so…
validate page? what r u talking about?
Validating a page against W3C’s standards. The W3C is the body of people who got together and have tried to create a standard against which (X)HTML should be judged. Web design is only getting more and more inline with what the W3C is trying to do.
http://www.w3.org/
http://validator.w3.org/
http://www.alistapart.com/articles/doctype/
:: Copyright KIRUPA 2024 //--