Solved

Content of tab widget using smaller font ?

Posted on 2011-02-13
2
620 Views
Last Modified: 2012-06-21
I am new to jQuery UI, and I am experimenting with the tab widgets.  I've just noticed that when copy a table from outside of the tab widget, and then I paste the same table into the tab widget, the table seems to display in a smaller font.  It seems the table renders in approx. 12pt text outside the tab widget, but renders in approx. 8pt text inside the tab widget.  This happens on all content on all tabs.

Any idea why the widget seems to shrink the content?
0
Comment
Question by:DanielAttard
2 Comments
 
LVL 3

Accepted Solution

by:
thecrew earned 500 total points
ID: 34889246
My guess is that your widget has some dedicated CSS as well (perhaps something like jquery.ui.tabs.css?). Do you have a link to an example?  

A lot of times (if downloading from the jquery site) your download will come with this CSS file as well.  This is what styles all of the elements used in your widget.  As I recall the tabs use the <ul> and <li> tags, so that would be a good place to start!

Post an example and I might be able to help further.
0
 

Author Closing Comment

by:DanielAttard
ID: 34889917
Thanks for the answer.  There was some dedicated CSS that I wasn't aware of.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn how to dynamically set the form action using jQuery.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question