XF 1.2 Differences between the Borders

Amaury

Well-known member
  • All
  • Top
  • Right
  • Bottom
  • Left

On a default XenForo style, I'll see, like, top and left customized, top, left and right, customized, all and left customized, etc.

What exactly is the difference between these? I feel like it's talking about horizontal and vertical lines, but I feel like it's a bit more complicated than what I'm thinking.
 
Four sides of a box. Each side can have a different definition.

That's what I thought and basically knew, but my question below is why I asked this:

So "All" controls all sides. So, then, how come I see some of the default style properties with, for example, all, left and right customized?
 
You usually do that when you want the "right" border to overwrite what "all" is doing. Sometime it easier to use all and put "none" for the Right border if you do not want a right border.
 
Back
Top Bottom