[Tex/LaTex] How to understand LaTeX styling when coming from a CSS background

cssfloatspositioning

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'?

Best Answer

Hope it can help,

Mainly, we are talking about completely different things here, the main difference being pages.

When you talk about LaTeX, you are really thinking in printing your work in paper (or at least a PDF), but in CSS, it is a fluid bunch of objects floating in the web page

Please take a look at this article

Related Question