CSS border bottom putting it at the top
We have a style in our theme stylesheet that was
border-top: 2px blue solid;and I changed it to
border-bottombut it still showed at the top and the div was collapsed even though everything inside it should have expanded it. Here’s an example:
<div style="border-top: 2px blue solid"> <a style="float: left" href="/blah"><img src="/blah/image.png">Blah</a> <div style="margin: 0px; padding: 10px; float: left; width: 320px"> <a href="/some other link">Some Other Link</a> <p style="height: 36px; overflow: hidden; line-height: 16px; padding-top: 5px">Tips on Stuff.</p> </div> </div>
I had a hard time finding a good CSS forum, so can anyone advise on this and recommend a good forum?
- The topic ‘CSS border bottom putting it at the top’ is closed to new replies.