JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

Scripts, systems & field notes.

Practical solutions and technical notes from CRM platforms, workflow automation, APIs, databases and the systems around them.

12 entries / Cascading Stylesheets

Clear filters
CSS Center an iFrame Horizontally and Vertically
Cascading Stylesheets 34360

CSS Center an iFrame Horizontally and Vertically

So this is a quick article to demo how to center an iframe horizontally and vertically in a screen/viewport in pure CSS (no JavaScript allowed). This CSS centers it by its center point rather than the top/bottom/left/right outline.

Read note
Change div height to fit content
Cascading Stylesheets 13870

Change div height to fit content

A quick article on how to get a div layer to increase height based on how a heading fits on a page. What? I have a heading like this: The code of this is: A long heading that wraps over several lines

Read note
Three boxes, two roll over, one falls out
Cascading Stylesheets 27428

Three boxes, two roll over, one falls out

So this is an article to note an oddity when I was working with a Yootheme template called "yoo_sync". Some clever scripts (both mootools and jquery) using the equalize method to make div layers the same height, and in this case, the same width. It isn't so much a miscalculation of 100% divided by 3 that leaves 1 pixel...

Read note
Background Gradient Disappears on Long Pages
Cascading Stylesheets 27257

Background Gradient Disappears on Long Pages

This is a quick article on how to resolve the following issue: Overall body background color is blue. Background color of my contents is white. When I visit a small page on the site, the contents background (white) shows. When I visit a very long page on the site, the contents background disappears and reveals the over...

Read note
Vertically align an asterisk on a line
Cascading Stylesheets 32975

Vertically align an asterisk on a line

So I have an unordered list of values (*, 1, 2, 3...) and for styling reasons I want the asterisk to be the same size as the numbers but not overlap any list item beneath it. By increasing the size of the asterisk, this often increases the line-height and causes the overall line height to change for other objects in th...

Read note

Working principle

Our Purpose

This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.

25 Years in IT
1990 CRM clients
798 Site articles
24.4m+ Reads / hits