OK now i have some code, which chops the long url, to fit it into the 150px wide cell, as before it was making the cell wider. I used wordwrap.
It works, but what happens is that the url gets chopped, and the chopped bit, doesn't carry on in the next line. It works in the link though, but i'd like the whole link (url) to show, it can carry on the next line and line after if need be.
This is what im using, but on the page itself, the part which is [end/code] or something, shows on the webpage. I also note that the code works even if i don't add the vbscript part, so is it necessasry? Anyway this is the page code now
In the stylesheet:
- [code language="VBScript"]
-
-
.aColumn { word-wrap: break-word; width: 150px; overflow: hidden; }
code on the webpage is:
- <table width="760" align="center" cellpadding="2" cellspacing="0" border="0">
-
</p>
-
<tr>
-
<td width="155" valign="top">
-
<!-- Left Column -->
-
-
-
<%IF NOT (BIO = "" OR IsNUll(BIO) OR IMAGE = "" OR IsNUll(IMAGE)) THEN%>
-
<div style="padding-right: 5px;padding-bottom: 5px;">
-
<img src="<%=IMAGE%>" width="60" height="50" vspace="4" border="1" align="left"/>
-
<%=BIO%><br />
-
-
<%IF NOT (WEB = "" OR IsNull(WEB)) THEN%><br /><A class="aColumn" target="_blank" href="<%=WEB%>"><%=WEB%></A>
-
<%END IF%>
-
<%IF NOT (EMAIL = "" OR IsNull(EMAIL)) THEN%><br /><A class="aColumn" href="mailto:<%=EMAIL%>"><%=EMAIL%></A><%END IF%>
[/code]
do i leave the cell table as it is? the only problem now is that the last bit ( [/code]) shows on the webpagge, and that the chopped url doesn't show on the next line. It fits though, the cell doesn't widen now.