How to set different font size (or other properties) for different grids on the same page?

QuestionsHow to set different font size (or other properties) for different grids on the same page?
Alexander Toth asked 4 years ago

For example, I have two grids on the same page. In one I want font size 12, on the other font size 10

This code will affect the font size of both grids:

<style type=”text/css”>
.ui-jqgrid {font-size:10px;}
</style>

What is the css syntax to change the properties of only specific grid?

Thanks

1 Answers
Abu Ghufran Staff answered 4 years ago

You can assign css to top level div id. E.g. if your grid id is list1, then:

<style type=”text/css”>
div#gbox_list1 {
font-size: 110%;
}
</style>

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

2 + 18 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?