Home >Web Front-end >HTML Tutorial >Ask a question about CSS style layout_html/css_WEB-ITnose

Ask a question about CSS style layout_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:09:44972browse



The content of id "divLeft" is displayed here

The content of id "divLeft" is displayed here
The content of id "divLeft" is displayed here< The content of divAll"

The content of id "DIV1" is displayed here


There are two DIVs in DIV1,
The width of divLeft must be 200px, and the remaining How should I write CSS to fill up the space of divAll?


Reply to discussion (solution)


Just change the css and use positioning to Realize

"The content of id "DIV1" is displayed here." How do you deal with this sentence?

This feels a bit unclear in terms of requirements. It's almost as good as that. . Haha

If you write it this way, the height is not 100%. According to what you write, the actual displayed height is wrong
It seems that it can only be done with JS

If you write it this way, the height is not 100%. 100%, according to what you wrote, the actual displayed height is wrong
It seems that it can only be done with JS
"The content of id "DIV1" is displayed here" How do you deal with this sentence

js dynamically controls the width of divAll

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn