CSS中无法显示和移除根节点中的列表项符号(
      ),同时也无法移除overflow-x: hidden的问题
P粉759451255
P粉759451255 2024-04-04 16:38:22
0
1
3561

我当前正在处理网页,但我的列表项遇到了问题。通常出现在每个列表项旁边的点和数字没有显示。另外,当我删除overflow-x:hidden;时在我的 CSS 属性中,列表项数字和点立即显示,但文本始终显示。

**THIS IS THE HTML**  

GETTING STARTED

There are 2 ways to join Fyre Skin Brand Partnership Program.

  1. Join directly from the Fyre Skin website by clicking the link. Register
  2. Join using the link of a brand partner that recommended you and they automatically become you Up-line partner and you their Down-line partner.

If you decide to join, the startup registration is 25,000 Naira with a monthly renewal of 10,000 Naira.

Your monthly subscription gives you access to

  • Your own back office dashboard were you can see your commission, payments, pending payments, bonuses, sales made using your link, clients who bought using your link, team members profile, team members sales and profit and marketing tools .
  • Your own personalise Fyre Skin website that your potential clients can shop with.
  • Your personalised brand partnership link for potential clients .
  • Your personalised Networking link for building your own team.
  • Growth and development training for personal growth.
  • A community of entrepreneurs that you can learn from.

How to get started - For us at Fyre Skin convenience is everything that why we built a website that’s swift and easy to access by both brand partners and clients.

  1. After signing up and creating an account, login into your back office the click copy ‘default brand partners link’. Share your link on social platforms that can be visible potential clients.
    1. Create a target audience
    2. Set a daily goal target that includes number of people and how much he want to make.
    3. Set the amount of times he want to work a week.
    4. Products and services he want to market (optional)

    Target: 40% male, 60% female

    Goals: 4 people a day, ₦50,000 a day

    Work: 4 times a week

    *lets assume Ade already did his homework by attending our webinars, where he learnt how to market like a pro and he already posted his business links on every social platform and uses his online messaging apps.

    DAY 1

    Ade’s target for the day is 4 people and he got 2 men and 2 women.

    MEN

    1st man did deep tissue massage and jelly pedicure

    2nd man never left his house, he just order online 1 ultra shade Creamy gel and 1 Lightening glow milk

    WOMEN

    1st woman did a brightening facials and braided her hair

    2nd woman did a botanical pedicure and botanical manicure

    MEN PRICE WOMEN PRICE
    Deep Tissues massage 12,000 Brightening facials 9,000
    Jelly Pedicure 5,000 Corn row 5,000
    Ultra shade creamy gel 5,000 Botanical pedicure 5,000
    Lightening glow milk 10,000 Botanical manicure 3,000
    TOTAL 32,000 TOTAL 22,000
    OVERALL TOTAL =54,000
    DAY 2

    Ade repeated same target as day 1.

    4 people but this time his message only attracted 4 women who just wanted to do the best friends package and relax themselves.

    WOMEN

    2 best-friends package comprises of 3 services each -

    deep cleansing facials, Swedish massage and botanical pedicure

    WOMEN PRICE
    Best friend package 42,000
    Best friend package 42,000
    OVERALL TOTAL =84,000
    DAY 3

    Same target, same goal. 4 people. Repeated strategy brings repeated results

