SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Nov 2012
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Having done all this I E 8 gives me a margin ? How to get rid of it

    This is the web page

    http://www.c5d.co.uk/sterlingpayments.php

    You will see that it IE8 the "home symbol" has a yellow margin round it.

    It doesn't in Firefox or Chrome

    Is it possible to remove it ? Or it one of those IE quirks I keep reading about ?

    Thanks

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    IE is a stupid browser, but IE8 and above are not hard to deal with in general. Try something like this:

    Code:
    #menu-item-143 a {color: black;}

  3. #3
    SitePoint Addict
    Join Date
    Nov 2012
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm afraid that this doesn't have any effect.

    Is it possible to add a black margin ? Or might that put it round the yellow ?

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Another thing to try is

    Code:
    img {border: none;}

  5. #5
    SitePoint Addict
    Join Date
    Nov 2012
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's the one.

    Easy when you know how I guess

    Thanks again.

    I have finished with this bit of my site now, though I think you mentioned that I should try and remove the BR tags and replace them with line heights.

    I'll try and read up on it first before giving it a shot. Though my book isn't very clear.

    Thanks again

    Antony

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by certificates View Post
    I should try and remove the BR tags and replace them with line heights.
    Not so much line heights, as <p> tags. E.g. Replace this:

    Code:
    <p>Over the years I have made 
    many varied payments, for many varied things for anyone who needs to make a UK 
    Payment.<br><br>I have ordered films/fiches, paid a deposit on a holiday at a B 
    &amp; B in the Lake District, and numerous F H S Subscriptions where credit card 
    facilities are not acceptable.<br><br>My charges are, 
      2.00, plus 3.5% of your payment. This covers the commission levied by my 
    credit card company. <br><br>If you wish to pay by check/cheque, please contact 
    me by e mail, and I shall quote you in your currency.</p>
    with this:


    Code:
    <p>Over the years I have made many varied payments, for many varied things for anyone who needs to make a UK Payment.</p>
    
    <p>I have ordered films/fiches, paid a deposit on a holiday at a B &amp; B in the Lake District, and numerous F H S Subscriptions where credit card facilities are not acceptable.</p>
    
    <p>My charges are,  2.00, plus 3.5% of your payment. This covers the commission levied by my credit card company.</p> 
    
    <p>If you wish to pay by check/cheque, please contact me by e mail, and I shall quote you in your currency.</p>
    To spread the <p>s apart a bit, do something like this in your style sheet:

    Code:
    p {margin: 1em 0;}


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
  •