Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Making a Non-Data Table Responsive Re: Making a Non-Data Table Responsive

#127919
ChrisP
Participant

@outtacontext, from the Mozilla Developer Network:

> The element generates a block element box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would)

https://developer.mozilla.org/en-US/docs/CSS/display

Unfortunately, inline-block also respects white space between the div’s as well, you’ll notice in my code, I set the font of the parent element to 0, then resized it to 16px within the divs that contain content..your other alternative would be to insert HTML comments between each div..

< div>…< /div>< !-- -->< div>…< /div>