January 6, 201313 yr hi everyone, working on my new portfolio page, and i have an idea in my head but it doesnt seam to look right the way i have coded it. the problem is that i have the skills used on recent websites ive created in rounded boxes, i can get them to pad out to the right, but once i have too many skills and they have to drop down to the next line, they just overlap each other. i have tried using margin's to stop this but it doesn't seem to be working. also after one portfolio section, i have another one directly under it, but i want spacing between them, i have tried the <br /> and margin bottom again. but it just sits on top of the first portfolios skills. the problems can be viewed at www.davidcolligan.com/portfolio2.html any advice or help would be much appreciated thanks collie
January 6, 201313 yr Try using a list instead of paragrapphs and then add a float rule <ul class="portBtn"> <li>CSS</li> <li>HTML</li> <li>PHP</li> <li>photoshop</li> </ul> .portBtn li { /*removed diplay:inline*/ font-size: 10pt; font-family: georgia; font-weight: bold; color: white; text-transform: uppercase; text-shadow: 2px 2px 2px black; background-color: #0E7FF4; padding: 10px 10px 10px 10px; -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; -moz-box-shadow: 5px 5px 2px #232323; -webkit-box-shadow: 5px 5px 2px #232323; box-shadow: 5px 5px 2px #232323; margin: 10px 5px;/*added margin*/ float: left;/*added float^/ }
Create an account or sign in to comment