2 replies [Last post]
swbc
Offline
newbie
Memphis, TN
Last seen: 14 years 29 weeks ago
Memphis, TN
Joined: 2007-02-24
Posts: 2
Points: 0

Hello all. I am fairly new to CSS, and am redesigning our website using it. Previously, I was using an image button for each button on our site (i.e., an image with the text for every single button). All of these buttons really began to add up for :active, :hover, and : visited buttons. CSS will solve my problem of multiplying buttons, but I have a problem.
I've got a background image repeating-x for the button. But now all of my buttons are different widths. Is there a way to set a standard button width so that all of the buttons (which are in a column) can be the same width?
Here is a link to the original (non-CSS) page: http://www.southwoodsbc.org/ministries/index.htm.
And here is a link to the new (CSS) page: http://www.southwoodsbc.org/new/resources/index.html.

I hope you can help!
Ben

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 48 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Add display: block to

Add display: block to #buttons a.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

swbc
Offline
newbie
Memphis, TN
Last seen: 14 years 29 weeks ago
Memphis, TN
Joined: 2007-02-24
Posts: 2
Points: 0

Thanks!

Thank you for your help! Worked like a charm.