Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to define height of the div?
Message
 
 
Information générale
Forum:
HTML5
Catégorie:
Autre
Divers
Thread ID:
01555473
Message ID:
01555498
Vues:
66
Yes, you can do these things in HTML, but that is pretty old school. The modern way of controlling layout and other appearance features is with CSS.

>Hi everybody,
>
>I want my div to be a certain height. It seems to be working in Google Chrome but not working in IE or FireFox.
>
>Do you see what is wrong here?
>
>
>#ContactsInfo /* Main container */
>{
>    min-height:10px;
>    border:1px solid #483;
>    padding:1%;
>    height:20px;
>}
>
>I chose so small height just for testing purposes.
>
>Another thing I want, but not sure if this is at all possible. I would like to see
>
>------------- Contact1 ------------------ ----------------------Contact2--------------
>
>In other words, I want the "caption" labels for these divs where caption seats on the top border.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform