HTML - hacer scroll horizontal

 
Vista:
sin imagen de perfil

hacer scroll horizontal

Publicado por berfer (4 intervenciones) el 06/01/2008 20:44:50
Hola, tengo esta pagina

<head>

</head>


<html>

<FRAMESET ROWS="12%,88%" >
<FRAME SRC="fotos_marcas.html" name="arriba">
<FRAME src="documento2.html" name="abajo">
</FRAMESET>

</html>

documento2.html tiene este codigo:

<head>

</head>
<body>
<html>
<center>
<img src="difusion2.gif" alt="" border="0">
</center>
</html>
</body>

y fotos_marcas.html tiene este codigo:

</head>

<body>
<html>

<TD>
<a href="http://www.balcar.com" TARGET=_blank><img src="fotos_marcas/balcar.gif" border="0"></a>
<a href="http://www.idx.com" TARGET=_blank><img src="fotos_marcas/idx.gif" border="0"></a>
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
</td>
</html>
</body>

Mi pregunta es como puede hacer que en la pagina de fotos_marcas.html solo me salga el scroll horizontal y no el vertical??

Lo que quiero es poner todas esas fotos seguidas en una misma linea.

Muchas gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de ScriptShow
Val: 359
Bronce
Ha mantenido su posición en HTML (en relación al último mes)
Gráfica de HTML

RE:hacer scroll horizontal

Publicado por ScriptShow (409 intervenciones) el 06/01/2008 21:10:18
Saludos,

Incluye este código en las etiquetas head de la página:

<head>
<style>
html, body{overflow-x:scroll;overflow-y:hidden}
</style>
</head>

El código funciona en IExplorer.

feliz 2008
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

RE:hacer scroll horizontal

Publicado por berfer (4 intervenciones) el 06/01/2008 21:30:29
Ok, le pongo esto y me pinta el scroll horizontal pero aun asi me sige bajando las fotos que no le caben en una linea a la linea de abajo.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
Imágen de perfil de ScriptShow
Val: 359
Bronce
Ha mantenido su posición en HTML (en relación al último mes)
Gráfica de HTML

RE:hacer scroll horizontal

Publicado por ScriptShow (409 intervenciones) el 06/01/2008 22:46:16
Veamos,

Intenta dar valores de ancho y alto a las imágenes. Después, ponlo todo en un div con un valor de ancho igual a la suma de los anchos, más o menos.

Un ejemplo:

<div style="width:1200px">
<a href="http://www.balcar.com" TARGET=_blank><img src="fotos_marcas/balcar.gif" width="100" border="0"></a> <a href="http://www.idx.com" TARGET=_blank><img src="fotos_marcas/idx.gif" width="100" border="0"></a> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0"> <img src="fotos_marcas/balcar.gif" width="100" alt="" border="0">
</div>

Un saludo.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:hacer scroll horizontal

Publicado por Mini (2 intervenciones) el 24/01/2008 17:44:27
Prueva esto, me parece más sencillo:
<html>
<body>
<TABLE>
<TR>
<TD>
<a href="http://www.balcar.com" TARGET=_blank><img src="fotos_marcas/balcar.gif" border="0"></a>
<a href="http://www.idx.com" TARGET=_blank><img src="fotos_marcas/idx.gif" border="0"></a>
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
<img src="fotos_marcas/balcar.gif" alt="" border="0">
</td> </TR></TABLE>
</body>
</html>
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar