3 ms·
#vertalign {height: 50%; position: absolute; top: 25%; } There you go. That CSS is useful for popup dialogs. Though most of the difficulties I see with vertica
by protonfish 12y ago
#vertalign {height: 50%; position: absolute; top: 25%; }
There you go. That CSS is useful for popup dialogs. Though most of the difficulties I see with vertical-alignment are due to poor design and implementation.
HTML and CSS get new features all the time so clearly nobody is saying they shouldn't improve. It's people saying that "HTML is inherently broken so there should be something else but they don't know what" that I am getting sick of.
- joesb 12y agoThis requires #vertalign to have fixed height. You cannot have variable height (based on its own content) and also be vertical align.