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.

champ

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    champ reacted to Jack in DIV tags   
    This ^
     
    If a section is unique then there's no need to apply a class.
     
    I often use a combination of ID's and classes and re-use a lot of styles to prevent repeating my code when it's not necessary. For example <div id="" class="">. It makes your code a lot easier to maintain.
  2. Like
    champ reacted to Alluziion in DIV tags   
    I talked about this yesterday on this thread: http://www.webdesignerforum.co.uk/topic/68022-noob-alert-selecting-a-certain-a-tag-in-a-list/
     
    In short - why use IDs instead of Classes for unique elements? Because it's more semantic to do so and IDs are required for Javascript interaction.
  3. Like
    champ reacted to Alluziion in DIV tags   
    A DIV is just a container with the default shape of a box (a square or rectangle depending on the given width and height).

    They are used to contain various sections of your website such as a product. You could have the name of the product, an image, a description as well as a rating all included within the DIV like this...
    <div> <h3>Product Name</h3> <img src="path.jpg" alt="product image"> <p>Description of Product</p> </div>  
    That DIV contains all that information so if you wanted to move it all then you would just move DIV (the container that groups everything that's nested within).
     
     
    I think you've got DIVs mistaken with IDs...

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.