Jump to content

Instead of table


php_guest

Recommended Posts

Please tell how to create the following list without table.

example.png

echo "<table>";
            while ($row=mysql_fetch_assoc($result2))
            {
                extract($row);
                echo "<tr><td>1. </td><td><a href='/user.php?ID=$ID'>$firstName $lastName</a></td><td> $City<td> $Business</td> </td></tr><br />";
            }
            echo "</table>";

Link to comment
https://forums.phpfreaks.com/topic/145191-instead-of-table/
Share on other sites

1) Create a gradient in photoshop. Take a vertical slice of it, about 5 pixels wide. (some people take 1px slices, which cuts down on download times, but increases the load on the computer). Set this image as the background image to the body tag, and add repeat-x. Then, set the background color of the body to the lower color of the gradient, so that the image blends smoothly into the color of the background.

2+3) Too much to explain in one post, and there are various methods of doing it. Start here: http://www.cssjuice.com/25-rounded-corners-techniques-with-css/

 

Link to comment
https://forums.phpfreaks.com/topic/145191-instead-of-table/#findComment-762074
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.