mmacedo Posted January 2, 2010 at 03:19 PM Report Share #303666 Posted January 2, 2010 at 03:19 PM Boas, Eu kria por uma quantidade de imagens num site,mas elas aparecem-m sempre todas na vertical.o k eu kria era e k elas aparecessem na horizontal te um limite,digamos por exemplo de 4 por fila e assim consecutivamente.. alguma ideia? abraco Link to comment Share on other sites More sharing options...
scorch Posted January 2, 2010 at 03:58 PM Report Share #303672 Posted January 2, 2010 at 03:58 PM As imagens são carregadas dinamicamente? PS: Não respondo a perguntas por mensagem que podem ser respondidas no fórum. Link to comment Share on other sites More sharing options...
NCS_One Posted January 2, 2010 at 04:38 PM Report Share #303687 Posted January 2, 2010 at 04:38 PM Boas. São todas do mesmo tamanho ou de tamanhos diferentes ? Se a vida te voltar as costas aproveita e apalpa-lhe o cu. Link to comment Share on other sites More sharing options...
mmacedo Posted January 2, 2010 at 04:51 PM Author Report Share #303699 Posted January 2, 2010 at 04:51 PM boas,sim sao todas do mesmo tamanho. as fotos sao,por vntade do prof, sao links d imagens k estao na net.Estas sao depois formatadas em codigo Link to comment Share on other sites More sharing options...
NCS_One Posted January 2, 2010 at 08:06 PM Report Share #303774 Posted January 2, 2010 at 08:06 PM Boas. Basta colocares as imagens dentro de um "parent" com "width" e sem "height". Se a vida te voltar as costas aproveita e apalpa-lhe o cu. Link to comment Share on other sites More sharing options...
mmacedo Posted January 2, 2010 at 08:48 PM Author Report Share #303782 Posted January 2, 2010 at 08:48 PM hmm,cm assim?podes dar um pekeno exemplo? abraco Link to comment Share on other sites More sharing options...
NCS_One Posted January 2, 2010 at 11:08 PM Report Share #303798 Posted January 2, 2010 at 11:08 PM Boas. Tipo : <div style="width: 400px"> <img src="img1" width="100px" height="100px" /> <img src="img2" width="100px" height="100px" /> <img src="img3" width="100px" height="100px" /> <img src="img4" width="100px" height="100px" /> <img src="img5" width="100px" height="100px" /> <img src="img6" width="100px" height="100px" /> </div> Assim como o "parent" é de "400px" e cada "img" é de "100px" 400/100=4 ficas com 4 "imgs" na primeira linha horizontal e duas na segunda. O "margin" e o "padding" podem lixar isto, tens de adicionar o valor de cada um ao "width" do "parent". Se a vida te voltar as costas aproveita e apalpa-lhe o cu. Link to comment Share on other sites More sharing options...
mmacedo Posted January 3, 2010 at 03:01 PM Author Report Share #303858 Posted January 3, 2010 at 03:01 PM birgado ncs,isso resolve o meu problema 😛 ..mas como tamos no topico de javascript pensei k fosse algo do genero de window.parent.kkrcsa. 😁 abraco Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now