How can I prevent IE7 quirks mode when styling XML with CSS?

My DocBook documentation is currently styled using a CSS xml-stylesheet declaration. While it looks great in Firefox, I am facing compatibility issues with IE7 as it does not seem to understand the CSS child selectors like section > title { ... }.

This could be due to IE running in quirks mode to render this XML, and older versions of IE lacking support for this specific CSS syntax.

All the information I have found on the web focuses mainly on HTML and XHTML doctypes and how IE behaves with different permutations of these values. Unfortunately, there seems to be very little guidance available for straight XML + CSS documents. It appears that random XML pages always end up in quirks mode regardless of their format or stylesheet directives.

Is XML rendering in IE destined to remain compatible only with IE5.5? Will I need to overhaul my CSS completely?

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Guide on automatically opening downloaded files in a new tab in IE 11 or Edge similar to the way file downloads function in Chrome

I am currently using Windows 10 and implementing msSaveOrOpenBlob in JavaScript to download the AJAX call blob on IE11. I want the PDF file to be opened in a new tab without any prompts, similar to how it works in Chrome. However, even when trying with th ...

Explore the jQuery feature that allows you to hover over text

I'm facing an issue that has got me a bit stuck on how to resolve it. Currently, when hovering over this specific image, the opacity decreases (exposing a background color) and text appears. However, I want this effect to persist even when hovering o ...

TabContainer - streamline your selection process with inline tabs

I am currently working on a GUI that includes a TabContainer with two tabs, each containing a different datagrid. I initially created the tabcontainer divs and datagrids declaratively in HTML for simplicity, but I am open to changing this approach if it wo ...

Ensure text within list items is positioned properly and not obscured by any decorative elements

I'm struggling to create top-bottom borders for list items with customized decorations. The text of the element should not be hidden under the decoration even if it's too long. Any ideas on how to achieve this? div { width: 20%; } ul ...

How to Customize Checkboxes with CSS

I'm attempting to customize the style of a checkbox on a form, and here is what my HTML currently looks like: <form id="feedback"> <input type="checkbox" id="option1" /> <label for="option1">Option</label> </form> H ...

Arranging form elements and a map in a side-by-side layout using HTML5

How can I align the contents of a map and a form side by side with responsive design? I've attempted using tables and lists, but the form keeps appearing on top of the map. Ideally, I want the contents to be displayed side by side on wider screens and ...

What is the best way to highlight the current navbar element in Bootstrap and ensure it remains active even after the screen is refreshed?

In my web application, I have a navbar that navigates to different pages. <nav class="navbar navbar-expand-md sticky-top navbar-ligth bg-fadded"> <a class="nav-link waves-effect waves-light" th:href="@{/}"> ...

SQL for Exporting Data as XML with Attribute and Value pairs

I've been looking for quite a while to create this XML line from an sql query. I've never had to include both a value and an attribute in one 'FOR XML' line before. Thanks for any help. <Amount Ccy="EUR">100.20</Amount> ...

The hyperlink may be dysfunctional due to the presence of a CSS background image

Looking to fix the issue with the phone number link in the universal header. It seems that whenever it overlaps the background image, the link is not clickable. However, when resizing the window to mobile view, the link works fine where there is no overlap ...

What is the best way to display all the steps in a Material UI stepper when preparing a page for

I'm currently developing a React component that utilizes Material UI stepper functionality. The challenge I am facing is ensuring that the data is printable effectively. It's necessary for all steps to be expanded and printed, which goes against ...

What causes the variance in default word-wrap and overflow behavior between inline and inline-block elements?

Have you ever wondered why inline elements tend to overflow while inline-block elements wrap to the next line? It's confusing because inline-block is essentially just like inline with editable height and width properties, yet their wrapping behavior d ...

The transparent overlay div does not activate when clicking on a button in Internet Explorer 10

While tidying up my CSS and JavaScript, I may have gone a bit overboard. The code seems to work fine on Chrome, Safari, and Firefox, but it's causing chaos in IE10. Check out the code here <div id="bgmbutton1"> <img id="button1" src ...

Adding an unordered list to a different division using JQuery

I currently have this DIV: <div id="video_container" class="barra"> <ul> <li><iframe width="450" height="253" src="//www.youtube.com/embed/Gy3lrgVakII" frameborder="0" allowfullscreen></iframe></li& ...

Removing items from a JavaScript list

I am seeking assistance with an issue I am facing. I have a function that generates a list based on user inputs. For instance, when a user enters apples, the function adds it to a <ul> list. My concern is about deleting specific inputs from the lis ...

css how to style a table row with a specific identifier

Although this question has been asked millions of times on the internet, my English skills are not great and I struggle to find the right words to search. I have a table with a specific ID set up like this: <table class="tableClass"> <tr id="one ...

Adjust the size of flex items to match the size of their container

I'm attempting to design a two-column layout using a flex parent with a height of 100vh. The first column consists of a div containing a heading and a paragraph, while the second column contains a div with an image. I want the flex parent's heigh ...

What can I do to remove the hidden <p> tags that Wordpress is inserting into my HTML code?

There seems to be some extra space appearing between my divs (inside a main div) that is possibly due to unexpected <p> and </p> tags being added by WordPress. This issue is quite common with WP, but the problematic tags are hidden so I am unab ...

Issues with Vue enter transitions not functioning as expected

I am currently involved in a project where I need to implement enter and exit animations for some components. When a component enters the screen, it should come from the bottom, and when it leaves, it should go upwards. The intended functionality is that w ...

Tips for keeping divs in place when hovering over a changing-sized element above them

Looking for some help with my website design. Whenever I hover over the "Problem" and then move away, the div underneath it shifts up and down. The same issue occurs when interacting with the "Solution" section. Any suggestions on how to prevent this movem ...

Guide to transforming a vertical tabbed content panel into a responsive collapsible using media queries and jQuery

I am in the process of creating a new content navigation design that incorporates vertically stacked tabs to toggle hidden panels adjacent to the tabs. Unfortunately, this layout seems to encounter issues at narrower screen widths. Check out my work on Fi ...