Hi Rafael,

Try adding !important to the position: absolute. Firefox's default styles
for LEGEND include 'position: static !important', so you'll have to use
!important as well to override this behaviour.

Cheers,
Jesse Skinner
http://www.thefutureoftheweb.com

>       Hi,
>       this mail is just for futher (personal) reference.  I've tried to
> change the style of a LEGEND tag and failed so far; what I'm trying to
> do is to make it look as a tipical "title-bar", something like this:
>    +-------------------------+
>    | LEGEND element          |
>    +-------------------------+
>    | Rest of the content...  |
>    | (All inside a FIELDSET) |
>    +-------------------------+
> but Fx doesn't allow me to, both Opera and IE6/win work fine (if that
> can be applied to IE6/win)
>
> HTML:
>    <fieldset>
>      <legend>LEGEND element</legend>
>      [this doesn't matter...]<br />
>    </fieldset>
>
> CSS:
>    FIELDSET {
>      position: relative;
>    }
>    LEGEND {
>      position: absolute;
>      top:      20px;
>    }
> or
>    FIELDSET {
>      position: relative;
>    }
>    LEGEND {
>      position:   absolute;
>      margin-top: 20px;
>    }
>
>       Any comments on this behaviour?
>       Thanks in advance.
>
> Note: This is only for positioning, no size or any other value has been
> given (to mantain HTML/CSS codes as clean as possible)




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to