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.

Some help with HTML

Featured Replies

Hello

 

I am new to coding and I find it really hard to watch through long videos learning stuff I can some html and I feel like I always start over again.. but I have occurred a problem, you may know how to code or make this

 

If you look to the right I need a menu like this, but I have totally no idea how to make it. Someone told me this, but still I want images like on the picture. Thank you for all help!

 

You can use a UL element to create a list.

Code:
<ul>
<li>List Item One</li>
<li>List Item Two</li>
</ul>

 

61AnJFK.png

have you used any CSS styling?

 

<style>
ul
{
width:300px;
list-style:none;
}
ul li
{
padding: 10px 10px 10px 10px;
float:left;
width:100%;
border-bottom:1px solid #f2f2f2;
}
ul li:hover
{
border-left:2px solid blue;
cursor:pointer;
}
</style>
<ul>
<li>List Item One</li>
<li>List Item Two</li>
</ul>
you can play around with it here http://scratchpad.io/parched-sound-2670

Edited by inlinedivblock

I'll also add - may be a little advanced you right now as somebody very new to this, but that kind of menu can - and should be done without images, you can use CSS to style the elements to give them the appearance in the image you posted. Properties like border-radius, box-shadow and many more can be used to change the appearance of elements.

Css is better than images due to speed. a CSS alternative will keep http requests down along with less data to download.

  • Author

I'll also add - may be a little advanced you right now as somebody very new to this, but that kind of menu can - and should be done without images, you can use CSS to style the elements to give them the appearance in the image you posted. Properties like border-radius, box-shadow and many more can be used to change the appearance of elements.

Css is better than images due to speed. a CSS alternative will keep http requests down along with less data to download.

 

 

have you used any CSS styling?

 

<style>
ul
{
width:300px;
list-style:none;
}
ul li
{
padding: 10px 10px 10px 10px;
float:left;
width:100%;
border-bottom:1px solid #f2f2f2;
}
ul li:hover
{
border-left:2px solid blue;
cursor:pointer;
}
</style>
<ul>
<li>List Item One</li>
<li>List Item Two</li>
</ul>
you can play around with it here http://scratchpad.io/parched-sound-2670

WOW!!

 

How can I thank you enough? This is really awesome and solid high quality comment! Thank you very much!

A comment like this gives me a really good first impression of this website! I will surely stay on here to learn!

 

Thank you again!

  • Author

I have one more question if you could answer, I am trying to make it when I click there comes text on the right like on the picture and when I click on another another next comes

 

I understand if you can't answer

 

Thank you in advance!

The fundamentals that you are looking for are well covered in this basic online tutorial for beginners - Codecademy.

 

Have a work through a few of their tutorials, I am sure you will find them quite useful, but don't forget to check the notification settings to avoid loads of unwanted mail.

Nice Thread dear, i enjoy it and get useful information,, Thanks for it. :santa_cheesy:

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.