K
Kyong Kwak
I'm having a problem setting the expression to mimic "min-width"..
( first off, is this the right newsgroup? )
I'm trying to set a "select" and css syntax ( external file ) is:
select.setDDLWidth {
width: expression( ( this.clientWidth <= 200 ) ? "200px" : "auto";
}
now the problem is that it is fickle.. sometimes it works and sometimes
it doesn't. I'm using .aspx with viewstate on and such.. it seems that
the problem usually occurs when I'm posting back with data. I tried to see
if the width was set somehow but I didn't see anything.
the result is that it is fixed to 200px.
so on load it's set to "auto" because the content is.. say.. 400px..
when I post back.. it's set to "200px".. so it's clipping..
tell me what I'm missing here!! thanks a bunch!
( first off, is this the right newsgroup? )
I'm trying to set a "select" and css syntax ( external file ) is:
select.setDDLWidth {
width: expression( ( this.clientWidth <= 200 ) ? "200px" : "auto";
}
now the problem is that it is fickle.. sometimes it works and sometimes
it doesn't. I'm using .aspx with viewstate on and such.. it seems that
the problem usually occurs when I'm posting back with data. I tried to see
if the width was set somehow but I didn't see anything.
the result is that it is fixed to 200px.
so on load it's set to "auto" because the content is.. say.. 400px..
when I post back.. it's set to "200px".. so it's clipping..
tell me what I'm missing here!! thanks a bunch!