View Single Post
Old 11-16-2014, 07:48 AM   #3
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Oh, thank you (once again!), Rubén! Indeed, that does seem to work out just fine! I was worried that I was going to have to do something really major (like not use tables at all -- eek!), but that should be fairly easy to change.

So I gather what you're saying is to use styles to set the column width, rather than that <colgroup> method? It's funny, but I'd never even heard of that <colgroup> tag until I did this, and I forget where I saw it, but I think I read somewhere that that was the way to do it for ebooks -- but obviously it doesn't quite work.

As for centering the table, what you did for this particular table worked out just fine, but I have so many other tables, each all a little "weird" in their own way, and there are some that I wish I could just have centered on the page if the viewing area is wide (for example, single-page landscape), but if necessary could be 100% the width of the screen if it's not-so-wide.

Or, to put it another way, I just wish there was a simple, stupid <center> tag, like there used to be!

Is there no way to have an item -- like a table -- and just have it "center" on the page, but without having to do it by setting a specific margin size? Like, just center the stupid thing, and if it needs to be 100% wide, then it just is, and if it doesn't then it just adjusts itself?

I find it so crazy that "centering" something is one of the most common and useful things that one can do in design, and yet they tossed that out the window as CSS got more "advanced" (supposedly). I really find that incomprehensible...

...but anyway, I digress.
Psymon is offline   Reply With Quote