MY CSS @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); /* Custom color variables */ *{ box-sizing: border-box; } body{ overflow-x: hidden; } :root { --primary: #e67e22; --secondary: #16a085; --success: #2ecc71; --danger: #e74c3c; --warning: #F0FF42; --info: #3498db; --light: #f5f5f5; --dark: #2c3e50; } .container { font-weight: 400; } img{ width: auto; border-radius: 1rem; } a{ font-family: 'Roboto', sans-serif; } p{ text-align: left; } button { height: 50px; } .header{ margin-left: 50px; } .sidebar{ background-color: #F0FF42; } .heading-color{ background-color: #F0FF42; } span{ font-weight: bold; } .th{ background-color: #F0FF42; } li{ font-weight: 600; } td{ font-weight: 600;} .total{ text-align: center; } @media (max-width : 450px){ .container{ width: 375px; margin: 2rem auto; } }

我尝试了几种解决方案,例如使用不同的CSS选择器来定位列表项,并且还尝试使用overflow-x:visible;覆盖overflow-x属性。但它让我的网页溢出。我还检查了可能导致该问题的任何其他冲突的 CSS 样式,但我没有找到任何。

P粉759451255
P粉759451255

全部回复 (1)
P粉418351692

列表项的数字和点显示在我的代码片段中。

试试这个:

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); /* Custom color variables */ *{ box-sizing: border-box; } body{ overflow-x: hidden; } :root { --primary: #e67e22; --secondary: #16a085; --success: #2ecc71; --danger: #e74c3c; --warning: #F0FF42; --info: #3498db; --light: #f5f5f5; --dark: #2c3e50; } .container { font-weight: 400; } img{ width: auto; border-radius: 1rem; } a{ font-family: 'Roboto', sans-serif; } p{ text-align: left; } button { height: 50px; } .header{ margin-left: 50px; } .sidebar{ background-color: #F0FF42; } .heading-color{ background-color: #F0FF42; } span{ font-weight: bold; } .th{ background-color: #F0FF42; } li{ font-weight: 600; } td{ font-weight: 600; } .total{ text-align: center; } @media (max-width : 450px){ .container{ width: 375px; margin: 2rem auto; } }
             

GETTING STARTED

There are 2 ways to join Fyre Skin Brand Partnership Program.

  1. Join directly from the Fyre Skin website by clicking the link.Register
  2. Join using the link of a brand partner that recommended you and they automatically become you Up-line partner and you their Down-line partner.

If you decide to join, the startup registration is 25,000 Naira with a monthly renewal of 10,000 Naira.

Your monthly subscription gives you access to

  • Your own back office dashboard were you can see your commission, payments, pending payments, bonuses, sales made using your link, clients who bought using your link, team members profile, team members sales and profit and marketing tools.
  • Your own personalise Fyre Skin website that your potential clients can shop with.
  • Your personalised brand partnership link for potential clients.
  • Your personalised Networking link for building your own team.
  • Growth and development training for personal growth.
  • A community of entrepreneurs that you can learn from.

How to get started -For us at Fyre Skin convenience is everything that why we built a website that’s swift and easy to access by both brand partners and clients.

  1. After signing up and creating an account, login into your back office the click copy‘default brand partners link’. Share your link onsocial platformsthat can be visible potential clients.
    1. Create a target audience
    2. Set a daily goal target that includes number of people and how much he want to make.
    3. Set the amount of times he want to work a week.
    4. Products and services he want to market (optional)

    Target: 40% male, 60% female

    Goals: 4 people a day, ₦50,000 a day

    Work: 4 times a week

    *lets assume Ade already did his homework by attending our webinars, where he learnt how to market like a pro and he already posted his business links on every social platform and uses his online messaging apps.

    DAY 1

    Ade’s target for the day is 4 people and he got 2 men and 2 women.

    MEN

    1st man did deep tissue massage and jelly pedicure

    2nd man never left his house, he just order online 1 ultra shade Creamy gel and 1 Lightening glow milk

    WOMEN

    1st woman did a brightening facials and braided her hair

    2nd woman did a botanical pedicure and botanical manicure

    MEN PRICE WOMEN PRICE
    Deep Tissues massage 12,000 Brightening facials 9,000
    Jelly Pedicure 5,000 Corn row 5,000
    Ultra shade creamy gel 5,000 Botanical pedicure 5,000
    Lightening glow milk 10,000 Botanical manicure 3,000
    TOTAL 32,000 TOTAL 22,000
    OVERALL TOTAL =54,000
    DAY 2

    Ade repeated same target as day 1.

    4 people but this time his message only attracted 4 women who just wanted to do the best friends package and relax themselves.

    WOMEN

    2 best-friends package comprises of 3 services each -

    deep cleansing facials, Swedish massage and botanical pedicure

    WOMEN PRICE
    Best friend package 42,000
    Best friend package 42,000
    OVERALL TOTAL =84,000
    DAY 3

    Same target, same goal. 4 people. Repeated strategy brings repeated results

    最新下载
    更多>
    网站特效
    网站源码
    网站素材
    前端模板
    关于我们 免责声明 Sitemap
    PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!