3 ms·
That's some interesting points you are making. Just one question: > The basic structure of the page should be simple div based layout enhanced with CSS. Any da
by S4M 12y ago
That's some interesting points you are making. Just one question:
> The basic structure of the page should be simple div based layout enhanced with CSS. Any data that must be rendered in JS ( such as dynamic tables ) can be done by outputting the data in JSON format into the page, and then calling the JS to construct the table. This is faster than adding a calling to a JSON resource to get the data for the table. It allows data and page structure to be sent to the frontend all at once.
In html/css are you able to position an element on the page exactly where you want? I am doing at the moment some web development for maths exercises, and I couldn't manage to get the positioning right with pure html/css, so I had to resort to:
$("#my_element").offset({"left":x,"top":y});
The positioning I want is something non trivial because the elements are positioned with respect to each other.
I am just nitpicking here, on overall I think your comment is very informative.