|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
yes ive read that they are different and how they should be used, but dinkin around with the html, the end product is the same weather you stick to the "rules" or not, that is why im a little confused about the whole matter.
|
|
#17
|
|||
|
|||
|
Also all this experimenting around has led me to another box question: how do you set the width and height of a box to "overrule" whatever text is inside the box? eg: if i set the height to 10 px, if i start writin and writing the box just gets higher and higher because more text "has to fit in" rather than just not show the text that "shouldn't" fit....
|
|
#18
|
||||
|
||||
|
you can use the overflow attribute.
http://www.w3.org/TR/CSS2/visufx.html#overflow-clipping overflow:hidden; will hide everything that exceeds the box. take a look here for example of its use http://www.quirksmode.org/css/overflow.html as for the id (quote from w3) The id attribute can act as more than just an anchor name (e.g., style sheet selector, processing identifier, etc.) http://www.w3.org/TR/1998/REC-html4...anchors-with-id so if you use the same id on more than element, useragent wouldn't which one the anchor goes to, which one the javascript should affect etc. Last edited by Akh : December 20th, 2003 at 07:50 PM. |
|
#19
|
|||
|
|||
|
Akh: you rock the who ha!thankya.
|
|
#20
|
|||
|
|||
|
Furth trials and tribualations
I have 4 little boxes inside a big box.
I want them to be centered within the big box, and i cant seem to find the CSS code to do this. box-align: center is apperently not a command:P matt |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS: total control over positioning of boxes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|