1.866.PIXELMILL (1.866.749.3564 US/Canada)

Search Support

Search our knowledgebase? Enter keywords or article id:

> go to search support


Support Index


Help and Support


Search

Go back to search results

Enter keyword or id#:




Promotions


Quick Links

Printable Article

CSS site has things overlapping in FireFox or Safari

Article ID: KB101643

Question: My web site with CSS-based layout looks fine in IE, but in FireFox or Safari there are portions of the text or content overlapping over others.

Answer: The problem is probably with a height definition in the stylesheet. FireFox and Safari are more picky with heights - if a height is defined, they will force the area to stay to that height so the content spills out and overlaps over other content. IE is less picky and will resize everything to fit your content and text.

Look for the offending area in your code and try to find the class or ID selector that contains that content. It may look something like:

<div id="idname">
...
</div>

or:

<div class="classname">
...
</div>

Then, open the stylesheet (.css file) and look for the idname or classname. ID selectors will start with a hash symbol (#idname) while classes start with a period (.classname).

When you find the class or ID, you will most likely find that it has a specific height applied - for example:

#top {
  ...
  height: 100px;
}

Change the height to match the height of your new content and save the stylesheet. You may also try height: auto; if you have variable content in that area, but be sure to test thoroughly to make sure that doesn't mess up anything else.


Was this helpful?

Please rate this article:

Not helpful Very helpful
1 2 3 4 5 6 7

Email address: (not required)

(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. You're email address is NOT REQUIRED to submit a comment.)

Comments: (How can we improve this article?)


Clicking "Submit" will not clear this page.


link to this page: http://www.pixelmill.com/support/al0/kb101643.htm
permalink to this article: http://www.pixelmill.com/support/kb101643.htm

Back to top

Items you recently viewed:


pm47808pptdl1
$24.00

pm47762fpdwtdl1
$100.00

pm47707fptdl1
$88.00

pm65565spstdl1
$169.00


PixelMill EDU

Introducing...

PixelMill EDUâ„¢ is an innovative and proprietary online training series designed to aid the do-it-yourself Web builder in transitioning to new Web editors, coding standards, and Web technologies.

Webinars and Seminars:

FrontPage to SharePoint Designer Series
This is a 6-Week series designed to give you strong exposure to the new SharePoint Designer web editor and interface, along with examples of working with Windows SharePoint Services and tips for transitioning from FrontPage.
Register Now!

Tables to Tableless CSS Series
This is a 6-Week series designed to help you transition from building Tables-based Web site layouts to working with CSS to edit and build Tableless Web site layouts. For all Web builders using Dreamweaver, Expression Web, or any other web editor.
Register Now!

FrontPage to Expression Web Series
This is a 6-Week series designed to give you strong exposure to the new Expression Web software and interface, along with tips for transitioning from FrontPage.
Register Now!

Learn more and register!

ADVERTISEMENT
adventisement