"Vadim Plessky" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> what about
> <STYLE>
>  .md {position:absolute;left:8;top:410;width:600;height:1}
> </STYLE>
> and
> <div class=md>
>
> "md" stands for "My Div", but saves 4 unnecessary bytes. :-)

I use a *.CSS files for all pages of a domain.
I also thought in this direction.

About 90% of all DIV are the same on all pages.
The problem are the 10% differend DIV

> |   Is my current code for every DIV Block.
> |
> |   About 20 of them used for a page.
> |
> |   I could reduce to
> |   <div id=desc>
> |   <script
> |
language=JavaScript>m("desc",0,400,0,110,160,150,340,30,200,130,0,30,600,1)
> | </script>
> |
>
> you still can improove it:
> <div id=desc
> onmouseover='m("desc",0,400,0,110,160,150,340,30,200,130,0,30,600,1)'>

No. The relocate has to be immedeately.

> why waste space on SCRIPT tag, plus extra space on closing it (</SCRIPT>)?
> :-))

1.) it will not function correct
2.) Only 2 byte less than the correct
<div
id=desc><script>m("desc",0,400,0,110,160,150,340,30,200,130,0,30,600,1)</scr
ipt>

the words onmouseover are using also space :-)

> I guess you need context resized/displaed only when mouse moves over it,
> right?

No. It depends on the screen resolution.
I have complete different layouts depending on
VGA, SVGA, XVGA, 1600*1200

When You have such a large screen, You can see at
me Your first page designed for 1600 * 1200 :-)

> Otherwise (if customer is not interested in this DIV, why we should
> waste layout (rendering) time on this DIV?

They are essential for my layout


--
Roland M�sl
http://pege.org Clear targets for a confused civilization
http://BeingFound.com Web Design starts at the search engine



Reply via email to