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

Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79new

Computer

Hardware 224new

Software

Application 213

Digitization 32

Latex 52new

Manim 204

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 33new

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