[thelist] [CSS] Uninherited background color with float

Mark Kennedy mark at eurogamer.net
Mon Apr 19 06:07:12 CDT 2004


http://www.blooberry.com/indexdot/css/properties/colorbg/bgcolor.htm

Default background colour is 'transparent', not 'inherit'.

Hope that helps,

Mark


On Mon, 19 Apr 2004, Adriano Castro wrote:

>
>    Check out:
>      + http://www.adrianocastro.net/post/pub/help/001.html
>
>    The 3 sections ("big top section", "small left section", "small rite
>section") are all contained under the "main" div. The last "small
>left" and "small rite" sections are floated to the left and rite,
>respectively.
>
>    Why don't they inherit the #main's background color?
>
>    Code snip:
>
><div id="main">
>  <div>big top section</div>
>  <div class="sectionsmallleft">
>    <div>small left section</div>
>  </div>
>  <div class="sectionsmallrite">
>    <div>small rite section</div>
>  </div>
></div>
>
>
>    AD
>
>--
>www.adrianocastro.net
>-- 
>* * Please support the community that supports you.  * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester 
>and archives of thelist go to: http://lists.evolt.org 
>Workers of the Web, evolt ! 
>

 



More information about the thelist mailing list