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.

fernando.karpinski

Members
  • Joined

  • Last visited

  1. Hello, everyone. I've been struggling with a vertical CSS menu. The HTML for it is: <ul id="menu"> <li><a href="#" class="link">Home</a></li> <li><a href="#" class="link">Calculations and services</a> <ul> <li>Test 1</li> <li>Test 2</li> </ul> </li> </ul> The CSS for it is currently: #menu { list-style: none; padding: 5px; } #menu li ul { display: none; list-style: none; } #menu li:hover ul { display: block; } #menu li:hover ul li { padding-left: 200px; } .link { text-decoration: none; } The problem is, when I hover the mouse over the item "Calculations and services", the first item in its list is not on the same height as its parent, as shown in the print screen attached. How can I solve this? I tried using position: relative in some of the styles but it didn't work. Thanks in advance.
  2. Hello, everyone. So, I am making a menu inside an .inc file to be included with php: <ul> <li style="background: gold; length: 20">Calculate: </li> <li>Distance Between Two Points</li> <li>A</li> </ul> This, however, makes the whole line that contains the text "Calculate" gold. How do I limit this width? Thanks in advance!
  3. Hello, everyone. I'm still beginning on the field of web design, and I would like to know how do I make a menu with text by its side. I thought about using a menu specified in a file of extension .inc, so that I would include it with php code. But how do I put the menu with text on its side? I thought about using div, but, even if I was right, I think this tag is not supported in some new version of HTML. How should I proceed? Thanks in advance!

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.