开发者

Problem aligning blocks horizontally in Opera

开发者 https://www.devze.com 2023-03-16 00:34 出处:网络
I have this wide page with an information block and lot o开发者_如何学编程f images to the right of it. It is supposed to be used with horizontal scrollbar.

I have this wide page with an information block and lot o开发者_如何学编程f images to the right of it. It is supposed to be used with horizontal scrollbar.

The page works as expected in Firefox, Safari, Chrome, even in IE7+ — but it does not do so in the latest Opera. In Opera, the block with images goes beneath the information block if they do not fit into the window in one line.

I've tried a lot of things. I even re-wrote it all using tables — that helped for Opera, but this way I lost dynamic image height functionality in Chrome which is essential for me. At the same time, I think I'm missing something simple here.

Any advice is very appreciated.


#panorama {
  margin-left:400px;
}

this fix it in my version of Opera, but don't know then if it will be compatible with the other browsers also.

0

精彩评论

暂无评论...
验证码 换一张
取 消