RE: FIELDSET in IE versus Netscape

Try <FIELDSET STYLE="width:40%; margin-left: auto; margin-right: auto">.

-----Original Message-----
From: Portelly, Mary (CRTRES) [mailto:Mary.Portelly@concert.com]
Sent: Tuesday, August 22, 2000 10:31 AM
To: 'www-html@w3.org'
Subject: FIELDSET in IE versus Netscape



I have some HTML pages that were written for IE and now I am trying 
to make them work with Netscape. 

I am running into a problem whereby I can't get a FIELDSET to be 
centered and have a width attirbute. 
<DIV CLASS="center"> 
<FIELDSET STYLE="WIDTH: 40%"> 
   : 
</FIELDSET> 
<DIV> 

"center" is defined correctly higher up. 
This works fine for IE but the FIELDSET does not show up centered in 
Netscape (it is left justified). When I remove STYLE="WIDTH: 40%" from the 
FIELDSET tag, the contents of the FIELDSET becomes centered but the 
FIELDSET (obviously) takes up the screen. 

Can anyone tell me how I can achieve a centered FIELDSET with a width 
attribute? Thanks very much, 
       Mary 

Received on Tuesday, 22 August 2000 13:46:27 UTC