ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    HTML code help

    Scheduled Pinned Locked Moved IT Discussion
    42 Posts 6 Posters 8.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      An iFrame is a complete web page. You can do anything in it.

      If you can't use modern libraries via JavaScript like JQuery you are going to be in rough shape trying to manually code browser detection for those old platforms.

      There is a price to be paid for supporting old and non-standard browsers.

      1 Reply Last reply Reply Quote 1
      • RoguePacketR
        RoguePacket @Dashrender
        last edited by RoguePacket

        @Dashrender Remove "background", and/or use "none" for that element (err, maybe "transparent" ).

        fwiw, It is not Windows 8.1/7 issue. It is rendering engines behind the the web browsers.

        Curious how it looks in Chrome and Firefox. The thought is the rendering engines behind them:

        • Webkit — Safari (OS X), Chrome
        • Trident — Internet Explorer
        • Gecko — Firefox
        • Blink — Opera (newer), Chromium
        • Presto — Opera (older)
        • Also, http://en.wikipedia.org/wiki/Web_browser_engine

        For the specific IE8/IE11 used:

        • Looking at v4 versus v7 of Trident
        • See, http://en.wikipedia.org/wiki/Trident_(layout_engine)
        DashrenderD 1 Reply Last reply Reply Quote 1
        • C
          Carnival Boy
          last edited by

          I guess that IE is rendering in Quirks Mode. Try adding font-size:0; to your style. That hack should tell IE not to resize the height of the DIV to whatever it wants.

          1 Reply Last reply Reply Quote 1
          • DashrenderD
            Dashrender
            last edited by

            Thanks I'll give these a try after lunch.

            1 Reply Last reply Reply Quote 0
            • RoguePacketR
              RoguePacket
              last edited by

              @carnival-boy @dashrender
              Saw a small blurb about "IE always adds space on DIV" on one page when doing light fact-checking. Didn't dig into it, but could be v4 render behavior "special-ness".

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                @roguepacket Definitely appears to be the case.

                I did a test today, setup a WIn 7 machine with IE 10 (a fully supported setup by the vendor) and we have the same display problem. With a little luck they will finally give me some help to solve this problem.

                RoguePacketR 1 Reply Last reply Reply Quote 0
                • RoguePacketR
                  RoguePacket @Dashrender
                  last edited by

                  @Dashrender said:

                  @roguepacket Definitely appears to be the case.

                  "the case" meaning trying "background:none;" and "background:transparent;"?

                  1 Reply Last reply Reply Quote 0
                  • T
                    technobabble
                    last edited by

                    Since your are trying to get one result with different browsers, you will have to either do as SAM says or add more CSS code per browser.

                    It would be easier to provide support if we had a link to view the actual page (I would use Firefox with Firebug).

                    DashrenderD 1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender
                      last edited by

                      I can't use any other browsers - I must use IE. 90% of our machines are on IE 8. I am now deploying Windows 8.1 machines (with the included IE 11). We will be in a split IE version until approx Sept. after which time I'll be allowed (so I'm told) to push out the update to IE 11 for the remaining machines.

                      I still have not tried any of the code snippets provided except for a jscript command which appears to have been ignored.

                      1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @technobabble
                        last edited by

                        @technobabble said:

                        Since your are trying to get one result with different browsers, you will have to either do as SAM says or add more CSS code per browser.

                        It would be easier to provide support if we had a link to view the actual page (I would use Firefox with Firebug).

                        Unfortunately it's an EMR product and you'd have to be logged in first to see the page, so I can't show it to you.

                        1 Reply Last reply Reply Quote 0
                        • T
                          technobabble
                          last edited by

                          Sorry to hear that. I was looking forward to the challenge in finding the answer!

                          <rant> I really dislike programmers who ignore the rest of the browsers. It's called standards, and of all the browsers, IE is the worst offender. In a world with iDevices, Androids you can't expect them to use IE, as it's not available!</rant>

                          DashrenderD 1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @RoguePacket
                            last edited by

                            @RoguePacket said:

                            @Dashrender Remove "background", and/or use "none" for that element (err, maybe "transparent" ).

                            replacing #717171 with none did fix this problem.

                            Thanks RP

                            1 Reply Last reply Reply Quote 1
                            • DashrenderD
                              Dashrender @technobabble
                              last edited by

                              @technobabble I'm right there with you. Unfortunately this EMR is probably 5 years old... they started when IE had the controls they felt they needed. Of course today we know that most if not all of them can be replaced with newer HTML 5 code.

                              The vendor claim to support Safari. This leaves me even more confused... why would the product work in Safari, but not FF or Chrome? some kind of back door deal between MS and Apple?

                              1 Reply Last reply Reply Quote 0
                              • T
                                technobabble
                                last edited by

                                Weird as I understand it, webkit is what Safari, FF and Chrome are built with. I feel your pain and wish you good luck! Glad to see you got a fix!

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @technobabble
                                  last edited by

                                  @technobabble said:

                                  Weird as I understand it, webkit is what Safari, FF and Chrome are built with. I feel your pain and wish you good luck! Glad to see you got a fix!

                                  Safari is Webkit. IE is Trident. FF is Gecko and Chrome is just Chrome. Safari is the only main browser using Webkit today but lots of small projects use it but none that you would have heard of. Chrome used it to get started but left it some time ago. FF has never been anything but Gecko.

                                  T RoguePacketR 2 Replies Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Webkit actually came from the KDE project. It was the basis for their browser systems.

                                    1 Reply Last reply Reply Quote 0
                                    • Chamele0nC
                                      Chamele0n
                                      last edited by Chamele0n

                                      Why not just try using the <hr> tag. It create a nice horizontal line and works on all browsers. It's very old school HTML. Been around a long time.

                                      It works like like <br> there is no closing tag. http://www.w3schools.com/tags/tag_hr.asp

                                      DashrenderD 1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @Chamele0n
                                        last edited by

                                        @Chamele0n said:

                                        Why not just try using the <hr> tag. It create a nice horizontal line and works on all browsers. It's very old school HTML. Been around a long time.

                                        It works like like <br> there is no closing tag. http://www.w3schools.com/tags/tag_hr.asp

                                        aw, but it doesn't work any more on IE 10 or 11. I can't say if it works like the old way in FF or Chrome, etc.

                                        <hr> had it's definition changed in HTML 5. While it will draw a line (sorta) it looks different than a plain o' black line. And for legal documents that's unacceptable.

                                        The above CSS code with the background option changed to none has solved my issue.

                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller
                                          last edited by

                                          HTML is not a format for legal documents 😉

                                          Also, you choose the standard. It's only HTML 5 on those new browsers if you make it that. Use XHTML 1.1 if you want.

                                          DashrenderD 1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender @scottalanmiller
                                            last edited by

                                            @scottalanmiller said:

                                            HTML is not a format for legal documents 😉

                                            Also, you choose the standard. It's only HTML 5 on those new browsers if you make it that. Use XHTML 1.1 if you want.

                                            It's all outside my control.

                                            The legal document side is the paper document created by the HTML - (maybe the vendor supports XHTML - who knows).

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post