Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: incrediBILL
Correction, there's a div, then table inside with 2 columns, top one has a "header" - different color, etc., bottom row is text.
Question of the day - how do I fix it? I like how IE behaves in this case - width stays the same and doesn't expand. Can this be fixed for Firefox?
...in IE a div with fixed width will stay the same (text will wrap), however in Firefox it expands to as long as a URL is, messing up other design.
Are you sure the DIV is expanding, or may be the contents is spilling out of the container? In my experience IE will tend to stretch the DIV container to make its contents fit - certainly if the contents is a table that refuses to wrap?
If you want to fix the width of your DIV container, you might need to add
overflow:hiddento your DIV. However, any content that spills out of your DIV will not be visible.