Hi guys,
Any know how to play around with FAUX COLUMN?
I really have a tricky layout and I don't know how can I Exactly Apply the FAUX COLUMN - "technique"(?)
Thanks in Advance
php_noob
Hi guys,
Any know how to play around with FAUX COLUMN?
I really have a tricky layout and I don't know how can I Exactly Apply the FAUX COLUMN - "technique"(?)
Thanks in Advance
php_noob
A quick practical sketch for the faux-columns question from and the table suggestion from .
Faux columns work by painting the column backgrounds on the outer container so inner column elements can be transparent and appear to be the same height. That is fine for fixed-width designs or when each column only needs a simple, repeating fill. It breaks down for fluid/responsive layouts, independently scrolling column content, or when each column requires its own anchored image or complex background.
A minimal faux-columns example:
/* wrapper shows the painted columns */
.container {
width: 960px;
margin: 0 auto;
background: url("faux-columns.png") repeat-y top left;
overflow: hidden; /* contains floated columns */
}
.left { float: left; width: 240px; }
.right { margin-left: 240px; } /* or float/right as needed */ Modern alternative (preferred): use flexbox or grid — both give equal-height columns without image tricks and adapt well to responsive layouts:
.container { display: flex; align-items: stretch; }
.left { width: 240px; }
.center { flex: 1; } Troubleshooting notes: ensure the background image aligns with your column widths; inner columns must be transparent; use clearfix or overflow to contain floats; test at different viewport sizes. Using tables for layout may “work” visually but is semantically incorrect for non-tabular content — prefer CSS table display, flexbox, or grid unless the data is truly tabular.
Jump to Post— MidiMagic 579Do you mean the use of divs and styles to make columns?
Do you mean the use of divs and styles to make columns?
well, yeah
actually according to I have read it makes the columns look equal in height by using background image but is it applicable to all layouts?
I'm getting hard tie to achieve that kind of effect.
Thanks for your time
That's one case where you really need a table.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.