How to get compatibility mode or notify ff browser of HTML4

I manage an old but large and constantly changing commercial website. The site was originally done in HTML2 and has long been at HTML4, with no plans yet to move to HTML5, which would break huge amounts of code using <font> tags, etc.
I use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> at the top of the files, and it works fine with the latest Explorer in compatibility mode, but less well with other browsers, such as FF, where font sizes and colors, etc. are glitching.
Is there a way to force FF into the equivalent of IE's compatibility mode? Or to tell FF in the header to function as an HTML4 browser?

What does the validator say about your site's markup and CSS?
* http://validator.w3.org
* http://jigsaw.w3.org/css-validator/
You can trigger Quirks Mode rendering by omitting the DOCTYPE.
* https://developer.mozilla.org/docs/Quirks_Mode_and_Standards_Mode
You really shouldn't have any issues "upgrading" to HTML5 if you don't use antiquated presentation tags like <nowikI><font></nowikI> and <nowikI><center></nowiki>.
* [https://rawgit.com/whatwg/html-differences/master/Overview.html#obsolete-elements Differences from HTML4 - obsolete elements and attributes]
* https://developer.mozilla.org/docs/Web/CSS

Similar Messages

  • How to set Compatibility Mode for a single site in ie10

    This question was originally posted on the Answers forum -
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-to-set-compatibility-mode-for-a-single-site-in/187152e3-142a-4d96-8d1b-af82ef571eec
    I am having problem with getting ie10 to set ie9 compatibility for a single site (sharepoint.contoso.com).
    When I add this website in Compatibility View Settings (Alt > Tools > Compatibility View Settings > 'Add this Website') it adds the domain 'contoso.com' and not the individual website (sharepoint.contoso.com).
    This cause other sites (www.contoso.com) to be configured to use compatibility mode. Because this is a separate site (different web server) to the site sharepoint.contoso.com (sharepoint 2010 server) we need different compatibility settings.
    Using a different example to explain the issue -
    Microsoft has three websites that are different websites created by different developers written in different programming languages and they only work with certain browsers.
    microsoft.com (Website1 created by Developer1) - compatible with ie8/ie9/ie10
    msdn.microsoft.com (Website2 created by Developer2) - compatible with ie8/ie9
    technet.microsoft.com (Website3 website created by Developer3) - compatible only with ie10
    The only thing the three website share is the URL contains 'microsoft.com'.
    Marking 'msdn.microsoft.com' to run in compatibility mode affects the other 2 websites - mainly technet.microsoft.com which will not work now since it only runs in pure ie10 mode. 
    Should you be able to add an individual site to the compatibility list instead of all sites that have  .microsoft.com in the URL? Am I missing a simple setting in the ie10?
    As a workaround I am using the F12 Developer Tools to set the Browser Mode which temporary sets the compatibility mode. However this is not a nice solution to the end users at our organisation. 

    problem is not solved for non corporate environments...
    You could start your own thread.  Then if you got that answer and it was marked Answered you would have the ability to unmark it.  The OP of this one seems satisfied.  Also note that this is TechNet.  Consumers can get help on Answers
    forums.
    Robert Aldwinckle
    Oh! I wrote it wrong: I should have said: This is not solved for NON-AD environments. No demands what so ever to use Window 7/8 professional in a small corporation or on a big corporation with Island of smaller departments for example offshore.
    The problem is that the thread is not "Answered" by the OP, its is marked answered by a moderator (and same moderator that did the answer) so no way of telling if the OP is satisfied.
    But you are right in the fact that I am almost kidnapping the thread. But a complete answer would benefit all in this case I would presume.
    Regards
    /Aldus

  • How to get PROCESS MODE in CRM 2007 WebClient

    Hi all,
    Currently, we're implementing CRM2007 WebClient -- Service Transaction.
    In the past(CRM4.0 Version), we used the function 'CRM_INTLAY_GET_PROCESS_MODE' in the BADI of SAVE Service Order to identify it's a new create order or changed order.
      CALL FUNCTION 'CRM_INTLAY_GET_PROCESS_MODE'
        IMPORTING
          ev_process_mode = l_dialog_mode. " A created, B changed
    Now, this function does not work in Web Client. So, I turned to another function 'CRM_ORDERADM_H_READ_OW' try to get the flag of process mode.
    CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
      EXPORTING
        iv_orderadm_h_guid               = lv_guid_ref
    IMPORTING
       ES_ORDERADM_H_WRK                = l_CRMT_ORDERADM_H_WRK
       EV_MODE                          = l_dialog_mode
    Yes, function 'CRM_ORDERADM_H_READ_OW' works in WebClient. But when creating new service order, the l_dialog_mode  = 'B' which is same to changing an exsiting order.
    So would anyone kindly help me, How to get the process mode properly in WebClient, especially in Service Order. I need to identify the order is new created or is changed.
    Your comments is really appreciated.
    Best Regards,
    Tony

    Use function module CRM_ORDERADM_H_ON_DATABASE_OW to check, if the order has already been save on the database. If not, you are in create mode.

  • How To turnoff compatibility mode settings in IE 10

    Hi,
    I have Domain and Forest Functional level is 2008 R2.
    I got a requirement from a project to turnoff IE10 compatibility mode for windows 7.
    Can anyone help me with an ADMS template which I can import to view settings in GPO.
    Regards,
    Deepak

    Hi Deepak,
    To turn off Compatibility View, enable the following setting:
    Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Compatibility View\Turn off Compatibility View
    Regarding ADMX files for IE 10, if we have installed it on our DC, we don’t need to download it. If not, we can visit the following website to download it.
    Administrative Templates for Windows Internet Explorer 10
    http://www.microsoft.com/en-in/download/details.aspx?id=37009
    Hope it helps.
    Best regards,
    Frank Shen

  • How to set Compatibility mode of an EXE file???

    Hi,
    I'm in a bit of a pickle, got a problem with an EXE which we need to set to "Windows 2000 Compatibility Mode" using a script.
    I need to update an existing .exe file on several hundred computers, and was planning on using Group Policy to run a VBscript on login to change the properties on that .exe file so that its in 2000 compatibility mode.
    Can anyone help me knock up a quick vbsript to do this please. I've spent some time looking, but no articles on setting the compatibilty attribute of exe files.

    Hi, you can set compatibility mode via the registry for all users under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    Create a REG_SZ value under this key with a name of the path to your exe, for example "C:\Apps\Myprog.exe" and then the value will be "WIN2000".
    You can script this by running regedit.exe to apply an exported .reg file, or to run reg.exe to create the values by running something like:
    REG.EXE ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers /v "C:\Apps\Myprog.exe" /t REG_SZ /d "WIN2000" /f
    or you could use StdRegProv, see here.
    Hope this helps,
    Rob

  • How to get background image to fill the browser and remain fixed in both IE and Firefox?

    Basically what it says in the title. I've come very close in achieving this but something just doesn't tie up in the html and css code...
    First of all, I'm using IE8 and the latest version of Firefox to test this.
    I used 2 sources of information for getting this done: 1) http://css-tricks.com/perfect-full-page-background-image/ and 2) http://stackoverflow.com/questions/8958697/css3-background-size-cover-doesnt-make-image-co ver-vertically
    In Case 1 the example on the page called CSS-Only Technique #1 gives code that works almost perfectly for me, except that obviously I need a background image, however the CSS provided there is clearly just for an image dropped in the body of a page with no regard for other content that may already be there. The html code that I put on the page is simply <img class="bg" src="../images/background_image.jpg">
    Obviously I used the CSS code provided in the example, minus the last bit which is "@media screen" etc etc, which seems irrelevant to me. Obviously substituting values to suit the image on my page.
    So what happened is that it almost worked as intended in both the browsers (which means the image filled both browsers width-wise as intended and also remained fixed when I zoomed in or out in each case) except that the image went over the top of the current content that I had there already precisely because it's not a background in this "technique". (A curious side-note is that the image didn't push down the content, as I'd have expected in normal circumstances, but went right over the top of it so it hid it (like z-index).
    One thing that does bother me about this "technique" is that if you click on View Demo just below the code provided you will see on the working example page (forest background) the image clearly works as a background and the content sits happily on top! So I don't know whether the person providing the example was trying to mislead people or what! Or he got lazy and showed a different page that didn't use the exact code he provided. No matter.
    In any case this leaves me with the job only half finished, as I still need a background image that works like the 'normal image' code provided.
    On to Case 2 and on this page the first example provided gives the CSS for the background image - namely the code within html {...} part and also shows the same 'normal image' code as given in Case 1. In this case however, although the person provided a suggestion, the css and html doesn't really tie up properly plus some of the css and html seems a bit redundant. So this time when I used the 'html portion' of the CSS code (i.e. just the bit that was most relevant) I got two different behaviours in each browser and neither of which was quite what I'm looking for. In IE8 initially the page looks fine (background fills the page and content is on top) however when I zoom in or out the background also zooms in or out accordingly so is NOT fixed. In Firefox the background image DOES stay fixed, however because the image originally is not the whole height of the browser I'm guessing the code stretches it downwards (while keeping proportions - so the image essentially enlarges) to fill all of it. The quick way to get around it is to probably add some white space to the bottom of the image just to give it enough height that it doesn't stretch/resize automatically. But it would be nice to find out anyway how to get around this in the code. Overall I would say that the result in Firefox comes closest to the desired solution but of course it doesn't help matters with IE8.
    Apologies for the lengthy description but that should at least provide plenty info for anybody that might have a possible solution for me. Essentially what would be great is if somebody could advise me how to take the code from Case 1 and apply it to a 'background' piece of coding like the type that's contained within html {...} in Case 2. Like I said, it's so nearly there but I just can't make it work atm after trying to combine the various bits of code this way and that... Alternatively, if somebody has another html-css version that works nicely for achieving this then please by all means let me know! Thanks v much in advance!

    This works in modern CSS3 supporting browsers.  But not pre-IE9.
    http://alt-web.com/TEST/Resizable-BG.shtml
    Nancy O.

  • How to get the online user  who are browse some view?

    i want to get the current users who are browsing some view in EP6.additonal:which is developed as web dynpro project.

    Hi,
    Per my knowledge, we cannot get the SharePoint user context available in custom federated search connector with other methods.
    Here is a similar thread for your reference:
    https://answers.atlassian.com/questions/263735/atlassian-sharepoint-connector-federated-search-authentication-and-authorization
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to get the mode (change/display/create/edit) of a CRM WEBUI

    Hi,
    I have a table(custom) in my CRM WBUI ServiceContratc Page. Now I want to hide this table in create mode.
    Could you please let me know, how can I know in which mode I am on WEB UI(Like Create/Change/Display)
    Thanks,
    Aparna

    Hello,
    use below method to check whether view is editable/display mode ...
    me-->view_group_context->is_view_in_display_mode( me ). here "me" refers to the implementation class of view.
    Regards,
    Sandeep Kumar B

  • How to get clamshell mode with Windows 7 on Macbook Pro?

    Hi,
    I am running Windows 7 on Macbook Pro using bootcamp. In OS-X, I can use this cool clamshell feature wherein after putting the MBP to sleep by closing the lid, as soon as I connect an external keyboard, mouse & monitor, I get the display on the monitor and immediately start using the keyboard & mouse too, converting the laptop instantaneously to a desktop.
    I am trying to do the same thing on Windows 7, close the lid of the laptop to put it to sleep, connect my external monitor, mouse & keyboard, but however the laptop never wakes up (even after moving the mouse & pressing keys in the keyboard). I tried several things in Windows 7. Under Power Options, Disabled "selective Suspend of USB", but that did not help. Next, in the "Device Manager", for the "Root USB Hub" & "Generic USB Hub", I tried to set "Allow this device to wake up the computer", under Properties -> Power Management, but that option is grayed out. I tried to experimented with Sleep types like S1, S2, S3, but except for S3, the other two are shown as "not supported by firmware" (using powercfg option in command line). Countless hours wasted on google search to get this working with no success
    I would greatly appreciate any help on this issue.
    Thanks,
    Sri

    @mkultraviolent,
    Thanks for the quick reply.
    That seems to be a useful workaround, but I do not find the option mentioned in Display/ Nvidia control panel. However, I find an option in the "Power Options" which has a "Do Nothing" option in the combo box to select what "Closing the Lid" does. Is that what u are referring to?
    Also, one problem in this approach is, if we do not sleep when the display is closed, that will keep the internal display (laptop's display) running in clamshell mode even after the lid is closed? (which will heat up the laptop badly).
    The exact option I am looking for is, while the laptop is in sleep & lid closed state, connecting the external keyboard/mouse/monitor and pressing a key in the keyboard or moving the mouse should wake the computer from sleep. If this happens, the internal display won't be running. I am able to achieve this in OS-X.
    In Windows7, I have a workaround by which I can almost achieve this result, wherein, while the laptop is in lid-closed, sleeping state, after connecting the external devices (keyboard/mouse/monitor), I open the laptop's lid for a fraction of second, quickly move my finger over the touchpad & close the lid again. This wakes up the laptop, & while it is waking up, Windows realizes that the lid is closed and that external devices are connected and gets into clamshell mode (I have verified that in this state, the internal display is not running).
    This workaround was fine so far, but I got this hengedocks docking station for my macbook, and I am no longer able to use the workaround, because, after plugging my macbook into the docking station, I cannot open the lid. So, the only option is to make Windows7 realize that external devices are connected & wake up on external keyboard stimuli (Hence the question).
    If my question is not clear, this video kind of explains what I want to achieve:
    http://www.youtube.com/watch?v=YOKu9uwdwZI&feature=player_embedded
    Appreciate ur help!

  • Desktop p 6143sc how to get AHCI mode in the BIOS.

    Need AHCI to get better performance on a SSD. I s my computer to old?

    You have the nForce 430 chipset which is a bit of a transitional system. It has SATA ports but the SATA runs in only IDE or RAID mode, not ahci. You can install Windows XP on a machine with that chipset on a SATA hard drive without loading a special SATA driver, for example.  So yes, basically the system is too old to take full advantage of an SSD I am afraid. 
    If this is "the Answer" please click "Accept as Solution" to help others find it. 

  • How to get Duotone Mode Ink List Names?

    Hi All,
    I need to get the list of Ink Names in the duotone mode of the document
    Using the Java Script / Windows / Photoshop CS3
    (Example:  PMS 185, PMS 230....)
    Please give suggestion......
    Regards
    William

    How big are your eps files? Where are they located?
    The script should not take long unless your system's disk I/O is slow - such as a slow network server.
    On my system reading a 18mb Photoshop EPS file with a 8bit preview on a local drive takes less than a second to display the inks used.
    At any rate I don't know if there is another way to find the inks using Photoshop. That info does not seem to be part of the Document's descriptor. If the duotones where created in Photoshop the inks are also in the Photoshop resource section of the file. It might be possible to write a script to parse that section so the script could work with psd as well as eps duotones but I don't think it would be any faster.

  • How to get landscape mode to work?

    My landscape mode won't work.  It was working fine before, and all of a sudden I can't get it to work now. My phone is only a week old!

    Reset it, hold down the home and sleep buttons, ignore the red Off slider, wait for the Apple logo and let go of the buttons. Before you do this, is the lock screen icon showing on the top right of the iPhone?

  • How to get RxBoot mode on 2610XM?

    I have 2610XM. I have configured register value to 0x101 for bext reload into RxBoot mode(Mini IOS), but it did'nt work on 2610XM, it work successfully on Cisco 2522, Why this, Is there any other register value for 2610XM to boot into RxBoot mode.
    Please Help?

    Hi,
    RxBoot mode is only supported on some routers, and 2600 routers don't contain a boot image by default, you can find further information about this following this link:
    http://www.cisco.com/en/US/products/hw/routers/ps259/products_configuration_guide_chapter09186a008007e5fd.html
    Somewhere in that guide you can read:
    "The Cisco 2600 series router does not have a dedicated boothelper image ([rx]boot) as used by some other Cisco routers. With the Cisco 2600 series router, the first image in flash memory is invoked as the default boothelper image anytime the ROM monitor does not recognize the device ID in the boot command"
    So this means your router will boot the IOS image on flash even if your config register is 0x2101
    Regards.

  • DisplayTag - got the table but the view is simple! how to get  ITS mode?

    Hi guys,
    I have (semi) successfully implemented a nice table using the DisplayTag
    (From: http://displaytag.homeip.net/displaytag-examples-1.1/example-styles.jsp?class=its)
    The thing is that I can see the table but it's in a simple mode! Meaning there's no color, nor borders, no look!
    Wonder if anyone knows what I am missing.
    Thanks
    My code:
    <%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
    <%@ include file="/taglibs.jsp" %>
         <fmt:setBundle basename="ApplicationResources" />
         <table align="center" width = "80%">
              <tr><td>
                        <html:errors property="join"/>
                        <h1>hello jsp worold </h1>
                             <fmt:message key="loggedin.msg">
                             <fmt:param value='${requestScope.userName}' />
                             </fmt:message>
                </td></tr>                                                                   
         </table>
    <display:table name="sessionScope.all_users" class="its">
      <display:column property="userID" title="ID"   paramId="userID" />
      <display:column property="email"   paramId="action" paramName="testparam" paramScope="request" />
      <display:column property="password"   paramId="id" paramProperty="userID" />
    </display:table>

    See Empty/corrupt library after upgrade/crash.
    tt2

  • How to chnage compatability mode on a hp

    IT is running on a older verson of windows i dont know how to chnge it

    OK, I found it,
    it was only a bad timing,
    have to press F8 after the IBM logo screen appears and not before...

Maybe you are looking for