Why is giving a fixed width to a label an accepted behavior?
        Posted  
        
            by kemp
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by kemp
        
        
        
        Published on 2010-04-02T16:58:07Z
        Indexed on 
            2010/04/02
            20:23 UTC
        
        
        Read the original article
        Hit count: 327
        
There are a lot of questions about formatting forms so that labels align, and almost all the answers which suggest a pure CSS solution (as opposed to using a table) provide a fixed width to the label element.
But isn't this mixing content and presentation? In order to choose the right width you basically have to see how big your longest label is and try a pixel width value until "it fits". This means that if you change your labels you also have to change your CSS.
© Stack Overflow or respective owner