Question

Hello people from stackoverflow I have found more IE7 problems (tested in compatibility mode of IE9). I am trying to dynamically load a partialView into my page through the use of JQuery, like this:

$('#PartialContainer').load('@Url.Action("LoadPartial", "Controller", new { Id = Model.Id })');

Now the problem i am getting is that the Partial has a fieldset tag inside the page, an under the legend sit a few lines of text. The problem is that the text is underlined with the lines of the fieldset (the borders), But for some reason the underlines to not appear underneath the legend. the partial look like this:

<fieldset>
<legend>Partial</legend>

<div class="explanation">
    The underlined text is here!
</div>
</fieldset>

Has anybody else encountered this problem before, and what was your solution?

PS: this does NOT happen in crome, firefox or IE9.

PS2: it is in a ASP.NET 4.0 MVC 3.0 project.

EDIT:

Here is a picture of the problem: http://i1073.photobucket.com/albums/w382/kroeze1992/IE7UnderlinedBug.png

Was it helpful?

Solution

the problem was caused by font-style: italic. i removed the font-style and no more underlines :).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top