>This is one of the things that irritates me a lot. I do not know if I am missing something here but this is something I found since a few years. In quirk mode, if a textbox is defined for a width of 300 and I have under that tag a select tag of a width of 300, this is a perfect match. But, as soon as I switched that document to HTML5, thus having the DOCTYPE declaration, there is an offset of six pixels between the two. As anyone found a way to avoid that other than to manually remember that we need to put a difference of six pixels for the width to match perfectly when this will be rendered on the browser?
Just a general observation really:
HTML was originally intended to give guidance to a browser as to how a page is displayed - the way in which the browser chose to interpret this information was it's own affair. To an extent this still applies - so attempting to micro manage the appearance of a page across browsers via the HTML will drive you mad. To be fair this probably isn't the fault of the Browser writers - they have the opposite problem in that they have to try to give a consistent interpretation to widely (or even wildly) varying HTML.
HTML5 should be a step in the consistency direction - but it ain't there yet :-{
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement