Faster rendering (MSX Resource Center Foros MSX)MSX Resource Center            
                       
English Nederlands Espa�ol Portugu�s Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 37 invitados y 2 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

MSX Resource Center - Faster rendering

Autor

Faster rendering

Grauw
msx professional
Mensajes: 1006
Publicado: Junio 20 2005, 12:13   
Heya,

As MSX.org is using a table-based layout, it suffers from incremental rendering problems. Especially when it is having a ‘slow server day’, the content of the page ‘snaps’ into place (because a table cell isn’t rendered until its entire contents have finished loading, and the widths are also recalculated when that happens, causing everything to move about).

However, there is a solution in the form of the CSS property table-layout: fixed; and the col element. I don’t know the exact details, but if you specify widths like:

<table style="table-layout:fixed;" width="100%">
<col width="150">
<col width="*">
<col width="150">
<tr>
<td>...</td>
...
</tr>
</table>

I believe that should work.

I think it would be worthwhile to look into this optimization.


~Grauw
Grauw
msx professional
Mensajes: 1006
Publicado: Junio 20 2005, 12:18   
Perhaps the CSS property isn’t even necessary (according to the HTML specification it should work without).

~Grauw
snout

msx legend
Mensajes: 4995
Publicado: Junio 20 2005, 12:21   
thx for the tip. I think the table-layout:fixed; is needed, as I'm already using them colgroups Either way, I'm working on some other optimizations to the website, I'll include this one in it.
ro
msx guru
Mensajes: 2353
Publicado: Junio 20 2005, 16:15   
don't get me started.
Drop the whole TABLE ish and start learning and USING the mighty CSS. that also give you the power to ONLINE/REALTIME change the whole look of a site in just 1 click (change sheets)

need help? sure, I'll point you some handy dandy URLs.
it's really good stuff.
cheers
snout

msx legend
Mensajes: 4995
Publicado: Junio 20 2005, 18:54   
The less/no tables. more CSS plan is one that's on the ToDo list already, but way at the bottom. For the time being, I only have the time to implement a few smaller improvements periodically. However, I do think the CSS-MRC will go public before the Fuzz releases Fubsy
manuel
msx guru
Mensajes: 3637
Publicado: Junio 20 2005, 19:58   
Ouch!
sander

msx addict
Mensajes: 341
Publicado: Junio 20 2005, 19:58   
auwts!
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Junio 21 2005, 00:10   
burn!!!
wolf_

msx legend
Mensajes: 4827
Publicado: Junio 22 2005, 00:36   
..that's because Ro is a lazy sob who spends way too much time on singing the national anthem while eating pudding!



The analogy with Peter Pan is that MSX'ers should never grow-up..
ro
msx guru
Mensajes: 2353
Publicado: Junio 22 2005, 09:34   
...bananas dude.. bananas! (I hate pudding)


Fubsy to be released? whahaha, in your dreams. fair shot tho.. ouch.
 
 







(c) 1994 - 2009 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation