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.

Konnor

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Konnor reacted to DigitalSquid in Refresh javascript after browser resize?   
    function equalHeight(group) { tallest = 0; group.each(function() { thisHeight = $(this).height(); if(thisHeight > tallest) { tallest = thisHeight; } }); group.height(tallest); } $(document).ready(function() { equalHeight($(".column")); }); window.onresize = function(event) { equalHeight($(".column")); }
     
    That should do it. Not sure why you would want to though, the chances of someone re-sizing their browser while viewing your site are almost 0.
  2. Like
    Konnor got a reaction from Kirk Freeman in Is it too late to start web development at 21?   
    Too old? Never too old to do what you want with your life.
     
    I remember the days when I was a spritely 21 year old. I shall be requesting a pipe and slippers for my upcoming 27th birthday.
  3. Like
    Konnor got a reaction from D.Schuster in Web design elements that anger you   
    Stupid stock imagery that depict people much happier and more successful than myself.
  4. Like
    Konnor got a reaction from hodephdesign in Web design elements that anger you   
    Stupid stock imagery that depict people much happier and more successful than myself.
  5. Like
    Konnor got a reaction from oakleaves in Web design elements that anger you   
    Stupid stock imagery that depict people much happier and more successful than myself.
  6. Like
    Konnor reacted to Dissident in Centering a background image in a nav bar   
    Hi there!
     
    To do this, you need to change the styling to:
     

    .webDesign { background: url('../img/screenMini.png') 23% 50% no-repeat; } .webDevelopment { background: url('../img/gear.png') 13% 50% no-repeat; } .iPad { background: url('../img/calculator.png') 16% 50% no-repeat; width: 314px; }
     
    You might want to edit the first % values to your liking. But don't touch the 50% values, there the ones that keep the image in the middle of the height specified.
     
    Hope this helps!
  7. Like
    I have to say I don't actually know the exact differences however I tend to think of it in terms of soft/hard.
     
    Without display:block the menu item's edges are 'soft' and not enforced. The other elements can shift them about to make room for themselves, so they do, in this case shifting everything down until it bumps into the next 'hard' element. Which is the text itself.
     
    The reason the green area is dropping down behind the red menu items is, I think, because the menu items are floated left. In terms of page structure the green area is completely ignoring the height of the red elements. That height:50px (Or whatever it is) is not being listened to because of the float. It IS still being visually represented though.
     
    With display:block you are telling the red menu item to enforce it's borders essentially. That if it's 50px high and contained inside an element it'll make sure it has 50px of height. If it has padding on either side of the text it'll push adjacent elements out the way until it gets its 15px of padding.
     
    Some elements are soft by default, others are hard. <h1><h2> etc are hard. <span><li> are soft.
  8. Like
    Display block basically means you can set exactly a width height, padding, margins etc... Display inline means the content will kind of flow and do it's own thing based on font, line-height, and different browsers will do slightly different things. Display inline-block is a happy in-between sometimes!

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.