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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:42:42+00:00 2026-05-23T11:42:42+00:00

Apologies for this if its simple but I’m a C++ guy working on asp.net.

  • 0

Apologies for this if its simple but I’m a C++ guy working on asp.net.

We’ve got a website with basically the same data entry form on two pages. It is currently coded separately on the two pages. I’m making some change and so I’ve whipped the code out into a user control ascx file. On one page (which basically just has the user control on it) it looks as it did before, on the second (which has a table above the user control) the font size has changed to become practically unreadable.

How can I control the font size in the ascx control?

Further info: The two pages both use a master page which has header, menu and footer controls in s. The master page links in the css files.

EDIT: thanks for the answers guys, allowed me to work out a simple fix, I’ve reset the font size in the table tag which contains the userControl:

<table cellspacing="4" class="tableData" style="font-size:x-small">
    <tag:name id="cntlDetails" runat="server" />
</table>
  • 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-23T11:42:42+00:00Added an answer on May 23, 2026 at 11:42 am

    This feels like a stylesheet problem.

    If you use IE developer tools (F12 from your IE [8 or 9] window) or FireFox Firebug plugin, then you can inspect the text on the two pages and see what style elements (be they inline or from css) you’re having problems with.

    Here’s Firebug (our graphics designer prefers it way over IE): http://getfirebug.com/html

    I’m taking a shot in the dark that there is a css rule that’s based on percent that’s mucking it up… For instance if there is css that shrinks all text in a table by a percent, then embedded tables in the page will do what you’re describing.

    Be wary of this kind of thing:

    table p {
       font-size: 70%
    }
    

    P tags in embedded elements would shrink it to 70% of 70%… basically unreadable…

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

Sidebar

Related Questions

Apologies if this is classic ASP 101, but its been so long since I
Apologies, I'm new to ASP.NET MVC. :) I'm unsure if this is simple a
Apologies if this is a dumb question. In previous ASP.NET projects, I've been using
Apologies for cross posting (I asked this on the Silverlight Forum but got no
Apologies if this is something really simple. I've found various C# examples here, but
Apologies if this is a simple solution, but my brain doesnt seem to be
If I had a normal website this would be a simple enough fix... but
Apologies if this is a slightly noob question, but looking to clarify my thoughts
Apologies if this was already asked but, I have had a look and can't
This is probably going to be a really simple explanation, but I'm going to

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.