Log in

View Full Version : Not sure of correct code



theremotedr
10-27-2014, 02:01 PM
Hi,
Here is the page in question,
http://www.theremotedoctor.co.uk/porsche_accessories.html
Please click PORSCHE Uncut Blade
Now you will see where i require some help.
I am trying to remove the gap between KEY CUTTING & UK REGISTERED POST but the text colour needs to be as shown on the page.

I have tried a few things but cant seem to solve this.
The best i have come up with when deleting the gap is that the text is all the same colour,but then just is not what i require.

If you could advise.
Thanks.

Beverleyh
10-27-2014, 02:54 PM
I am trying to remove the gap between KEY CUTTING & UK REGISTERED POST

It looks like you have a 20px bottom padding on all <p> elements;
{margin: 0px; padding: 0 0 20px 0;}
so you would need to cancel that out by targetting the "KEY CUTTING" text. It already has the class "emphasizekeycutting", so add this (below any default p styling) to your stylesheet;
p.emphasizekeycutting { padding-bottom:5px }Change 5px to suit.

theremotedr
10-27-2014, 04:46 PM
Spot on.
Thanks very much.