Jump to content

How TO


Php_Ghost

Recommended Posts

I have just completed html and php.

 

I want to make a series of pictures so I am trying put a text below a pic then some space and another pic so on.

 

 

<img src = "/12.png"><br>   

<a href = "/123.html'>Raja</a>

 

This is starting but it is not coming in row format just due to break another picture starting from next line but i just want some space and name. Any idea how to do so?

 

Link to comment
https://forums.phpfreaks.com/topic/203333-how-to/
Share on other sites

<ul id="gallery">

  <li><a href="#"><img src="path/to/image.file" width="100" height="100">

      <span class="caption">BYEEE</span></a>

  </li>

  <li><a href="#"><img src="path/to/image.file2" width="100" height="100">

      <span class="caption">HIII</span></a>

  </li>

</ul>

 

ul#gallery li { display: block; float: left; }

 

ul#gallery li a img,

ul#gallery li a span { display: block; }

 

ul#gallery li a { text-align: center; text-decoration: none; }

ul#gallery li a span { color: #000; }

ul#gallery li a:hover span { border-bottom: 1px solid #000; }

Link to comment
https://forums.phpfreaks.com/topic/203333-how-to/#findComment-1065301
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.