Jump to content

Auto-width for sub-menu


sircharlo

Recommended Posts

Yeah, but I don't want to use pixel values, as the actual width of the button changes from browser to browser (different font size, different fonts, etc.). I was thinking of maybe a percent (100%) ? How would that work ?

Link to comment
Share on other sites

Yeah, but I don't want to use pixel values, as the actual width of the button changes from browser to browser (different font size, different fonts, etc.). I was thinking of maybe a percent (100%) ? How would that work ?
Use em instead. 1 em = 10px / 1.5 em = 15px etc.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...