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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • 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.