Opened 11 years ago

Closed 10 years ago

#1436 closed defect (invalid)

Style Tags are removed in IE7 while it's working perfectly in FF3

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description (last modified by wymsy)

I was trying to put following code using Xinha,
but the style section was removing in the IE7 while it's working perfectly in FF3.

<style type="text/css">
.nav_current {

color: #F00;
background-color: #FFF;
font-size: 12px;
font-weight: bold;

}
.nav_ahead {

color: #000;
background-color: #F0F0F0;
font-size: 12px;

}
</style>

<table cellspacing="0" cellpadding="4" border="0" width="500" style="border: 1px solid #a9a9a9;">

<tbody>

<tr>

Change History (1)

comment:1 Changed 10 years ago by wymsy

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed

<style> tags are not valid html when placed in the <body>. They should only be used in the <head> section. IE is doing the right thing here by removing them. In any case, this is browser behavior, not Xinha.

Note: See TracTickets for help on using tickets.