Inner Fieldset loosing border in Firefox NOT IE

Posted on 2007-11-20
Last Modified: 2013-12-07
I am using a fieldsets within a fieldset to show extra information.
It works in IE but on firefox 2... the right hand border on the inner fieldset disappears/reappears while resizing the screen.
Can anyone explain the Firefox behavior and suggest a solution.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="" xml:lang="en" lang="en">


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


<style type="text/css"> { 

    clear: both; 

    margin-left: auto;

    margin-right: auto; 


	text-align: left; 

} p{ 

	font-size: .85em;

} img{ 

	margin-left: 1.5em;

} legend {

	font-weight: bold; 



.use-fieldset1 {

    float: left;

	width: 60%;


.use-fieldset2 {

    width: 35%;

	margin-right: 1em;

	padding: .5em; 

    float: right;

	border: .05em solid #dc0000;

	border-left: .05em solid #dc0000;

	border-bottom: .05em solid #dc0000;

	border-right: .05em solid #dc0000;

} .use-fieldset2 legend {


	background-color: #FFFFFF;

	font-weight: bold; 

	padding: 0.1em;





<!-- page caption -->

<div class="info noprint">



  <p> This list is updated on a regular basis for journals supplied by publishing partners.

    To report a problem or to update a link, please <a href="mailto:xyz"> contact HCN</a>.<br />


  <div class="use-fieldset1">

    <p> = Subscription provided by the Condor Institute<br />

      = Subscription provided by Q&amp;S<br />

      = Open Access title<br />

      = Trial only<br />



  <fieldset class="use-fieldset2">


  <p> Full Text Journal List now has new online collection management features and functionality. <a href="mailto:xyz"> Read&nbsp;more...</a> </p>






Open in new window

Question by:janinel

Expert Comment

ID: 20324638
You've specified the second field set's border in em's. This should be avoided as it can cause a number of problems such as this one.

The following code will correct the issue.
.use-fieldset2 {

  width: 35%;

  margin-right: 1em;

  padding: .5em; 

  float: right;

  border: 1px solid #dc0000;


Open in new window

LVL 30

Accepted Solution

VirusMinus earned 500 total points
ID: 20324701
When you use % age dimensions and to some extent ems browsers can guesstimate the actual dimension and you will sometimes get these sort of issues due to rounding.

The way I was able to fix this issue was to use fixed dimensions in px units.
.use-fieldset2 {

border:1px solid #DC0000;






Open in new window


Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
.Net Web Site Password specs 2 21
CSS Divs in Safari 3 20
Modify Table Width 6 14 mvc foreach 3 15
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now