Forum Moderators: not2easy
.mystyle ul li a:last-child {
border-bottom: 0 none;
}
.mystyle ul li:last-child {
border-bottom: 0 none;
}
if you do not supply sufficient code for members to replicate your
problem, how on earth can you expect members to resolve it? :(
Come on, concentrate, help us to help you. :)
.mystyle ul li a:last-child {
border-bottom: 0 none;
} .mystyle ul li:last-child {
border-bottom: 0 none;
}
"I keep trying to find the source post of your "quotes"...."
If you are referring to my previous post, then I would like
to point out that I did not use the BBCode for "quote".
In fact, I used the BBCode for "indent" which I find helps
to give the rather bland "Webmaster World.com" posts
a little bit of panache.
If I happen to use the BBCode for "quote" then I make
a point of styling it so that it's nature is fully revealed.
If this explanation does not allay your indignation, then I
would suggest that you take this complaint of yours to
the forum's administrators.
In fact, I used the BBCode for "indent" which I find helpsWhere “panache” means “make them look identical in every way to [ quote ] markup”? File under: You Keep Using That Word.
to give the rather bland "Webmaster World.com" posts
a little bit of panache.
.mystyle ul li a:last-child
and .mystyle ul li:last-child
mean different things, and it's important to understand what each one means.
<style type="text/css">
.blog aside li a {
font-size: 1.6rem;
color: #000;
</style>
}
<aside class="blog">
<h3 >Top events</h3>
<div>
<div class="">
<ul>
<li><a href=""></a></li>
<li><a href=""></a></li><!-- Last item -->
</ul>
</div></div></aside>
<li><a href=""></a></li><!-- Last item -->
.mystyle ul li a:last-child {
border-bottom: 0 none;
}
.mystyle ul li a:last-child {
border-bottom: 0 none;
} <div class="">mean
border-bottom: 0 none;intended to mean? A border declaration consists of up to three pieces: width, style, color. If you mean “no border” it is generally sufficient to say “border-bottom: none” though sometimes you may need to say “border-bottom-style: none” and, if all else fails, replace “none” with “hidden”.
this is a quote from toplisek's post
"I will post also HTML code and made mistake."
this is not a quote by birdbrain
Unfortunately, you still have not supplied sufficient
code to replicate your problem. :(
The CSS that you have posted does not actually
indicate the initial setting of the border which you
are, unsuccessfully, trying to partially remove. ;)
This is a quote from lucy24's post
"Where in the CSS do you set the border-bottom in the first place?"
This is just a repeat of requests that I made to toplisek days ago. :(
Did you, perchance, overlook them? ;)
To save you the time of trying to find them among the multitude of
guesses at a solution to this puny problem which have been posted,
I will simply remind you here below...
This is a quote from birdbrain's post - 2:06 pm on Oct 17, 2018 (utc 0)
"if you do not supply sufficient code for members to replicate your
problem, how on earth can you expect members to resolve it? :(
Come on, concentrate, help us to help you." :)
This is a quote from birdbrain's post - 6:13 pm on Oct 19, 2018 (utc 0)
"Unfortunately, you still have not supplied sufficient
code to replicate your problem. :(
The CSS that you have posted does not actually
indicate the initial setting of the border which you
are, unsuccessfully, trying to partially remove. " ;)
This is a quote from tangor's post
"I think birdbrain likes little boxes." :)
Is that just an observation or do you have a
genuine objection to my method of posting?
This is a quote from tangor's post
"Like lucy24 there's not enough info on what the OP
actually wants to accomplish."
I think that you are confusing lucy24 with birdbrain. :(
It was I, who first pointed out the O.P.'s total lack of
information in reply #4 of this thread .
<!DOCTYPE HTML>
<html>
<head>
<title>Last child testing</title>
<style type="text/css">
body {
font-family: serif;
max-width: 50em;
padding: 1em 0 0 1em;
line-height: 1.4;
}
aside :first-child {
color: orange;
}
aside.tags ul li a {
font-size: 0.75em;
font-style: italic;
border-bottom: 1px solid #666;
}
aside.tags ul li a:last-child {
border-bottom: 0;
}
</style>
</head>
<body>
<aside class="tags">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<div class="sidebar">
<ul>
<li><a href="https://www.xxx.html"></a>Link1</li>
<li><a href="https://www"></a>Link2</li>
<li><a href="https://www"></a>Link3</li>
</ul>
</div>
</aside>
</body>
</html>
to be sure, to be sure, here is the code that needs to be applied...
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1">
<title>Last child testing</title>
<style>
body {
font-family: serif;
max-width: 50em;
padding: 1em 0 0 1em;
line-height: 1.4;
}
aside p:first-child {
color: orange;
}
aside.tags ul li a {
font-size: 0.75em;
font-style: italic;
border-bottom: 1px solid #666;
text-decoration: none;
}
aside.tags ul li:last-child a {
border-bottom: 0;
}
</style>
</head>
<body>
<aside class="tags">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type
specimen book.
</p><p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type
specimen book.
</p>
<div class="sidebar">
<ul>
<li><a href="https://www.xxx.html">Link1</a></li>
<li><a href="https://www">Link2</a></li>
<li><a href="https://www">Link3</a></li>
</ul>
</div>
</aside>
</body>
</html>
aside ul li a {
font-size: 0.75em;
font-style: italic;
text-decoration:underline; /*this adds the text-decoration back for the case where it was previously set none, if this isn't the case then this line is not needed.*/
}
aside ul li:last-child a{
text-decoration:none;
}