rowfei
asked on
List-style-potsition
I have difficulties to display the bullet points in side on my webpage.
I have added the codes below to the CSS file:
ul.a {list-style-position:insid e;}
Codes below in the html:
<ul class="a">
<ul class="a"><ol class="cms-decimal-bullet" start="1">
<li><span style="font-size: small;"><strong> Stan dard Overnight Express*</strong> ser vice with guaranteed 1 day delivery by 5 pm the next business day in all 50 states for a flat rate of <strong><span style="text-decoration: underline;">$20.00</span>< /strong>. (Note: No Saturday / Sunday delivery.)</span></li>
<li><span style="font-size: small;"><strong> Expr ess Saver 3 Day</strong> service with guaranteed 3 business day delivery anywhere in the 48 contiguous states for a flat rate of <strong><span style="text-decoration: underline;">$15.00</span>< /strong>. (Note: No Saturday / Sunday delivery.)</span></li>
<li><span style="font-size: small;"><strong> USPS Express Mail </strong><strong>service with guaranteed</strong><strong > </strong>overnight delivery to most U.S. locations for a flat rate of <strong><span style="text-decoration: underline;">$17.00</span>< /strong>.< /span></li >
But the web pages still show the bullet point outside. Any idea?
Thanks,
I have added the codes below to the CSS file:
ul.a {list-style-position:insid
Codes below in the html:
<ul class="a">
<ul class="a"><ol class="cms-decimal-bullet"
<li><span style="font-size: small;"><strong> Stan
<li><span style="font-size: small;"><strong> Expr
<li><span style="font-size: small;"><strong> USPS
But the web pages still show the bullet point outside. Any idea?
Thanks,
ASKER
Sorry, I am really new to CSS.
Should I add the codes below in CSS or html?
ul.a {
list-style-position: inside;
padding: 0; /* ADD THIS */
}
Should I add the codes below in CSS or html?
ul.a {
list-style-position: inside;
padding: 0; /* ADD THIS */
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In the toolbar click the code button and paste your code between the tags.
Also your code is not complete you have two opening <ul>'s and a <ol> but no closing tags for these it is not clear if that is what you intended because you are talking about bullets but this list will display numbers?
I suspect though that adding the following might help
Open in new window