Ayama
Enthusiast
Okay, trying to learn BBCode from scratch is clearly a painful process, so I apologize in advance for the idiocy of the following questions- particularly if the answers are already floating around here somewhere and I just somehow missed them.
From what I can gather, whereas creating boxes or containers in BBCode+ was done with divs, in regular BBCode it is done either with
or with
I wanted to try a simple experimental layout, just to make sure I at least had the basics covered, and immediately started encountering problems.
The idea was to make one large container centered left to right on the page, with two smaller containers inside it side by side.
The large container followed the width definition just fine, but didn't follow the one for height until I added the transparent value- why is that?
Then once I put the smaller container inside the larger one, there were somehow top and left margins already in place, but since I did not code them I have no idea what their value is, which means that to offset them on the bottom of the container requires a bunch of trial and error, and I figured there had to be a better way to do this than eyeballing it pixel by pixel. So where did these margins come from and how can I replace them with margins of my own?
What it looks like so far:
From what I can gather, whereas creating boxes or containers in BBCode+ was done with divs, in regular BBCode it is done either with
Code:
[border][/border]
Code:
[bg][/bg]
I wanted to try a simple experimental layout, just to make sure I at least had the basics covered, and immediately started encountering problems.
The idea was to make one large container centered left to right on the page, with two smaller containers inside it side by side.
The large container followed the width definition just fine, but didn't follow the one for height until I added the transparent value- why is that?
Then once I put the smaller container inside the larger one, there were somehow top and left margins already in place, but since I did not code them I have no idea what their value is, which means that to offset them on the bottom of the container requires a bunch of trial and error, and I figured there had to be a better way to do this than eyeballing it pixel by pixel. So where did these margins come from and how can I replace them with margins of my own?
What it looks like so far: