I have a bottom border under my h2 style in my content, and I want to define its length (not its width). I don't want it to extend so far to the right. Can I put padding or something there or to define its length?
I have a bottom border under my h2 style in my content, and I want to define its length (not its width). I don't want it to extend so far to the right. Can I put padding or something there or to define its length?
The border will extend as far as the h2. If you put padding on the h2, the border will extend as far as the padding.
It sounds like you are trying to make the border *shorter* than the length of h2. I can't think how you can do by simply modifying the style of the h2.
This topic has been closed to new replies.