Gergely Buday wrote:
Hi there, I would like to have the same height of background for two neighbouring divs at http://www.math.bme.hu/~gergoe/ For the upper part I was able to set explicit height but for the lower this is not possible as the text can be variable size. On irc I got http://colinaarts.com/articles/float-containment but that did not help, it was beyond my knowledge. When answering please keep in mind that I'm a newbie to css.
Suppose (and this is pure hypothesis) that the background were not a part of your DIVs, but was rather than background to a containing DIV that held both; if that background consisted of a 1px high bi-colour line, width equal to the total width of your two inner DIVs, and with the colour-change synch'd to the widths of the DIVs, and allowed to replicate vertically but not horizontally, might this not solve your problem ? Philip Taylor ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
