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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:29:43+00:00 2026-06-11T18:29:43+00:00

In my website, in asp.net 4 / vb, I have a situation where I

  • 0

In my website, in asp.net 4 / vb, I have a situation where I need to include a class, “noprint“, in my footer, as defined in print.css. But I already have a span class, so I wrapped div tags around it. And my tr’s and td’s all have classes in them already.

Basically, I have this in my footer:

Knowledge Base | Contact USS | Copyright © USS Vision Inc. 2012 | 888-888-8888

And the only thing I want printed out is the phone number.

I use

<div class="noprint">whatever I want omitted when printing</div>

And that works fine. But when viewing the webpage, I don’t want the 888-888-8888 to appear below everything else, so I can’t use div tags, I suppose. The noprint works great, but is there any way I can use the noprint in my footer without putting the phone number below the rest of the footer due to the div tags? Thanks for any help anybody can offer!

Update: My print.css stylesheet looks like this:

@media screen
{
   /* whatever styles you have for display */
}

@media print
{
   .noprint { display: none; }
}

So I don’t know how to make the div tags display: inline, but I will search around and try to figure it out!

  • 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-11T18:29:44+00:00Added an answer on June 11, 2026 at 6:29 pm

    gd1 is absolutely right about span/div and display inline/block, but on a side note I’d add that what you’re trying to achieve is often done with a list (as it really is a list of links in your footer)

    <ul class="footer">
      <li class="no-print">KnowledgeBase</li>
        ...
      <li>888-888-888</li>
    <ul>
    

    with a css like

    .footer li {
      list-style-type: none;
      display: inline;
      padding: 0 10px;
      border-right: 1px solid black;    
    }
    
    .footer li:last-child {
      border-right: none;
    }​
    

    hope that helps

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

Sidebar

Related Questions

I have the oddest situation... On my ASP.NET website when the application pool recycles
I have a website (ASP.NET MVC3) that runs on IIS 7. From this website,
I have Asp.net website for domain A users with the Integrated Windows Authentication. Now
I have this website (C#/ASP.NET) with a form where the user can register for
I have an website on asp.net-mvc, I'm thinking of using paypal for payments, is
I have made a website using( Asp.net, c# ) and its content in English
I have build a simple website with ASP.NET C#. It runs normally after I
This is a simple website in ASP.NET with C# using VS 2010. I have
I've created a website with ASP.NET MVC. I have a number of static pages
I'm currently writing a website in ASP.NET MVC, and my database (which doesn't have

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.