Anyone  know much about html In director.

 

Im trying to make table cells automaticly move to the size of a
character inside the cells but with no luck

Ive attached a pic of the problem

 

This is the sort of code im using

 

on buildnewMessages

  ----put entries in an HTML TABLE

  -- start html code

  html = "<HTML><BODY><TABLE WIDTH = '100%' BORDER=1><TR>"

  put "<TD WIDTH = '10%'>"&"</TD>"&"<TD WIDTH =
'10%'>"&"Save"&"</TD>"&"<TD>"&"Subject"&"</TD>"&"</TR>" after html

  

  

  countbox = jayp_emailDB.count

  

  repeat with i = 1 to countbox

    getthemessage = jayp_emailDB[i]

    getsubject = getthemessage[#subject]

    eachline = i&&getsubject&return

    

    ---------

    put "<TR>" after html

    

    put "<TD width='10%'>"& i &"</TD>"&"<TD>"& "Delete"&"</TD>" & "<TD>"
& getsubject &"</TD>"&"</TR>" after html

    

    

    -------

    contentlist = member("new messages list").text

    put eachline after contentlist

    member("new messages list").text =  contentlist

    member("new messages list").html = html

  end repeat

  

end

 

 

 

 

thnax buddies

jon

 



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to