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 7868235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:56:17+00:00 2026-06-03T00:56:17+00:00

I have downloaded a .css style sheet from a website that include many styling

  • 0

I have downloaded a .css style sheet from a website that include many styling for table. I want to apply that .css style sheet to a particular asp.net table. So in aspx I have,

          <asp:Table cssClass="downloadedCss">
          </asp:Table>

In the css stylesheet I downloaded it has many things such as ..

           table {}
           caption{}
           td, th  {}
           tr {}
           thead th, tfoot th {}
           tbody td a  {}
           tbody td a:visited  {}
           tbody td a:hover {}
           tbody th a  {}
           tbody th a:hover {}
           tbody td+td+td+td a {}
           tbody td+td+td+td a:visited  {}
           tbody th, tbody td {}
           tfoot td {}
           tbody tr:hover  {}

How to make all those css properties to apply for just the table (downloadedCss class)

  • 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-06-03T00:56:18+00:00Added an answer on June 3, 2026 at 12:56 am

    An ASP.NET Table will render as a HTML Table.

    Your example will render like:

    <table class="downloadedCss">
    </table>
    

    Therefore your current CSS rules will all apply to this table. If you want these styles to only apply to this table, then specify the class name in the CSS rules.

           table.downloadedCss {}
           table.downloadedCss caption{}
           table.downloadedCss td, table.downloadedCss th  {}
           table.downloadedCss tr {}
           table.downloadedCss thead th, table.downloadedCss tfoot th {}
           table.downloadedCss tbody td a  {}
           table.downloadedCss tbody td a:visited  {}
           table.downloadedCss tbody td a:hover {}
           table.downloadedCss tbody th a  {}
           table.downloadedCss tbody th a:hover {}
           table.downloadedCss tbody td+td+td+td a {}
           table.downloadedCss tbody td+td+td+td a:visited  {}
           table.downloadedCss tbody th, table.downloadedCss tbody td {}
           table.downloadedCss tfoot td {}
           table.downloadedCss tbody tr:hover  {}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with the CSS of the datepicker, I downloaded a default
I have downloaded Skype4COM from Skype so my question is, can i integrate it
I have downloaded a web project from CodePlex and am getting the following error
I have downloaded sample code from Apple Center.I also have gone through following question:
We are downloading web page linked Images, style sheet(.css) and javascript files using web
I have downloaded the Open Sans Condensed Light font from Google Web Fonts, and
I have a site hat lists a set of files that can be downloaded.
I have downloaded an auto completion(jQuery script) form from net. I am using wamp
I have a website of quite a few pages which also has a style
If I have 2 CSS styles that assign background images to an element, and

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.