Need help making row of buttons consistent

Posted by oliverghingold on Stack Overflow See other posts from Stack Overflow or by oliverghingold
Published on 2010-03-27T16:13:22Z Indexed on 2010/03/27 22:43 UTC
Read the original article Hit count: 340

I'm making my first website, and I'm trying to make variable-sized buttons so they'll render correctly on low resolution (read: mobile) browsers. Currently I just have the usual rollover image solution (185 pixels wide by 37 tall if anybody cares), but when I preview the site in low resolution it looks, predictably enough, like complete crap (more specifically they don't have room so they arrange vertically instead of horizontally and take up a huge amount of screen real estate).

Semi-related, is there a way to overlay text on a button without saving separate images, each with the correct text? Just using a single template for buttons and then deciding what text goes on it as it's needed?

tl;dr: I'm trying to get a horizontal lineup of buttons for navigating my website, but I'm a noob and I can't do it right without your generous assistance.

© Stack Overflow or respective owner

Related posts about button

Related posts about rollover