Results 1 to 3 of 3

Thread: Not sure of correct code

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default Not sure of correct code

    Hi,
    Here is the page in question,
    http://www.theremotedoctor.co.uk/por...cessories.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.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    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;
    Code:
     {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;
    Code:
    p.emphasizekeycutting { padding-bottom:5px }
    Change 5px to suit.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Spot on.
    Thanks very much.

Similar Threads

  1. Script that will load winner page for first person to enter the correct code
    By sleekpanther in forum General Paid Work Requests
    Replies: 3
    Last Post: 08-09-2010, 09:52 PM
  2. Resolved Please Correct my PHP Code
    By tgallagher26 in forum PHP
    Replies: 2
    Last Post: 05-07-2009, 04:43 AM
  3. Replies: 4
    Last Post: 10-21-2008, 04:49 AM
  4. Can someone correct this?
    By quint in forum JavaScript
    Replies: 4
    Last Post: 05-12-2007, 09:42 AM
  5. How to do correct code for errors?
    By toplisek in forum PHP
    Replies: 0
    Last Post: 12-05-2006, 07:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •