Jump to content
php.lv forumi

Vairāki a + img vienā rindā


vimba

Recommended Posts

Dots:

vairāki šādi linki ar bilde + teksts, bilde + teksts ... vienā rindā:

[bilde]links1 [bilde]links2 [bilde]links3 ... [bilde]links9

 

<a href="xxx1.php"><img src="aa.png" hspace=10 vspace=10 border=0 alt="aa">links1</a>
<a href="xxx2.php"><img src="aa.png" hspace=10 vspace=10 border=0 alt="aa">links2</a> 
...
<a href="xxx9.php"><img src="aa.png" hspace=10 vspace=10 border=0 alt="aa">links9</a>

Kā panākt, lai samazinot logu pa vidu bilde nedalītos nost no teksta, bet būtu vienmēr kopā bilde + teksts?

 

Ar <div>, <span>, <p> galos neizdevās, samazinot logu, notiek tā:

 

[bilde]links1 [bilde]links2 [bilde]

links3 ... [bilde]links9

 

Bet vajag tā:

[bilde]links1 [bilde]links2

[bilde]links3 ... [bilde]links9

Edited by vimba
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...