You are here: Re: Setting DIV Height « HTML « IT news, forums, messages
Re: Setting DIV Height

Posted by -Lost on 12/23/06 04:19

"Jeff Bowman" <write.to.me@my.address.com> wrote in message
news:458c987b@news.acsalaska.net...
> "-Lost" <spam_ninjaREMOVEME@REMOVEMEcomcast.net> wrote in message
> news:xrqdnQH7wpRo2hbYnZ2dnUVZ_rKvnZ2d@comcast.com...
>
>> Well, people have been misusing tables for quite a few years so why stop now?
>
> HeHeHe... :-)
>
>> Seriously, if you are already playing about with CSS, why not just set the height via
>> CSS?
>
> Oh my! Last I heard it wasn't possible--this must be new news?
>
> If there's actually a way to do it, I'd sure be pleased if you could send a quick tip...

Well, often I hear that giving the body a height of 100% allows for DIVs of varying
percentage heights.

What *I* have found to work however is simple using absolute position (with top, right,
left, or bottom) and then applying the height of the DIV. In that fashion I get 100% DIVs
with no problem.

Another thing that I think actually may be of more use to you is:

http://www.greywyvern.com/code/min-height-hack.html

>> Also, totally off the subject... what in the world is all that extraneous code for? I
>> also do not understand why for such a small example you appear to be dynamically
>> generating each of eight PNGs. Weird.
>
> Sure, no problem, I can help you with that ;-)
>
> It's an ASP.NET server control that I'm building. It enables the web application
> developer to specify various settings--CornerRadius, ForeColor, BackColor, etc.--and
> then the control generates the appropriate CSS and images dynamically at runtime. At
> design time all the developer has to do is drag and drop the control onto a form, set a
> few properties and presto! it works--no fiddling with images and such. It's basically a
> productivity tool.
>
> True, there's extra bandwidth and CPU overhead associated, but given today's machine
> capacities those are relatively minimal and shouldn't be a concern for all but the most
> demanding of applications. And once an image is generated for the first time it goes
> into the server-side memory cache, so CPU usage is kept down even further.
>
> All this is well and good, I suppose--I'm pretty handy at server-side logic and database
> stuff, but it's you guys I stand in awe of. The way you're able to make a browser sit up
> and pay attention continually amazes me. And the designs--my goodness what designs!
>
> Thanks!

Ah, OK. It was naive of me to think it was "just a simple test".

Also, I would reserve some of the awe for others more deserving of it. I may not be the
best candidate for praise. Thank you nonetheless.

Be well, Jeff.

-Lost

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация