I am writing a bit HTMl in perl but when i come to format the table so it doesnt go off the end of the screen IT DOESN'T WORK. The problem lies with the sequence or fragments, labelled below as @cut and $annotate. Its too long and goes off the edge of the screen.
Does any body see a reason why.
Thanks.I have tried using <TABLE WIDTH = 100%>", "<TABLE WIDTH = "100%">", "< +TD WIDTH = "100%">", "<WBR>", and a few others but none of them work. sub show_Enzyme_Output() { my ( $counter, $recSite, $element,$anotate,@fragments) = @_; print("<TABLE BORDER=2 WIDTH=100%>"); print("<TR><TD WIDTH=100%><B>Enzyme number $counter</B></TR></TD>" +); print("<TR><TD WIDTH=100%>"); print("The cleavage site is <B>$recSite</B> for enzyme $element de +noted by \" ^ \"<BR></TD></TR>"); print("<TR><TD WIDTH=100%>The annotated sequence is given below al +ong with the digested sequence<BR>"); print("<B>Annotated:</B>$anotate<BR>"); print("<B>Digested:</B>@cut</TD></TR>"); print("</TABLE><BR><BR>"); }
In reply to HTML coded for in PERL by MonkPaul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |