Advanced Website Creator

Web development tools
It is currently Fri Dec 15, 2017 12:21 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Sep 25, 2008 9:04 pm 
Offline

Joined: Thu Sep 25, 2008 8:51 pm
Posts: 3
when i pick a output directory. table2CSS converts it fine and it shows great when i do a preview but... when i upload it none of the image show up.

the conversion puts the directory like this

<div class="ts-9-5"><img height="1" alt="" src="file:///D:/@@BRANDON@@/BUSINESS/client%20Websites/Mardon%20Garrison/http/MG_fireworks_nw/spacer.gif" width="23" border="0"></div>

but in actual fact i only need it to be like this:

<div class="ts-9-5"><img height="1" alt="" src="MG_fireworks_nw/spacer.gif" width="23" border="0"></div>

so anyways i have to manually change the code so that it will look in the server rather than locally. is there something im doing wrong?

im on a trial version right now and very close to wanting to purchase this. if this can convert with me not having to manually take off the local directory then i would by it in a heartbeat!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 25, 2008 9:23 pm 
Offline
Site Admin

Joined: Thu Jan 04, 2007 1:57 pm
Posts: 303
Hi Brock,
By default Table2CSS uses "absolute" URLs to ease previewing of converted files. Before uploading to the server you need to convert using "relative" URLs.

To switch to relative URLs do the following:

1. Inside Table2CSS click on the "Settings" tab.
2. Find the "Link type" setting and select "Relative" from the drop-down.

The above two steps will solve the issue with URLs.

Best regards,
Vesselin


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 25, 2008 9:43 pm 
Offline

Joined: Thu Sep 25, 2008 8:51 pm
Posts: 3
Hey there. thanks for your help.

i checked the settings and there is no "link Type"

i have version 2.8.2

also i realized that when i did convert it it was not able to convert the index page properly. i have an autosize iframe which loads underneath a flash banner. and it didnt seem to convert that properley.

i know that it can be done because i paid a guy to manually do it and he converted it rather quickly.

Brock

ps thanks for helping me out.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 25, 2008 9:46 pm 
Offline

Joined: Thu Sep 25, 2008 8:51 pm
Posts: 3
here is the original htm code with tables...which works great. can your program properly convert that to CSS?

thanks alot for your attempt at this.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="JavaScript">
<!--
function calcHeight()
{
  //find the height of the internal page
  var the_height=
    document.getElementById('content').contentWindow.
      document.body.scrollHeight;

  //change the height of the iframe
  document.getElementById('content').height=
      the_height;
}
//-->
</script>

<link rel="shortcut icon" href="favicon.ico" >

<title>Mardon & Garrision</title>
<meta name="title" content="At Mardon & Garrison Insurance Brokers Ltd, we are Insurance Specialists, dedicated to providing professional service for all your insurance requirements! We are a Full Service Brokerage with multiple offices in the Lower Mainland of British Columbia. Our staff are fully qualified and experts in their fields.
>

<meta name="keywords" content="still need 20 keywords, ">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {
   background-color: #005180;
}
td img {display: block;}
td img {display: block;}


.style1 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 11px;
   color: #FFFFFF;
}
a:link {
   color: #CCCCCC;
   text-decoration: none;
}
a:visited {
   text-decoration: none;
}
a:hover {
   text-decoration: none;
   color: #FFFFFF;
}
a:active {
   text-decoration: none;
}
body,td,th {
   color: #CCCCCC;
}
.style2 {color: #CCCCCC}
.style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #CCCCCC; }
</style>
</head>

<body>
<div align="center">
  <table border="0" cellpadding="0" cellspacing="0" width="1210">
    <!--DWLayoutTable-->
    <!-- fwtable fwsrc="MG_prefireworks_new.png" fwbase="MG_prefireworks.gif" fwstyle="Dreamweaver" fwdocid = "1684325611" fwnested="0" -->
    <tr>
      <td width="19"><img src="MG_fireworks_nw/spacer.gif" width="19" height="1" border="0" alt="" /></td>
      <td width="18"><img src="MG_fireworks_nw/spacer.gif" width="18" height="1" border="0" alt="" /></td>
      <td width="1132"><img src="MG_fireworks_nw/spacer.gif" width="1132" height="1" border="0" alt="" /></td>
      <td width="18"><img src="MG_fireworks_nw/spacer.gif" width="18" height="1" border="0" alt="" /></td>
      <td width="23"><img src="MG_fireworks_nw/spacer.gif" width="23" height="1" border="0" alt="" /></td>
      <td width="4"><img src="MG_fireworks_nw/spacer.gif" width="1" height="1" border="0" alt="" /></td>
    </tr>
    <tr>
      <td height="431" colspan="5" valign="top" bgcolor="#014F7F"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1210" height="431">
        <param name="movie" value="MG_banner_shorter.swf">
        <param name="quality" value="high">
        <embed src="MG_banner_shorter.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1210" height="431"></embed>
      </object></td>
    <td><img src="MG_fireworks_nw/spacer.gif" width="1" height="431" border="0" alt="" /></td>
    </tr>
    <tr>
      <td rowspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td rowspan="2" valign="top" bgcolor="#E5E0DD"><img name="MG_prefireworks_r3_c2" src="MG_fireworks_nw/MG_prefireworks_r3_c2.gif" width="18" height="300" border="0" id="MG_prefireworks_r3_c2" alt="" /></td>
      <td height="19" valign="top" bgcolor="#E4E1DC"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td rowspan="2" valign="top" bgcolor="#E5E0DD"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td rowspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td><img src="MG_fireworks_nw/spacer.gif" width="1" height="17" border="0" alt="" /></td>
    </tr>
    <tr>
      <td height="300" colspan="0" valign="top" bgcolor="#E5E0DD"><iframe width="1132" iframe name="content" id="content"
   onLoad="calcHeight();"
   src="home.htm"
   scrolling="NO"
   frameborder="0"
   height="0">
  An iframe capable browser is
  required to view this web site.
      </iframe></td>
    <td><img src="MG_fireworks_nw/spacer.gif" width="1" height="300" border="0" alt="" /></td>
    </tr>
    <tr>
      <td colspan="5"><img name="MG_prefireworks_r4_c1" src="MG_fireworks_nw/MG_prefireworks_r4_c1.gif" width="1210" height="73" border="0" id="MG_prefireworks_r4_c1" alt="" /></td>
      <td><img src="MG_fireworks_nw/spacer.gif" width="1" height="73" border="0" alt="" /></td>
    </tr>
  </table>
</div>
</body>
</html>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 25, 2008 10:19 pm 
Offline
Site Admin

Joined: Thu Jan 04, 2007 1:57 pm
Posts: 303
Hi Brock,
1. The name of the setting is "Preferred link type".
2. As to the incorrectly converted index page - can you please email me a copy of that index page accompanied by all the additional image files and the flash file too. Please send the files to support@table2css.com
I would like to take a look at that page to see why it wasn't converted correctly.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron