May. 31st, 2007
CSS Problem.
May. 31st, 2007 09:11 amI'm having a bit of a CSS problem that I don't know how to solve, and googling hasn't gotten me any closer to an answer. Any advice would be appreciated.
In brief, I have a fixed-size container DIV in which I'm displaying a variable-sized content DIV. When the content is larger than the container, the container grows scrollbars. That all works as expected.
The problem comes when the content is smaller than the DIV. In that case I want the content box to completely fill the container. This is important as there is some content which is stuck at the very bottom of the content DIV. I used min-height and when no scrollbars are showing, this works as expected, and everything looks right.
The trouble comes when I try to display content that is short but wide. In that case the container grows horizontal scrollbars and the content that is stuck to the bottom of the content DIV is partly covered by the scrollbars. This is not so good. So far though, I haven't found any way to prevent this. Any ideas?
In brief, I have a fixed-size container DIV in which I'm displaying a variable-sized content DIV. When the content is larger than the container, the container grows scrollbars. That all works as expected.
The problem comes when the content is smaller than the DIV. In that case I want the content box to completely fill the container. This is important as there is some content which is stuck at the very bottom of the content DIV. I used min-height and when no scrollbars are showing, this works as expected, and everything looks right.
The trouble comes when I try to display content that is short but wide. In that case the container grows horizontal scrollbars and the content that is stuck to the bottom of the content DIV is partly covered by the scrollbars. This is not so good. So far though, I haven't found any way to prevent this. Any ideas?
Educating Myself.
May. 31st, 2007 09:37 amSince I've been thinking about the whole entrepreneurial thing and having my own business and such, I've started reading up on some of the aspects of that of which of I have little clue. One huge area is in investment agreements with Venture Capitalists and Angel Investors. As a consequence I've subscribed to a number of blogs such as Venture Hacks. For me, this is pretty much jumping in at the deep end as many of the terms, expressions and ideas that they take for granted are new and unfamiliar to me. For example, I just now worked out that 'selling debt' is what I would call 'getting a loan'.
Anyway, I'm hoping that this stuff will A) eventually start to all hang together in my head and B) actually prove to be of some use.
Anyway, I'm hoping that this stuff will A) eventually start to all hang together in my head and B) actually prove to be of some use.