Tables In VSD - Post ID 139784

User 430879 Photo


Registered User
6 posts

Please, I am having great difficulty importing tables from spreedsheets or word docs, microsoft and others liberally use style sheets and I can't seem to make them work in VSD's HTML insertion tool, so how about a table import tool which will imprt an XLS file into a basic table, which can them be cosmetically manipulated as regards color, borders, text formating etc...

No that would be a great addition to VSD
User 122279 Photo


Senior Advisor
14,651 posts
Online Now

There is no such import feature now, and I don't know if this will be considered for an update.

You can use external style sheets that you link to in VSD, just put this bit of code in the head section:

<link rel="stylesheet" type="text/css"
href="style.css" />

The href="style.css" has to be replaced by the url to your style sheet.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2106911 Photo


Registered User
6 posts

Maybe it's been answered in another thread; however, notice that many of these threads are just left hanging and no answer. Not sure why that happens because these threads are where we get a lot of answers rather than waiting for Support. Anyway... to answer your question about a table in VSD where no method in the menus... This worked for me so far.

- Open MS Word and create your table as you want it to look in VSD. Add color, shading, whatever.
- Save the file as an HTML file (XML does not work so far) with MS Word (probably will work in MS Excel as well as others).
- Close the file.
- Open your browser (IE, Firefox, Chrome, etc)
- Go to File>Open File and locate the file in which you designed the table.
- Click to open the file and you should then see your table in your browser.
- Go to View>Page Source (Firefox); View>Source (IE); or click on the picture of the wrench in the top right hand corner then Tools>View Source (Chrome). You should now see your file in HTML.
- Click on Select All and then Copy.
- Now go to VSD and click on HTML Tool and the HTML box will open.
- In the larger portion (not the single text line) right click and click Paste.
- Text you copied should now show up in the larger portion of the HTML box.
- Click OK and you will get a place holder showing up on your page.
- Position it where you want it and then click on Preview.

If you did all the steps correctly and VSD is not misbehaving (I've got stories for this one) then you should see the table on your web page. You cannot (or so far I cannot) adjust the size of the table once it is on the page (unless one edits the HTML) so make sure before you complete it in MS Word that it is the size and look you want. If not, then I don't know. I'm as frustrated as you sometimes :).

If this doesn't work the alternative is to grab a screen shot of your table and place it on your web page as a JPEG of whatever. Suggest this as a last resort.
User 38401 Photo


Senior Advisor
10,951 posts

Although it is helpful information that you added, you are aware you answered a 2 year old post right? I'm guessing the answer that Inger gave was sufficient or the person would have posted a reply. Most of the time the threads that are left are because the person went to support for answers and never came back to tell us that they got an answer. And there are a few threads that just get lost in the wind I guess, but not much of that lately I assure you.

Other than that, nice write up I'm sure there will be people finding that very helpful :)
User 2106911 Photo


Registered User
6 posts

Yes, did notice that the post is about 2 1/2 years old and was wondering why. Did anyone have any questions about tables between then and now? Also noticed it was answered on April Fool's Day. :) If everyone goes to Support and there is nothing posted here in the Forum suspect Support spends a lot of time giving the same answers. Although Support seem to be very nice people and all, thought I'd give Support some support as I'm sure I'm not the only one with this table problem. My support for Support comes out of frustration that I cannot find the answers I need in the Forum so must wait for Support--although Support is somewhat faster here than in some other places.. If it's here, even though the post is over 2 years old, I can get the answer I need and be on my way a happy camper with not a moment of delay. I've even used info from posts that are more than 3 years old.
User 38401 Photo


Senior Advisor
10,951 posts

hehe I know what you mean, I too have found lots of info here, and the support people at CC are definitely top notch and much faster than most support channels I've ever dealt with.
User 322842 Photo


Registered User
209 posts

Just an update to David's post,
if you're using Open Office (much better than Microsoft Office - my humble opinion) you will "export" to an XHTML file instead of "saving" as an html file.
Than follow the rest of David's instructions.
Accept, when you come to the copy part, you'll start coping the code at the "<style type="text/css">" line.

Works great.
User 162331 Photo


Registered User
2 posts

Thanks for starting this thread again David

I've been searching for the answer to insertion of table & spreadsheet & your answer is much appreciated.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.