Development HTML/CSS -Text doesn't appear in default Android browser

Discussion in 'Software' started by Ljs, 14 Nov 2013.

  1. Ljs

    Ljs Modder

    Joined:
    4 Sep 2009
    Posts:
    2,220
    Likes Received:
    112
    Me again with another problem!

    I've still been playing around with my website and just tested it on my tablet and some of the text doesn't appear in the default Android browser but is fine with Firefox and is again fine with all browser on my PC.

    Any idea what has cause this issue with the Android browser?
     
  2. faugusztin

    faugusztin I *am* the guy with two left hands

    Joined:
    11 Aug 2008
    Posts:
    6,943
    Likes Received:
    268
    Link ? Code ?
     
  3. Ljs

    Ljs Modder

    Joined:
    4 Sep 2009
    Posts:
    2,220
    Likes Received:
    112
    Sorry, I just thought there might be some known issues.

    It is strange as another part using similar code used to work and now it doesn't. :/

    The code is here, it is actually been used on a menu which sucks!:


     
  4. Ljs

    Ljs Modder

    Joined:
    4 Sep 2009
    Posts:
    2,220
    Likes Received:
    112
    If it makes it any easier, here is a link to the website and it is the code on the menu throughout.

    I realise it is all a bit of a mess, I've ripped it apart and redone it all several times now!
     
  5. BentAnat

    BentAnat Software Dev

    Joined:
    26 Jun 2008
    Posts:
    7,230
    Likes Received:
    219
    Could be a million things, starting at unclosed tags, ending at z-indexes or thereabouts.

    Most browsers are quite good at "forgiving" mistakes... it's probably something small.

    edit: got the code... will look into it.
     
  6. BentAnat

    BentAnat Software Dev

    Joined:
    26 Jun 2008
    Posts:
    7,230
    Likes Received:
    219
    Just a quick look - that menu looks quite mangled in Chrome 31/Win7 as well.
     
  7. Ljs

    Ljs Modder

    Joined:
    4 Sep 2009
    Posts:
    2,220
    Likes Received:
    112
    Ahh ballbags, I hadn't tested Chrome yet. I'll dig out an older version and have a look between the two.

    I hate web ****.
     
  8. faugusztin

    faugusztin I *am* the guy with two left hands

    Joined:
    11 Aug 2008
    Posts:
    6,943
    Likes Received:
    268
    1) HTML attributes without double quotes in HTML5, not cool
    2) The problem (on Chrome) :
    Code:
    #index_nav {
    line-height: 0;
    }
     
  9. Ljs

    Ljs Modder

    Joined:
    4 Sep 2009
    Posts:
    2,220
    Likes Received:
    112
    Ahh thankyou, I'll have a look at that.

    The double quotes were actually stripped out when I used something to minify the code, and I figured that it may know better than me and they weren't needed. *shrug*.

    I thought I was doing so well too!
     
  10. faugusztin

    faugusztin I *am* the guy with two left hands

    Joined:
    11 Aug 2008
    Posts:
    6,943
    Likes Received:
    268
    Well technically the quotes are fine to remove when safe, but it is makes your code "unprofessional" :). Especially if you didn't minify whitespace and new lines as well.
     
  11. Ljs

    Ljs Modder

    Joined:
    4 Sep 2009
    Posts:
    2,220
    Likes Received:
    112
    Hah, still a work in progress!

    Thank you for the help, always nice to get pointers and feedback from people who know what they are doing. :)
     
  12. aLtikal

    aLtikal 1338-One step infront of the pro's

    Joined:
    7 May 2008
    Posts:
    943
    Likes Received:
    27
    Clear cache, or disable it during development which is what I do (you may need an addon to do this)
     
  13. RichCreedy

    RichCreedy Hey What Who

    Joined:
    24 Apr 2009
    Posts:
    4,699
    Likes Received:
    172
    I just checked on ie11 and it is mangled on that as well
     
  14. Ljs

    Ljs Modder

    Joined:
    4 Sep 2009
    Posts:
    2,220
    Likes Received:
    112
    Ok thanks chaps, might have a go at fixing this today (I couldn't be bothered for a few days because it has been eating up much of my spare time).
     
  15. scimmy

    scimmy Minimodder

    Joined:
    17 May 2005
    Posts:
    198
    Likes Received:
    4
    The HTML still validates nicely on W3C :)
     

Share This Page