Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

-- Here's something else CSS still can't do AFAIK:

-- <table width="80%"><!-- dynamic --><tr>

-- <td width="300">fixed"</td>

-- <td width="*">dynamic</td>

-- </tr><table>

Actually, it can. I did it for you:

Image: http://i.imgur.com/l5GPLNC.png

Source: https://gist.github.com/Imdsm/9226944



One more without calc for older browsers:

.container {width: 80%;} .left {float:left; width: 300px; background: yellow;} .right {margin-left: 300px; background: red;}




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: