- From: Chris Wilson <cwilso@MICROSOFT.com>
- Date: Tue, 22 Aug 2000 10:45:40 -0700
- To: "'Portelly, Mary (CRTRES)'" <Mary.Portelly@concert.com>, "'www-html@w3.org'" <www-html@w3.org>
Received on Tuesday, 22 August 2000 13:46:27 UTC
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