best CSS help/forums
best CSS help/forums
Out of context: Reply #5
- Started
- Last post
- 8 Responses
- jamble0
The selector a[href^="http:"] will be picking up the padding right which is 22px in your rule above.
You could just remove the http: selector as it's going to apply to all links. The other selectors are more specific so would add that padding to links with those extensions but basically everything will get the padding because of the http bit.