Mon, 2004-07-12 00:56
hi, I'm tried fix a problem with "width" in Firefox.
In IE6 and Mozilla Firefox 0.8 works fine (width: 750px;), but in Opera browser doesn't.
If I change the width: 750px; for width: 100%; works fine in all 3 browsers, but in Firefox a horizontal bar appears. I'm tried hidden it using overflow-x: hidden; in body class... did not work.
Anyone know how can I fix it? Sorry for my bad english! Regards.
#wrap { position: relative; margin: 1 auto; padding: 0 16px; font-size: 95%; text-align: left; background: url("imagens/bg.gif") repeat-y; width: 750px; voice-family: "\"}\""; voice-family: inherit; } html>body #wrap { width: 750px; margin: 0px; padding: 0 16px; background: url("imagens/bg.gif") repeat-y; }
<body> <div id="wrap"> <div id="logo"> <span><a href="http://localhost/">LOGO IMAGE</a></span> </div> <div id="menu"> ... continue
Tue, 2004-07-13 01:12
#1
Problem width in Firefox. Horizontal bars appears
Hi ibstk,
overflow-x is an IE only property, you could try using overflow instead.
or use overflow-x for IE and overflow for the rest :?
Hope that helps