mr_pseudonym — 2014-06-23T00:36:17-04:00 — #1
Hello. I hope that you are happy and well.
The nice Sitepoint book that started me on all this recommended that I have borders around all my divs while working, so I can see where things are. Which I think is a good idea and I like to do it. But some divs just refuse to display borders, and I can't find anywhere any kind of listings of what kinds of things would prevent a border from appearing. The css in the border-showing and non-border-showing categories looks the same.
What are the things that would make this happen?
ralphm — 2014-06-23T01:45:24-04:00 — #2
It would be better if you could post an example of this happening. Then we could tell you in a jiff. It sounds like an odd problem—more of a coding error.
webcosmo — 2014-06-24T17:28:15-04:00 — #3
maybe you also have a border:0 style in your css ? or border:none, something .. ? Only that would prevent it from appearing. Sometimes when i want to see the exact dimension of a div i just attribue a background color to it, better than a border that increases the size of the div.