Web Connection
Grid fontsize
Gravatar is a globally recognized avatar based on your email address. Grid fontsize
  Luca
  All
  Oct 15, 2019 @ 02:06am

Dear Rick,
I would like to set a media query rule into a page with a Grid.
Please what is the target class to modify grid fontsize?
I tryed wwWebDataGridColumn but it does not work.
Thank you very much for support.

<style type="text/css">
    @media all and (orientation: portrait)
    {
       .Labels {font-size: 14px;}
       .wwWebTextBox {font-size: 14px;}
       .RadioButtons label {font-size: 14px;}
       .blackborder {font-size: 14px;}
       .wwWebHyperLink {font-size: 14px;}
       .wwWebDataGridColumn {font-size: 14px;}
    }
</style>
Gravatar is a globally recognized avatar based on your email address. re: Grid fontsize
  Rick Strahl
  Luca
  Oct 15, 2019 @ 12:25pm

I believe the target class will be .blackborder>td or something like that.

Can't recall what the styling for grids is by default, but whatever the grid class is the >td should get it.

FWIW, I recommend you don't set sizes explicitly - use em or rem values to grow or shrink relative to the parent or document respectively.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Grid fontsize
  Luca
  Rick Strahl
  Oct 15, 2019 @ 10:06pm

Thank you very much Rick,
I look for documentation about rem use.

© 1996-2024