W3C home > Mailing lists > Public > www-html@w3.org > August 2000

RE: FIELDSET in IE versus Netscape

From: Chris Wilson <cwilso@MICROSOFT.com>
Date: Tue, 22 Aug 2000 10:45:40 -0700
Message-ID: <72129E9450B396458A1149FA7AFAD8CA0CA12A@red-msg-05.redmond.corp.microsoft.com>
To: "'Portelly, Mary (CRTRES)'" <Mary.Portelly@concert.com>, "'www-html@w3.org'" <www-html@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT