Sideway
output.to from Sideway
Draft for Information Only

Content

CSS HowTo Fill Remaining Width
 Using Table Cell to Fill Remaining Width

CSS HowTo Fill Remaining Width

Using Table Cell to Fill Remaining Width

Using Table Cell to Fill Remaining Width
HTML Document Input:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head >
        <title>Sample Page</title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
        <style>
            #header {width:100%;}
            .container {display: table; width: 100%;}
            .Head {display: table-cell; width: auto; white-space: nowrap;}
            .B {width: 90%; background-color: Silver;}
        </style>
    </head>
    <body>
        <div id="Header">
            <div class="container">
                <div class="Head A">
                    Head A
                </div>
                <div class="Head B">
                    Head B
                </div>
                <div class="Head C">
                    Head C
                </div>
                <div class="Head D">
                    Head D
                </div>
            </div>
        </div>
    </body>
</html>
HTML Web Page Embedded Output:

©sideway

ID: 211100027 Last Updated: 11/27/2021 Revision: 0 Ref:

close

References

  1. http://www.w3.org/TR/1999/REC-html401-1999, 1999, HTML 4.01 Specification: W3C Recommendation, updated 24 December 1999
close
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 337

Reference 68

Computer

Hardware 160

Software

Application 205

Digitization 25

Latex 35

Manim 203

Numeric 19

Programming

Web 285

Unicode 504

HTML 65

CSS 65

SVG 46new

ASP.NET 270

OS 422

DeskTop 7

Python 71new

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 32new

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2022 Sideway . All rights reserved Disclaimers last modified on 06 September 2019