View Full Version : Underline on CSS

04-04-2011, 06:26 PM
Hi, I am just wondering, is it possible to change the thickness & colour of an underline? I want my text to be "Home" with a 3 px orange underline under the word home, is this possible?

04-04-2011, 06:35 PM
Hello DaleCee,
You are describing a bottom border. Have a look at http://www.w3schools.com/css/css_border.asp

04-04-2011, 06:37 PM
use border-bottom as your underline then you can define it to be whatever colour and thickness you require. To move it away from the word use padding-bottom.

Apologies for not refreshing before I answered.