The HTML/CSS problem

The problem itself is with div tags and alignment. To align a div, all you have to do is add “style=”margin:auto”" to the div tag, and there you have it: a centered div tag. But what if you want it vertically aligned?

As far as I know, aligning a div tag onto the middle of the screen still needs a div tag spanning the whole screen, which is vertically aligned to the middle, in which case you have your other div tag wrapped inside.

In other words, it’s easier to use a table.

Most people are telling you not to use tables to wrap your whole webpage in, as they’re slow to load and don’t display until they’re fully loaded. Well, some people just got to ask “is it for my convenience I just use tables, or is it better to use CSS and extra tags, which sometimes doesn’t even work in some browsers?”.

Go figure -.-

0 Responses to “The HTML/CSS problem”



  1. No Comments Yet

Leave a Reply




Friendly Notice

Most text except for the quoted/bolded/italicised/where said so text belongs to me ("intellectual property", how can you own text?) so if you want to reproduce something, talk to me via comments.