Have you ever had an element in your responsive website design which needed some padding, but you couldn’t add it because it broke the design? There’s a solution to that problem. Normally, the element in question will just add padding to the outside of itself, often expanding well beyond the space it is supposed to take up. But there is … Read More
width - Category Archive
These are instructions on how to make an HTML link or button expand to be as wide as its parent element. Maybe you have been confused in the past and that darn link just never wants to grow. Here is the CSS you are going to want to apply to that link.
text-align:center; /*This will result in centering the link text, which is probably what you want -brianjohnsondesign.com*/
And the corresponding HTML:
<a href="#" class="fullwidth">Subscribe now</a>
The secret … Read More