|
Posted by Ben C on 05/10/07 07:03
On 2007-05-09, Agix <ignoranceisbliss@gmail.com> wrote:
> On 9 May, 19:47, Ben C <spams...@spam.eggs> wrote:
[...]
>> Firefox is following mathematics OK here.
>>
>> 400px + 160px + 2px + 2px = 564px.
>>
>> Each 2px is for the left and right borders of mainpagecont and
>> adbarright.
[...]
> Although do the browsers include a border calculation if there is not
> one? or do they just sit flush together?
If you're doing a series of left floats for example, with borders, they
will line up flush next to one another. Or should, but I keep hearing
about strange 3px gaps in IE.
Same goes for a series of inline-blocks, inlines or table cells
generally. So yes, you won't generally get that overlapping unless you
start setting widths on everything.
Navigation:
[Reply to this message]
|