CSS boxes trouble?

I'd like to program in css that my css div's are at the same size either in width or height. This without looking at the content of the div box. Usually css looks at how many content you have in your div box and makes the size just accordanly the text. And I want to keep the size fexible so don't give me absolute valubles

this is what I have for now.

div#header{

background-color:#FAF8D2 ;

width:84%;

margin: 90px 0 0 205px;

font-color: #396862;

}

div#box1{

background-color: transparent;

width: 14%;

height:auto;

margin: 25px 15px 0 35px;

font-size: 1.1em;

font-weight: bold;

border: 3px #D0DC5C;

border-style: ridge;

float: left;

}

div#box2{

background-color: transparent;

width: 69%;

height:auto;

margin: 25px 0 0 20px;

font-size: 0.9em;

border: 2px #D0DC5C;

border-style: dashed;

float: left;

}

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 VQUIX.COM - All rights reserved.