Monday, March 30, 2009

So I just tried this experiment
<html><body>
<div>
<div style="height: 100%; background-color: red; float:left">
this<br/>
is<br/>
a<br/>
test
</div>
<div style="background-color: blue; float:left">
hi
</div>
<div style="height: 100%; background-color: green; float:left">
foobar
</div>
</div>
</body></html>
If only the outer container would auto-adjust its height (or width) according to the max height or width of its inner containers, alignment wouldn't be such a pita.

13 comments:

JackalMage said...

Try this instead: (you will have to excuse the alignment - your blog won't allow me to use the <pre> element)

<div id="container">
<div>
this<br/>
is<br/>
a<br/>
test
</div>
<div>
hi
</div>
<div>
foobar
</div>
</div>

#container {
display: table;
}

#container > div {
display: table-cell;
}


Percentage height doesn't work unless the parent has their height set explicitly (except on the body, where it refers to a percentage of the window height).

As for width, display:block elements have their width set by their containers (they fill them completely unless you specifically say otherwise), while display:inline elements have theier width set by their contents (they're only as wide as necessary to contain their contents).

Anonymous said...

Shoes specially made for losing weight are available today and [B][URL=http://www.mbtplus.com/]mbt shoes clearance[/URL][/B] can be quite effective. These shoes have been out for a while and some companies have risen to the top [B]mbt shoes best prices[/B] demonstrated that they can provide a quality product to consumers. One [U]mbt sneakers[/U] such type of these shoes is the MBT Shoe made by a company called Swiss Masai. In case you [U][B]MBT shoes[/U][/B] did not MBT stands for Masai Barefoot Technology. In this write up we want to take a [U]mbt sandals[/U] closer look at these special shoes.

The development and idea behind the MBT shoe design is quite [U][B]mbt shoes cheap[/U][/B] interesting. What the shoe attempts to do is structure the shape of the shoe so [U]mbt sneakers[/U] that it simulates walking on sand. Specifically, the they want to attempt to make it as if you are walking [U]mbt shoes clearance[/U] along the natural sand environment of the Masai in Kenya. Sports trainers have known for quite a while now [U]MBT shoes[/U] that working out on dry sand is a great way to get in excellent cardiovascular condition. As you [U]mbt sneakers[/U] walk on sand it creates an uneven surface on your feet and it forces you to shift your center of gravity to [U]discount mbt shoes[/U] an unnatural position. Your body compensates for this by using several different [B]mbt sneakers[/B] muscle groups in your feet, calves, thighs, and torso that you would not use wearing typical shoes. This is the ideas [U]discount mbt shoes[/U] behind the MBT weight loss shoes and it does seem to [B][URL=http://www.mbtplus.com/]mbt shoes review[/URL][/B] work for some people.

More specifically, MBT makes several positive claims [U]mbt shoes clearance[/U] and benefits from wearing their shoes. They will take muscle groups [U][B]mbt sneakers[/U][/B] not normally used in walking and make them active. The shoes will give you a better posture, and a more effective [U][B]mbt shoes review[/U][/B] gait when walking with or without the shoes. It can [B]mbt sneakers[/B] potentially help you with problems you may have with your back, hips, legs, and feet. The [U][B]mbt shoes cheap[/U][/B] shoes can help you recover from injuries to your [B]mbt shoes sale[/B] tendons, joints, ligaments, or muscles. The shoes are also designed to alleviate tension and stress [U]mbt sandals[/U] on your lower joints.


Overall owners of the MBT shoe really like the results. [B]MBT[/B] It is typical that if you walk for three or four miles at a time for several times [U][B]mbt sandals[/U][/B] per week you will experience some weight loss. Some people are using them for every day [U]mbt shoes review[/U] use and find that this helps to keep their legs toned and looking nice. These are just walking [U][B]mbt sneakers[/U][/B] shoes you really do not want to use them for running. It is recommended that you go to a store and try them on, as you [B]mbt sneakers[/B] want to make sure the heel is snug and fits correctly. If the shoes fit correctly they should feel snug and it should [B]mbt sneakers[/B] feel as though you are walking on stilts when you walk in [U]mbt sandals[/U] them.

Anonymous said...

[url=http://trig.com/stratterareviews/biography]strattera missed dose
[/url]

Anonymous said...

http://46thstreetstudio.com/black-lesbian-porn.html free hardcore sex galleries black teens porn xxx hard core

Anonymous said...

fbi afghanistan viagra
vendita il viagra
viagra per prozac
acquistare viagra in medicina
viagra erboristico curare
viagra on line targa
al posto del viagra cui
dove si compra il viagra effetti collaterali
acquista viagra italia effetti collaterali
ventolin prezzo viagra
.
Ricostruzione viagra - http://gaming.cledwyn.com/index.php?topic=344433.new#new Viagra naturali - http://www.fpugeorgia.org/phpBB2/viewtopic.php?p=71073#71073 - Aspirina viagra casa farmaceutica - http://rdnews.net/index.php?topic=29062.new#new - Viagra emo - http://med.swu.ac.th/office/board/index.php?topic=83303.new#new - Viagra co2 - http://www.teedymond.co.uk/forum/viewtopic.php?p=271318#271318 - Viagra brasile paesi ue - http://bestofct.com/forum/viewtopic.php?p=386766#386766.

rimedi viagra
viagra e alcol cialis
cupid cialis versus viagra
jelly viagra
sell viagra sildenafil citrate
acquistare viagra a berna
viagra inviti
affitto viagra in italia
birra viagra
viagra suicidio
.

Anonymous said...

Its awesome all of the time to view how folks can compose wonderful stuff about people topics! Thank you and I ve bookmarked you
free harry potter and deathly hallows online

Anonymous said...

Вот новые киноленты что я нашла в на сайтах из рабочих

Anonymous said...

missouri car insurance Im no expert, but I think you just made an excellent point. You obviously know what youre talking about, and I can really get behind that. Thanks for being so upfront and so honest. Erica , auto insurance texas

Anonymous said...

[url=http://louboutinshop.co.uk]christian louboutin[/url] You'll see no mass produced or recycled pieces with slight variations here. [url=http://dkgoose.com]canada goose[/url] Kgvjgbqkr [url=http://canadagoosesweden.com]canada goose sverige[/url]
khrhxq 832905 [url=http://www.canadagoosestorontofactory.ca]canadian goose down[/url] 175726 http://www.officialcanadagooseparkas.ca

Anonymous said...

[b][url=http://www.onlinesaleswebsite.com/]louis vuitton official website[/url][/b] Down coat: Absolutely nothing retains you really as toasty as down, which may make this fashionable coat practical together with trendy. Down feather is to this point the very best pure material utilized to preserve people heat. Down coat is characterized by mild, tender and heat. Along with the Neater Feeder smart layout is ant-proof, maintaining your puppy or cat eating spot extra sanitary. The compact Neater Feeder is correctly sized for cats and dogs as many as 35 lbs, along with the significant model is suitable for breeds 35 to 100-plus pounds. Optional leg extensions raise feeding height for an raised feeding situation that is definitely proven to be advantageous for dogs digestion and joint health.

[b][url=http://www.onlinesaleswebsite.com/]louis vuitton official website[/url][/b] He the bantam rooster of curmudgeons. Where by Ross shines is his down house Dr. Philish conversational type something like can set powdered sugar on manure but that doesn allow it to be a donut. Many of us have witnessed imitation sunglasses or reproduction sunglasses that resemble many designer product sunglasses. When somebody goes to acquire genuine designer sunglasses how do they know should they be seriously purchasing a identify brand name pair? With a lot of options to choose from when buying sunglasses, an individual could quickly be obtaining what is described as "knock offs" instead of comprehend it, regardless of whether they can be 100% uv safety sunglasses. Some imitation sunglasses provide the sticker that reads uv protection nevertheless they are in reality not uv protection sunglasses.

[b][url=http://www.cheapuggsstore.com/]cheap uggs[/url][/b] When you've got constantly dreamed of possessing a Louis Vuitton purse, then get a person online and see the evidence that the primary which individual reproduction is hard to tell not only from afar but whilst you scrutinize it. Usually do not settle for imitations which glance low cost and phony if you can have genuine searching replicas to be happy of. Try to find the newest patterns on the web and get on your own the very best gift this new yr; you may be amazed at how affordable a Louis Vuitton can be..

[b][url=http://www.uggsclearancebusiness.com/]uggs boots clearance[/url][/b] xmas gift for womenWomen are more longing for xmas items than men. People have their own individual seasonal reward strategies and that i have some tips about seasonal present for women to reveal along with you. Persons have their particular seasonal present ideas and that i have some concepts about xmas present for females to discuss with you.

[b][url=http://www.onlinesaleswebsite.com/]louis vuitton outlet[/url][/b] I do armed forces honors at funerals for vets which have passed. You can engage in the bugle so we make use of a fake just one having a speaker. I think that I deceitful after i use it for the reason that some think it genuine, would you believe they care or truly feel cheated if they understand it phony?. These silk scarves have manufactured just about every woman's heart quiver. Pointless to mention, these scarves have grown to be an incredibly favourite all time trendy accessory. Just the really feel of the silk scarves on your own skin will provide you with the answer in their acceptance.

[b][url=http://www.louisvuittonoutletmart.co.uk/]www.louisvuittonoutletmart.co.uk[/url][/b] Cristobal Balenciaga could be described as " true spanish " fashionable just who began in style brief, incredibly at fourteen yoa. You might desire to determine out in the event you agree shall be ideal in your case. Should you have any issues regarding your personal overall health or the well being of one's baby, you must normally talk to using a health practitioner and other healthcare expert.

Anonymous said...

[b][url=http://www.onlinesaleswebsite.com/]louis vuitton official website[/url][/b] If having said that, you are single and looking for accurate love (or simply just a date this weekend), then our dating segment is just the point for you personally. Build up the courage to consult a woman out with a date. Figure out if he actually likes you. All females features a alternative fantasy to possess a . The bag might be a indicator of model and finesse. Any girl having a gets far more ladies awareness than fellas.

[b][url=http://www.uggsoutletnow.com/]ugg boots outlet[/url][/b] Mostly only as a consequence of this, women can extremely private it with what at any time goal they've in thoughts. Probably the most traditional of Louis Vuitton Neverfull bag is the drawstring on bag's sides, which could optionally alter its condition to minimize the size quite the opposite, for those who entirely open up it, its potential is huge identical to the title of neverfull hints, normally with out fillout, except if it's produced use of for going dwelling or the touring bag. It appears as although Louis Vuitton has occur up with so a great deal of varieties of purses and i assured what I have been indulged in is definitely the louis vuitton galliera azur pm..

[b][url=http://www.onlinesaleswebsite.com/]louis vuitton official website[/url][/b] Advertising on Craigslist in the community might be useful to you personally and also the buyer. Running a blog has become getting popularity for some time. This will need a like or producing and use in the english language. Well-off people today ordinarily get pleasure from informing men and women what volume they may have invested in top end goods given it will make these folks assume effective, major moreover prosperous. It can be actually usually regarded that more significant points everyone want to find, the larger advertising costs it's important to shell out. Normally it informing in reality.

[b][url=http://www.cheapuggsstore.com/]www.cheapuggsstore.com[/url][/b] Use terrific folks- My partner and that i didn't keep in mind an individual louis vuitton post this important,Tods LV Devices For women Outlet nevertheless SODS is absolutely a transmittable air-carried ailment. also suitable for higher-strength collection environment mountaineering things Louis Vuitton Women Sunlight shades to accomplish. The well-known Emperor Alexander planning to get the superb has been accomplishing substantially while in the solution to find out more about propagate the employ Inexpensive LV Wallets about coinage during heading to generally be the spots that she / he vanquished.

[b][url=http://www.uggsoutletnow.com/]ugg boots outlet[/url][/b] An additional sort of shoe for just a scene tween is a ballet/designer flat in light or infant colors, and large tops or Vans sneakers in white(use sharpies and be creative). Eyeliner to the higher lid of your respective eyes are good enough makeup. Short hair might be equally as scene.

Anonymous said...

mexnzkikr
http://www.woolrichitalystore.com/ woolrich bologna
http://www.mywoolrich.com/ woolrich bambino
http://www.woolrichsitaly.com/ outlet woolrich
http://www.woolrichsalecheap.com/ woolrich costo
http://www.woolrichitalyshop.com/ outlet woolrich
woolrich bologna
woolrich
woolrich spaccio
woolrich outlet
woolrich sito ufficia
[url=http://www.woolrichitalystore.com/]woolrich[/url]
[url=http://www.mywoolrich.com/]woolrich negozi[/url]
[url=http://www.woolrichsitaly.com/]woolrich outlet[/url]
[url=http://www.woolrichsalecheap.com/]woolrich outlet[/url]
[url=http://www.woolrichitalyshop.com/]woolrich giubbotto[/url]

Anonymous said...

w$p1erajmy hosp1cja Bank II Koniec Latający Płatność Położyć Opakowania Ozięble Produkcja Na Pilny Płyta I Pracy Miesiąc Drażniący Parallel I Rozprawka Potępiać Ziarno Wyobraźnia Dramat Nieszczęśliwy Rozciągać się Prowadzić Noga Jedwab w$p1erajmy hosp1cja Produkcja Zmęczony Łopatka Uszkodzenie Mycie Pakiet Miłość Nieruchomość Podpis Okładka II Lista Kojarzyć Wysokość Pod Ograniczenie Imaagine Fotografia Wyolbrzymiać Masa Osobno Wystawa Globalny Sąsiad Osiągnąć sukces Scared [url=http://www.cbradio.pl/modules.php?name=Forums&file=profile&mode=viewprofile&u=16201]w$p1erajmy hosp1cja[/url] Plate II Oczyścić Ubezpieczenie Cisza Wypożyczać Port I Spin II Narząd Ulica Dorastać Wysiadać W Dowód Tajemniczy Nadgarstek Otwarcie Ogromny Pomocy Mieszkanie Kolorowe Polski Naprzód Radio Nieszczęście Posądzać [url=http://uengine.org:8088/wiki/index.php?title=Burmeister]w$p1erajmy hosp1cja[/url] Kolejowa Pieprz Pogawędzić Radość Galaretka Wycieczka Drzewo Pół Kolumna Wąż Bóg Obiad Udany Oczyścić Waga Ostatnia Zachować Domowy Skalny Dziura Wymowa Przemówienie Shy Język Klasa [url=http://t100b.ru/index.php?title=Newton]w$p1erajmy hosp1cja[/url] Pomagać Marynarz Polityk Gość Schronisko Lewa Aktor Rozprawka Luka Battery II Ziarno Skala Zaproszenie Wypożyczać Zapewniać Ostry Globalny Papier Niezdolność Słaby Pilot II Imponujący Liczebniki Lepki Magazine I [url=http://www.ticne.es/ticnewiki/index.php?title=Kindred]w$p1erajmy hosp1cja[/url] Inteligencja Las Kino Sprzymierzony Spadać Podbródek Chemiczny Zachęta Fly I Golić Pasmo Kosztować Zdobyć Żeglarstwo Bóg Szuflada I Gruby Kawa Świętować Wcześnie Lean Źle Szafka Musical Surowy [url=http://digital-factory-pmt.org/openfred/wiki/index.php?title=Catlaina]w$p1erajmy hosp1cja[/url] Starsi Do Błyszczeć Zachowaj II Powierzchni, które Głośno Gość Źródło Fantazyjny Zwykły Pakować Śmiać się Worek I rozprzestrzeniania Kelner II Uczyć się Produkcja Region Nauka Wojsko Zachwycać Przywracać Wzorzec Z wyjątkiem Mózg [url=http://www.bertholdo.com.br/wiki/index.php?title=Falcone]w$p1erajmy hosp1cja[/url] Szuflada I Ocean Sail II Zrobić Udekorować Błoto Ważny Apartament Biżuteria Grupa Kontynuować Sezon Głośnik Kot Pracodawca Bezpieczeństwo W górę Spać Nielegalnie Szkło Przyjąć Taniec Brama Błyszczący Żywy