inherit
233449
0
Aug 29, 2018 10:44:07 GMT -8
DELIRIOUS !?
3
June 2016
d3lirious
|
Post by DELIRIOUS !? on Aug 27, 2018 9:32:54 GMT -8
I am getting this. How can I stretch the background colour where the link is to match up with the bordered description? This is the CSS I have. .link {background-color:#999;padding:5px;font:8px yanone kaffeesatz;text-transform:uppercase; color:#F6F8FD!important;letter-spacing:2px;text-align:center!important; }
I've tried adding this: .link {width: 100%;background-color:#999;padding:5px;font:8px yanone kaffeesatz;text-transform:uppercase; color:#F6F8FD!important;letter-spacing:2px;text-align:center!important; }
and variances to pixel width, but it just stays the same as the screenshot above.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Aug 27, 2018 13:20:59 GMT -8
Spans are inline elements by default. You'll likely need to make it display as a block-level element using the following property to accomplish what you're trying to do since you can't perform the same actions to inline elements as you would block-level elements.
|
|