View Full Version : Underline on CSS
04-04-2011, 05: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, 05:35 PM
You are describing a bottom border. Have a look at http://www.w3schools.com/css/css_border.asp
04-04-2011, 05: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.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.