How to export Excel spreadsheet to HTML table with INLINE CSS? -


i'd know how table in spreadsheet html format without microsoft specific code. our webpage hosted elsewhere means don't have access <head> part of our pages. can insert content <body>. want table retain same fonts, borders , formatting , css styling included directly in table code not elsewhere.

edit:

it appears work if put css classes in <body> of document. legal? thought supposed defined in <head>???

<body> <style type="text/css"> table.mytable { border: 1px solid #ccc; font-family: verdana, verdana, geneva, sans-serif font-size: 12px; }  

edit:

i have found copying in excel , pasting live view in dreamweaver creates cleaner html saving html in spreadsheet. still left bajillion css classes have edit out it's @ least it's step closer.

if error message whilst pasting large table in dream weaver see this page.

final edit:

before export table html editor go through of cells in table format painter. using tool make sure paint format of every formatted cell. way won't million different css classes cells should have particular format. make life hell of lot easier particularly if table large , detailed.

it not "illegal" place style codes on body, defenitly not web friendly

what usualy goes in head pointer .css file

i recomend convert xls(x) file dreamweaver , edit html result sublime text editor available here


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -