Help me solve this chrome, mozilla cross browser issue

Discussion in 'Programming' started by Ruddo, Oct 7, 2009.

  1. #1
    How come google chrome displays my coupon codes underneath the word "coupon" while in firefox they are inline?

    The url is coupons.ruddo.com/godaddy/

    scroll to the bottom to see what I am talking about
     
    Ruddo, Oct 7, 2009 IP
  2. ohteddy

    ohteddy Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #2
    
    <li><strong>$20 off orders $100 or more</strong><br />
    Coupon:XXX</p>XXX
    <input type="text" value="  cjcdeal17" size="10" readonly="readonly" onmouseup="window.open('http://ruddo.com/go/godaddy.php')"/></li>
    
    Code (markup):
    I dont' have chrome, but my guess is that chrome sees that closing p tag
    (I've put Xs around the offending code), as a block element - thus the newline.
    Remove the closing p tag and I think that'll fix your problem.
     
    ohteddy, Oct 7, 2009 IP
  3. Ruddo

    Ruddo Member

    Messages:
    821
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Same problem still
     
    Ruddo, Oct 8, 2009 IP
  4. ohteddy

    ohteddy Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #4
    Your website still has the broken p tag. I would remove it anyway, because it's invalid html.
    Sorry I couldn't help... Hopefully someone who has chrome can help you out...
     
    ohteddy, Oct 8, 2009 IP
  5. Ruddo

    Ruddo Member

    Messages:
    821
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    43
    #5
    Wordpress auto generates that tag for some reason
     
    Ruddo, Oct 8, 2009 IP