On Wed, 6 Feb 2002, allan wrote: > Stas Bekman wrote: > > > 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... > > why? why it's easier? Because according to your words, if we have some text without <p></p> it'll work the same. I'm not saying that we shouldn't fix our content. > can't we somehow garantee that we will always have min. a > pair of <p>-tags around naked text?
Currently no, at least without special parsing of the source text. Originally I was enclosing everything in <p></p> but that was creating improper HTML in cases the text had some other tags like <pre> inside it. _____________________________________________________________________ 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]
