Fork me on GitHub
#reagent
<
2018-02-13
>
justinlee03:02:39

thanks @mikethompson! ask and you shall receive 🙂

mikethompson11:02:40

@faxa Okay, so that question has a massive answer. It sounds like you need to understand CSS?

mikethompson11:02:34

hiccup is just a data structure representing HTML

mikethompson11:02:54

Yes, and it is a very big manual

mikethompson11:02:08

How to position/size HTML elements

mikethompson11:02:50

hiccup is a way of describing what HTML you want. Sizing and positioning in HTML is controlled by style attributes on the elements

mikethompson11:02:19

and by the class of the elements

mikethompson11:02:42

So you need to learn about: (1) HTML (2) styling HTML (3) CSS

mikethompson11:02:19

hiccup is just a way of saying what HTML/styles/CSS you want

mikethompson11:02:07

My guess is that you need to start by doing some basic courses on the above. Get HTML basics right first, then understand how you can use hiccup to create the HTML you want. There's a ton of courseware on the Internet.