Author:
erics, June 4th, 2020
Outer Block – set the line-height: {some value} Inner Block – set the line-height: normal, along with display: inline-block; vertical-align: middle; Also works if you set OUTER height instead of the line-height (or together with the same value as the height).
Categories: How-To's, Technology Tags: Align, CSS, height, HotTo, html, line, line-height, normal, tips, Vertical
|
No comments
Author:
erics, March 25th, 2020
I needed to use an iframe between a pre-defined header and footer that would auto-fill the full height on any size screen. On a desktop, the combined height of the header + footer was 223px and for mobile was 157px, so below find the CSS example: calc(100vh – 223px) – for desktop calc(100vh – 157px) […]
Categories: How-To's, Technology Tags: Auto, cacl(), Calc, CSS, Fly, Function, height, howto, html, On The Fly, tips
|
No comments
Author:
erics, November 3rd, 2009
Edit the Themes/default/GenericControls.template.php file. Insert the following after line 9, adjusting for desired height: $editor_context[‘height’] = ‘400px’; For example: [code firstline=”9″] $editor_context = &$context[‘controls’][‘richedit’][$editor_id]; $editor_context[‘height’] = ‘400px’; [/code]
Categories: How-To's, Technology Tags: forum, height, howto, smf, taller
|
No comments