Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Dynamic width for various View Reply To: [Solved] Dynamic width for various View

#209884
chandrabhan
Participant

Thanks Paulie_D for the reply.

The output HTML is very accurate as you displayed.
The issue is I can save only a single value for name’s width in DB: either in pixels or in % or in relative weight.
In the given example:

.table .name {
width: 25%;
}

.grid .name {
width: 50%;
}

The value is different in both case(25 and 50 viz), I wanted to store in DB such info, that at time of table it converted in 25% and in gird it gets converted to 50%