【重要】サービス終了のお知らせ

Discussions

Q表示領域の高さに応じて一部の高さだけ可変にしたい

添付コードのように、ヘッダが上部で高さ固定 かつ フッタが下部で高さ固定、であるときに
content内のwidth, heightともに100%のiframeを ヘッダとフッタの間の領域にキレイにおさめる方法が分かりません。
できればスクロールバーがでないように、
ブラウザの表示領域に応じて常に(表示領域の高さ - ヘッダのheight - フッタのheight) になるようにしたいのですが、そういうことは可能なのでしょうか?

Sample Code

AAnswer to: 表示領域の高さに応じて一部の高さだけ可変にしたい

tsmallfield

IE6未対応ですがこんな感じでどうでしょうか?

1) #contentを絶対配置にして4隅の座標を指定。
2) そこにwidth:100%;height:100%;のiframeを入れると…

alinavines183

Very good post and clever text you wrote! Welcome to domkrat.org - blog about repair of floors and floor coverings. To lay a parquet so that it did not begin to creak and "walk" in the first month after repair, it will turn out only on an equal floor. The same story with the bath on an inclined surface — the wrong slope will not allow water to flow by gravity into the flange drain. site

luciham20

That might be this type of a terrific cleverness which will you will be featuring and you just make the application apart designed for complimentary. Download and Install Racing Games at games.lol

alinavines183

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. Welcome to http://euroelectrica.ru/ - blog about electrical and wiring. Very often, home craftsmen and even experienced electricians make dangerous mistakes when installing wiring.
Visit interesting sites: http://postroyka.org/ http://stroybud.com/

farhan

I’ve been surfing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the web will be a lot more useful than ever before.
read more

Post a question

You can post JavaScript, HTML, CSS related questions with attached reference to actual codes and get the answers likewise.

Ask a question

  • 1. Click the ‘Post a question’ above

  • 2. Enter question details, reference code, and click ‘Add question’ button

  • 3. Question will be paired with the code on display

Add an answer

  • 1. Choose a question

  • 2. Enter answer details, attach the reference code and click ‘add answer’ button

  • 3. Your answer will accompanied with attached code

Tag