Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1082259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:16:26+00:00 2026-05-16T22:16:26+00:00

This seems like it would be an easy fix with a Content Editor Web

  • 0

This seems like it would be an easy fix with a Content Editor Web Part to modify the css of the page’s Web Parts. The underline I mean is the long line that leads to the dropdown arrow where the Modify, minimize, close, etc. options are. I have tried this code with no visible results:

<style>
ms-standardheader {text-decoration:none;}
</style>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:16:26+00:00Added an answer on May 16, 2026 at 10:16 pm

    You need to read up about CSS selectors.

    A CSS rule is composed of two parts: a selector and a declaration block.

    Generally, they look something like this:

    selector { declaration block }
    

    Your problem is with the selector, and to understand your error I’ll have to explain some basic selector syntax.

    In the selector you can ‘target’ HTML elements with styles using various constructs:

    • Target by tag name
    • Target by id
    • Target by class name

    Target by Tag Name

    The simplest is targeting by Tag Name. In this case use the tag name of the element targetted with white space on both sides:

    p { /*...*/ }
    

    Now all <p> elements will be affected by the above rule.

    Target by Id

    If the element you are targeting has an id attribute you can target by id by prefixing with an octothorpe #:

    #p { /*...*/ }
    

    Now the element with id="p" (no matter what the tag name) will be affected.

    Target by Class Name

    If the element you are targeting has a class attribute you can target by class name by prefixing with a period .:

    .p { /*...*/ }
    

    Now the elements with class="p" (no matter what the tag name) will be affected. Note that an element can have more than one class name, separated by spaces, so class="p x" is also affected.

    Your Rule Doesn’t Make Sense

    So your rule doesn’t work first and foremost because is doesn’t make sense 😉

    ms-standardheader {text-decoration:none;}
    

    In the absence of a period . or an octothorpe # this targets by tag name. But <ms-standardheader> elements don’t exist, so it has no effect.

    Your Rule Is Also The Wrong Rule

    You’re also trying to style the wrong element, so let’s look at the Web Part to style. I assume you’re trying to remove the line I’ve pointed out with the red rectangle:

    A SharePoint Web Part, with the line under the title in a red rectangle.

    This line is not actually an underline, but is instead a border-bottom from a <td> element. The rule which creates this underline is on line 2664(ish) of _layouts/1033/styles/core.css and looks a little like this…

    .ms-WPHeader TD{
        border-bottom:1px solid #4e7cb7;
        border-collapse:collapse;
    }
    

    Try this in another CSS file:

    html body .ms-WPHeader td {
        border-bottom:none;
    }
    

    Adding the html body increases the specificity of your rule so it will take precedence over the rule in core.css.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This seems like it would be an easy thing to do but I am
This seems like it would have a really easy solution...but I've had a hard
This seems like it would be a really easy thing to do, but its
This seems like it would be an easy solution, but I'm wasting too much
This seems like it would be easy enough var orx = gg.Where(x=>x.ProductAttributes.Any (pa =>pa.AttributeId
This seems like it would be fairly simple, but I've been unable to find
This seems like it would be a common issue to be but I don't
So I have a Rails app (which in this case seems like it would
This seems like it would be a simple question but I keep running into
This seems like it should be easy, but I can't get the right syntax.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.