Tak for en dejlig overskuelig, letfattelig og utvetydig forklaring. :-)
hidden = ingen scrollbars. visible = scrollbars vises. auto = hvis de er nødvendige. Klart nok. Men hvad er så: "scroll at der er scrollbars"...? Måske bare en taste-bøf?
Du burde være underviser indenfor web- og scripts-programmering. Men det er du måske også, roenving?
Visible skal man være lidt forsigtig med at bruge - og den må ikke introducere scrollbars. Fra W3C:
visible ------- This value indicates that content is not clipped, i.e., it may be rendered outside the block box.
hidden ------- This value indicates that the content is clipped and that no scrolling mechanism should be provided to view the content outside the clipping region; users will not have access to clipped content. The size and shape of the clipping region is specified by the 'clip' property.
scroll ------- This value indicates that the content is clipped and that if the user agent uses scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment. When this value is specified and the target medium is 'print' or 'projection', overflowing content should be printed.
auto ------ The behavior of the 'auto' value is user agent-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.
Even if 'overflow' is set to 'visible', content may be clipped to a UA's document window by the native operating environment.
-- havde lidt travlt, så jeg var ikke rundt om de nøjagtige definitioner 15:23:09
-- olebole har vist sørget for at pappet er i småstykker ...
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.