Forums

[resolved] Sidebar does not work in Firefox but ok in IE (1 post)

  1. kmessinger
    Member
    Posted 4 years ago #

    I have a text widget that I would like the text not to wrap. I want it to just cut off at the end of the line.

    I used this in the style sheet: `#sidebar
    {
    padding: 40px 10px 0px 10px;
    margin-left: 660px;
    overflow: hidden;
    white-space:nowrap;
    width: 250px;
    }`

    This worked fine in IE but in Firefox it pushes the side bar out to the right. These ` overflow: hidden;
    white-space:nowrap;` are the guilty parties.

    How can I achieve no text wrap and have it cut off at the margin in Firefox?

Topic Closed

This topic has been closed to new replies.

About this Topic