xhtml - line-height not working after change from XHTML1 Trans to HTML5 doctype -


A website I'm working on was originally created using XHTML 1.0 Transcriptional - however, since I dislike it, I switched

When I refresh the page, there is a subtle change in the text on the page for some reason.

When this goes, the line-height ceases to work under a fixed pixel (usually font-size), to allow users to access the view-alignment of the menu I set For example, if font-size is set to 14 pixels, then line-height: 14 pixels; as the same code line-height: 1px; will display, when you know 1px should be overlapping with font size greater than 1px.

You [deleted time] - & gt; You can see a demonstration at The test login is: Testpile / test

Any feedback should generally be made about line-height in order to respond normally?

HTML5 ideology, due to being more modern theory, causes standard mode in browser XHTML 1.0 Transcriptional DotPep Limited - causes Corks mode. The behavior you get with the HTML5 ideology is right, so you are actually asking "How can I line-up like not ?" It's going to be difficult.

Here is a description of the differences in the calculation of line-height between the limit-quirks (aka almost standards) and the mode of standards:

You will need to embrace standard mode Behavior and adjust your layout accordingly.

Comments