Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
看起来好像 p-tag 的“背景”在图像后面。例如,请参见此处图像顶部带有内容 Projektnamn 的 t-tag:
http://dev.nuagency.se/illustrators/beata-boucht/
给position:relative你的P标签。像这样写:
position:relative
P
.mygallery p { background: none repeat scroll 0 0 white; color: black; margin: -50px 0 0; padding-left: 10px; position: relative; text-transform: capitalize; }