html - Are there any math rules for creating a fluid CSS template without borders overlapping? -


i'm creating template page (you can see here) , i'm trying use proportional height , width. i'm having troubles borders. think there math calculation because want have pixel perfect borders each div (that means 2 adjacent divs should separed 1px border) , divs contained in container div should use available space (i hope understand mean).

you can find source code here

thx in advance suggestions on how achieve this.

so have modify html , css bit achieve such result. elements width of 50% , 1px border larger 50% in box model. wrap contents in div , give div border. outer div should 50% width. use top , left borders.

i've modified left part of fiddle give impression how work.

http://jsfiddle.net/3pw7y/2/


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -