• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Differences between the Borders

Amaury

Well-known member
#1
  • 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.
 

Amaury

Well-known member
#3
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?
 

Steve F

Well-known member
#4
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.