Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9226273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:47:24+00:00 2026-06-18T04:47:24+00:00

Blue inline-block #b with vertical-align: middle is placed inside red #a . At some

  • 0

Blue inline-block #b with vertical-align: middle is placed inside red #a. At some moment blue #b have full height of its parent.

http://jsfiddle.net/TK2qs/1/

Troublemaker is Opera only [1], which is putting vertical scrollbar on window even when there is some space below red parent #a [2]. The super funny detail is that there is really nothing in markup that seems to occupy extra space below red #a—even document element does not take up this space.

Noted behaviour vanishes when display: inline-block or vertical-align: middle rule of blue #b is discarded. Still, it will be useful to find a solution which keeps both of these rules on.

To reproduce problem in JSFiddle, please drag borders of bottom-right subframe.

Thank you for your attention!

[1_] Checked only in my current version: 12.11.

[2_] Some 40-50 pixels in [jsfiddle.net example][1]. Size varies with red #a height.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:47:25+00:00Added an answer on June 18, 2026 at 4:47 am

    http://jsfiddle.net/Mpmgv/

    I have found two workarounds myself.

    First is to hide overflow of blue #b. The fact that it is a viable solution gives me the thought that invisible big element is probably situated somewhere inside blue #b, and not anywhere else.

    Second workaround is to make synthetic absolute-positioned child inside blue #b. And so all content intended to be placed in blue #b will go into synthetic child.

    You can check both of these solutions out by adding appropriate class on red #a element.

    Still, I wait for and highly appreciate any thoughts about reasons why such a bizarre problem occurs in Opera.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several uniform blue elements ( <div style=display: inline-block;> ) inside a red
I have create a jsFiddle to demonstrate my problem: http://jsfiddle.net/MXt8d/1/ .outer { display: inline-block;
I have elements that are displayed inline and have some horizontal spacing between them.
The css property vertical-align: middle does not work in this example. HTML: <div> <span
So I have a 4x3 matrix where the red or blue squares are links.
I have a an outside div (in blue) and an inside div. I am
Hello i have the following... <span id=second class=content1 style=width:0px; display:inline-block; overflow:hidden; float: left; white-space:nowrap;>
css: * { margin:0; padding:0; } .blue-button { width:auto; display:inline-block; } .blue-button:before { /*background-image:url('blue-button.gif');*/
I have Textbox with blue Background and white Foreground . When entering a text
I have with an blue tooth application from android api sample.I am displaying blue

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.