how to give element more width in css code example

Example 1: width defined by content css

/* <length> values */
width: 300px;
width: 25em;

/* <percentage> value */
width: 75%;

/* Keyword values */
width: max-content;
width: min-content;
width: fit-content(20em);
width: auto;

/* Global values */
width: inherit;
width: initial;
width: unset;

Example 2: how to make a workspace container bigger in css

#workspace_container {
        height: 1000px;
		width: 83%;
		min-width: 1060px;
    }

    #workspace {
        padding: 10px;
        /*height: 590px; */ /* (height of activity_area) - (2*padding) - (height of controls) */
        height: 1000px;
    }

Tags:

Css Example