allan wrote:
hi
this line is ok by itself in ns4.
<h1 class='headline'>Welcome to the mod_perl world</h1>
however if it is immidiately followed by untagged text like:
mod_perl brings together the full power ...
then there will not be any style asigned to that piece of text.
if we have for instance
<p>mod_perl brings together the full power ...</p>
things are ok provided we use a style for the p-tag (i suggest the same as for body)
so why doesn't that work?
heh, took me hours to find out. it seems that if we have
.headline { ... margin-right: xpx; }
then whatever untagged text that follows will not inherit any font-styles whatsoever.
so the way i see it there are the following solutions:
1) skip the <h1 class='headline'> code completly and built a 100% width table which is bound to work everywhere.
2) make sure that we _never_ have any untagged text, so at least we have <p>some text ...</p>
3) skip the margin-right and f**k ns4
choice 2 is the cleanest, but is it possible, stas?
it is possible if the source html documents are written in proper HTML. I've fixed the cvs version of index_top.html to have <p></p>
But then I suppose that the first solution is easier...
--
_____________________________________________________________________ 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]
