I found that the ItemSize setting will no longer work properly when converting the output cell to HTML format.

enter image description here enter image description here


Note: I want to convert the cell generated by Grid to HTML format with content is in text format not gif.

As cormullion showed in the answer, when the output content is gif pictures in HTML file, they look good.

  • $\begingroup$ The other version of your question on Stackoverflow is probably better. It's not clear here whether you want a reason, think it's a bug, or want a solution. $\endgroup$
    – cormullion
    Mar 30, 2013 at 17:26

1 Answer 1


I'm still not clear what you're looking for, but, with a slightly modified version of the code (from your web page):

list = DictionaryLookup[x__ /; x == StringReverse[x]];


col = Column@Riffle[
    Background -> RGBColor[RandomReal[{0,1}, 3]],
    FrameMargins->2] & /@ list,
    TableForm[#, TableSpacing->{2,5}], 
    Background -> RGBColor[RandomReal[{0,1}, 3]],
    FrameMargins->2] & /@ (WordData /@ list)];

Framed[col, Background->Lighter@Pink]

On the left is Mathematica, on the right is the HTML page. I think they did a pretty good job.

two windows

  • $\begingroup$ Hi, cormullion, I've modified the question and the question is concise now. $\endgroup$ Aug 8, 2018 at 10:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.