I've got pageh2
And then in my html I have some titles with h2 tags, I have three for three columns, and I need each to have a different colored 100% width background like not that it ends as soon as the text ends but rather when the container ends.Code:#page h2 { font-size:15px; line-height:25px; font-family: Arial,Helvetica,Verdana,Sans-Serif; color:#f5f5f5; padding-left: 5px; }
Should I just do h3, h4 for the other two columns? At the moment I have them on span tags like,
But its ignoring the width I set and only highlights the text.Code:#page h2 .span-left { background: #2B9435 none repeat scroll 0 0; width:221px; } #page h2 .span-center { background: #efa71d none repeat scroll 0 0; width:354px; } #page h2 .span-right { background: #d11a1a none repeat scroll 0 0; width:225px; }







.

Bookmarks