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.

althanis

Members
  • Joined

  • Last visited

  1. althanis replied to Superdwayne's topic in Frontend
    Shame on you for stealing the pictures from the Viget Extend website. http://www.viget.com/extend
  2. I'm using mootabs to hide and show some tabs, and I need to have one set of tabs nested within another set. Out of the box this isn't possible. I was wondering if someone would be able to help me sort out the javascript so I can get it working? Thanks.
  3. Hey Jazzy, with respect to your first question, you would not normally apply padding to regular divs that you're using for layout purposes. To prevent elements within the div from butting up against the sides of their containers, you would apply left and right margins to those elements (like paragraphs, unordered lists, etc.). Paddings would also give you a similar effect, but margins are better. Not sure what you're trying to ask in your second question though.
  4. You could also do padding: 5px; And that will apply a 5px padding to all four sides. Try as much as you can to use shorthand CSS to cut down on the sizes of your CSS files and make them more readable.
  5. That was very clever, it worked, thanks a lot! However for IE7 I had to remove the position static from: ul#topnav li:hover, ul#topnav li.hover { position:static; } to get it to work. I had to use that to overcome an IE7 bug that stops the drop downs from hiding after the focus is changed on the page, so I'll have to go look for an alternative.
  6. Thanks for the suggestion Elan, but I'm already using Eric Meyer's reset. Changing the value to left: 5px makes all of the nested UL's appear 5px to the left of their parent container, so they're all dropping down at the far left of the horizontal navigation bar.
  7. I can't say enough of Eric Meyer's reset, you should really use it. While you'll have to add margins and paddings for every element that you'll have to use eventually, it makes those settings consistent across all browsers so you'll have very few problems when it comes to layout and alignment issues between browsers like FF and IE. So in the long run it is definitely worth it. And using * also targets your forms and resetting paddings and margins there is not really necessary.
  8. althanis replied to kam2701's topic in Frontend
    Hey, I had a very similar problem at one point and used this to write some css to target only Safari, it should be exactly what you're looking for: http://rafael.adm.br/css_browser_selector/
  9. Hey Guys, I'm using the Sons of Suckerfish to create a single level dropdown menu for a site and it's working perfectly in Firefox and Safari. However the dropdown items are not appearing directly below navbar items when hovered in both IE6 and IE7, they are appearing more toward the top and to the right. Any idea on how to fix this? I cannot post a direct link to the site for privacy reasons, but I'll provide the code and kindly ask for you help all the same: ul#topnav { padding: 12px 0 0 30px; margin: 0; list-style: none; } ul#topnav li ul li a { display:block; width: 10em; } ul#topnav li{ float: left; margin-right:35px; /*to create some spacing between items*/ } ul#topnav li ul{ position: absolute; width: 10em; left: -999em; list-style: none; margin-left: 0; padding:8px 5px 0 0; } ul#topnav li:hover ul, ul#topnav li.sfhover ul { left: auto; } I've used some paddings/margins on some elements to align them properly and give them some breathing room. Thanks for reading, I'd appreciate any help!

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.