However these kind of style rules are unreliable. Our html is an implementation detail, and can change, meaning it could be a span today, a div tomorrow....have you tried using skinning to get what you need?

Thanks,

Gabrielle

jtherr wrote:
We recently integrated Trinidad into our application to evaluate it.
Immediately we noticed that most pages would not render correctly. We
discovered the problem was that if a  tag had no attributes (id, class,
etc.), it would not be rendered. For example:


    <label>Example</label>
    <input type="text" value="exampleInput"></input>


Renders as:

    <label>Example</label>
    <input type="text" value="exampleInput"></input>

In most applications this would not matter since by default the  tag has no
style, but we overrode the CSS of the  tag to have very unique styles:

form fieldset span { position: relative; display: block; width: 100%;
margin-bottom: 6px; overflow: hidden; }

If the  tag was removed, we lost these styles and the page would be very
distorted.

Our only workaround right now is to update the hundreds of  tags throughout
our application and give them a class attribute so they will render.

Reply via email to