Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm playing with this question: here and here


cellExpression1 = Cell[BoxData[ToBoxes[im]], "Text", Background -> Yellow];

cellExpression2 = Cell["<ul class=\"InlineText\">\n    {% for post in site.posts \offset: 0 limit: 25%}\n      <li><time datetime=\"{{ post.date | \date: \"%Y-%m-%d\" }}\">{{ post.date | date_to_string }}</time> \&raquo; <a href=\"{{ post.url }}\">{{ post.title }}</a></li>\n    {% \endfor %}\n</ul>", "Text", PageWidth -> 500,    CellMargins -> {{50, 30}, {50, 0}}, Background -> Blue];

cellExpression = Cell[BoxData[GridBox[{{cellExpression1, cellExpression2}}]],      "Text", Background -> Red];cellExpression // CellPrint
  • question1:

pagewidth doesn't work well. I'm tring to make my codes(cell2) into one fixed region, I've tried control the fixed region by CellMargins..

It seems GridBox remove the options of cell1 and cell2.

  • question2:

cell1 and cell2 doesn't align by center horizontal line, how to do that?

enter image description here

share|improve this question
Hello again :P You have got many unanswered questions. Have you found solutions/workarounds? If so, please consider selfanswering :) –  Kuba Mar 19 at 18:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.