Forums

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

Home Forums CSS Input Requested with My First Site Re: Input Requested with My First Site

#116285
mr_z
Member

> Try not setting line height to 2px.

Bingo! Thank you buddy. It’s funny how little details make such a big difference. I could have probably stared for a long while before venturing to play with that value, as I didn’t properly understand it.

>Looks fine to me.

Yes it does to me as well, now that I can properly see it. Thanks again my friend!

I was wondering, is there any way to make the length and width of the div box to be flexible, depending on the display resolution, instead of using margins? I’m worried by setting hard margins the box will look disproportionate if viewed on a smaller (or larger) screen than the one I’m viewing it on. Is my fear well founded or is the way I did it pretty much the standard way of defining a div tag with content inside?