I have the following test code:
http://jsfiddle.net/b6QFY/1/
I want the “left” element to be fixed and the “right” element to be fluid in the parent container so that it increases and decreases as the browser width changes and does not wrap. It seems so simple, but you have a problem with the job.
My answer to another SO question
Edit: Here is your example (with replacing borders with bgs)
This is what I wanted to relate to . (I have to go to bed.)
Core:
, 100% .
, , IE6 , , 7.
you can use display:inline-block;
display:inline-block;
This article will help http://www.tjkdesign.com/articles/liquid/3.asp
Absolute positioning of the left element may be a more complete answer when other things come into play, such as container boundaries and backgrounds and organic growth of the right element.
See the previous answer.
Source: https://habr.com/ru/post/1781322/More articles:How to set local username in TortoiseSVN? - svnASP.Net MVC, dynamic property and editor for / LabelFor - asp.net-mvcJava-based workflow solutions - javaRails 3 rescue_from, with and using custom modules - ruby-on-rails-3CQRS - Reading a DTO Confusion Model - .netHAML и итерированный XML - rubyRegister .net MVC3 ControllerContext in a windsor container - asp.net-mvcКак я могу горизонтально и вертикально центрировать в? - htmlCan C ++ templates play well with VCL classes? - templatesHow can I cover a div with a translucent image? - jqueryAll Articles