Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

css help positioning boxes

Featured Replies

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.