• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Centering an HTML object vertically and horizontally on a page?

igowerf

Diamond Member
I used to use a table with width and height at 100%. Then I would place everything else inside the table and align="center" and valign="middle". Well, apparently the height property for tables isn't actually HTML compliant. Is there another way to center objects? Thanks.
 
Ah. I figured that I could use stylesheets to do it, but I still haven't fully figured out CSS. Thanks!
 
Originally posted by: igowerf
Ah. I figured that I could use stylesheets to do it, but I still haven't fully figured out CSS. Thanks!

considering the <font> tag is depreciated I would get on that 😉 they are a snap and you will wonder HOW you EVER got along without them 😉 I promise 😀
 
Originally posted by: Kappo
Originally posted by: igowerf
Ah. I figured that I could use stylesheets to do it, but I still haven't fully figured out CSS. Thanks!

considering the <font> tag is depreciated I would get on that 😉 they are a snap and you will wonder HOW you EVER got along without them 😉 I promise 😀

Well, I've been using style sheets for text (I don't think I use a font tag anywhere in my site) and, at most, to define basic properties for things like div tags. There's just too many things to remember in CSS so I usually end up copying stuff from tutorials.

notfred, I hesitated a little when I typed "HTML object" because it sounded weird, but I wasn't sure how else to describe "objects" in HTML. 🙂
 
Back
Top