I want the div to be 742px wide, which is 740px of content and 1px of border on each side.Code:#frame { width:742px; voice-family: "\"}\""; voice-family: inherit; width:740px; border-style:solid; border-width:1px; border-color:#000000; margin-right:auto; margin-left:auto; } html>body #frame {width:740px;}
According to Tantek's hack, this should do it. However, when I run Quirks mode, the div stays 740px wide, including the border. I need those extra 2px, or the layout is out of whack. What am I doing wrong? Help!







Bookmarks