I come from a web development background and I am used to apply CSS styles to HTML tags in order to position and shape them. In LaTeX I constantly find myself trying to think in terms of CSS and of how things are 'supposed' to float, move, or expand as I play around with content and style. However, my preconceived notions that come from this CSS knowledge often give predict the outcome poorly. I find myself generating PDFs frequently in order to understand how new code impacts the result. Surely I am unable to let go of particular ideas, but I just find that LaTeX floats boxes very oddly, and thatit is very difficult to put things in my position of choice.
The question is: can someone who was also used to work with CSS explain common pitfalls and suggest ideas for thinking differently about LaTeX and making things make 'more sense'?
<tr>and<td>tags of an HTML table which, very roughly(!), correspond to the horizontal and vertical modes of TeX box stacking. – percusse Aug 19 '15 at 22:23