HOW: set FRAMESET "rows" propterty in .css file

hi,
i want to add to my .css file the FRAMESET tag.
the problem is that i donno how to add the rows/cols properties ...
i do something like that but it won't work

FRAMESET
{
rows="*,250";
}

does anyone knows what seems to be the problem? :confused:

Avi.
[316 byte] By [AviLaviad] at [2007-11-19 2:16:47]
# 1 Re: HOW: set FRAMESET "rows" propterty in .css file
frameset rows is a html element attribute, not a style property, so it can't be set using css.
You can do it using javascript.
khp at 2007-11-8 0:20:11 >
# 2 Re: HOW: set FRAMESET "rows" propterty in .css file
:( damm...
but i cant use JS bcuz im using Server Based Page (ASP.NET)
any suggestions?
AviLaviad at 2007-11-8 0:21:12 >
# 3 Re: HOW: set FRAMESET "rows" propterty in .css file
:( damm...
but i cant use JS bcuz im using Server Based Page (ASP.NET)
any suggestions?

Admittedly I know very little about ASP.not, but I would think, that like any other serverside scripting environment it works by sending html code to the browser, in response to http requests. While javascript runs on the clientside, it's completly independent of what the server is doing, and can be embedded in the html code emmited by ASP, or included in a seperate file, just like CSS code.
But why not just set it using ASP ?.
khp at 2007-11-8 0:22:10 >
# 4 Re: HOW: set FRAMESET "rows" propterty in .css file
i dont do it with ASP.NET bcuz i want to minimize the loading time of my site...
AviLaviad at 2007-11-8 0:23:17 >
# 5 Re: HOW: set FRAMESET "rows" propterty in .css file
Admittedly I know very little about ASP.not, but I would think, that like any other serverside scripting environment it works by sending html code to the browser, in response to http requests. While javascript runs on the clientside, it's completly independent of what the server is doing, and can be embedded in the html code emmited by ASP, or included in a seperate file, just like CSS code.
But why not just set it using ASP ?.
Khp is right, you can send the javascript code to the client browser, actually ASP.net sends javascript to the user all the time, you may want to take a look at the "source code" that you get when invoking an ASP with your browser to realize how it works.
I don't understand why modifing the attribute in the ASP will make your page slow, what are you trying to do?
Wolfwood at 2007-11-8 0:24:11 >
# 6 Re: HOW: set FRAMESET "rows" propterty in .css file
it is the first page and in .net - the first page is always slow bcuz .net loads everything.
so i want to make the loading part in other page.
AviLaviad at 2007-11-8 0:25:10 >
# 7 Re: HOW: set FRAMESET "rows" propterty in .css file
it is the first page and in .net - the first page is always slow bcuz .net loads everything.

That should only apply to the first pageload after the .net server has been restarted or the asp file has changed, hardly anything to be concerned about, and cirtainly not something you can do anything significant about. As for setting the attribute in ASP, 13 bytes or so of extra data will probably impact load times by less than 0.001 seconds.
khp at 2007-11-8 0:26:13 >
# 8 Re: HOW: set FRAMESET "rows" propterty in .css file
yeah well, im familier with that loading time issue.
i wanted to make a page with "please load" text while the my app is loading,
using -

<META HTTP-EQUIV="refresh" content="0;URL=xxx.aspx">

the problem is that this page has to be .html so it would load quickly, and then i don't care the time the .net pages (xxx.aspx) will load.

when i try to set the first page with .net then it loads everything and all the "please loading" porpose is lost...
AviLaviad at 2007-11-8 0:27:16 >