You are here: background color not showing on header « HTML « IT news, forums, messages
background color not showing on header

Posted by iamdave on 10/30/82 12:01

I have a header image which I do realize i should cut up into sections
for load time. But my problem is that there is supposed to be black
around the image because I set the css to have a black background but
it's not showing.

http://the316band.com

But I obviously am making a mistake somewhere.

div#header{position:relative}
div#header h1{height:125px;line-height:80px;margin:0;
padding-left:10px;background: ##000000;color: #79B30B}
div#header a{position:absolute;right:0;top:23px}

I'm not sure I understand the difference between header and header h1
referenced above. I got the template code off a website and just
tinkered with it. If you see anything goofy let me know. The code is
as is only because I'm a complete rookie and trying to edit a template
for a 2 column header/footer css layout. :-)

Dave

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация