allan wrote:
hello,
if we want the bg-color of the title to span 100% then this works everywhere:
<table border="1" cellpadding="1" cellspacing="1" width="100%" class="title-bg"> <tr> <td class="title-header">Source and Binary mod_perl distributions</td> </tr> </table>
(where the table-classes would specify a bg-color and font-size)
or
with the current solution to work somewhat properly in ns4:
<h1 class='headline'>Source and Binary mod_perl distributions</h1>
we could do it this way with css:
.headline {
padding: 5px;
margin-top:2px;
background-color: #525D76;
color: #ffffff;
border-style:none;
border:1px;
font-size:1.4em;
margin-right:0px; /* new */
}
h1, h2, h3, h4 {
color: #525D76;
font-size:1.2em;
font-family: helvetica, verdana, sans-serif; /* new */
font-weight: bold; /* new */
}
I prefer the CSS solution, it works indeed ;)
Though I didn't add:
font-family: helvetica, verdana, sans-serif; /* new */
isn't this font-family inherited from .body?
--
_____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
