SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make round corner in same backgorund

    Hi,

    I would like to know how we make round corners in a table when the web page color and table background color are same and we want a different color for the border.

    I hope I am able to make things clear for you.

    Regards
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com

  2. #2
    SitePoint Enthusiast wolfie012's Avatar
    Join Date
    Jun 2002
    Location
    Columbiana, OH
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sample

    do you have a sample of this you can show me?

  3. #3
    SitePoint Member
    Join Date
    Mar 2002
    Location
    Sydney Australia
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to make the corner image and then put it as the background for whatever you are doing.

    so make it the background image for the corner cells of your table.

    so

    <table>
    <tr>
    <td background="left_top_corner.jpg"></td>
    <td></td>
    <td background="right_top_corner.jpg"></td>
    </tr>
    <tr>
    <td></td>
    <td>this is your body of the box</td>
    <td></td>
    </tr>
    <tr>
    <td background="left_bot_corner"></td>
    <td></td>
    <td background="right_bot_corner"></td>
    </tr>
    </table>

    I left out the stright lines areound the box, which you would add the the <td>'s thats needed via CSS

    i used a similar idea on my site, but did not use the images as a background, even though I probably should of.

    http://www.skillsin.com

    or you could make a class with CSS and use <td class="bg_top_img"> but either way is good, although Id look at the CSS way as it should load faster
    Skillsin
    Web Site: www.skillsin.com
    Email: skillsin
    DeviantART: Gallery

  4. #4
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Thanks for your suggestions.

    Actually the post was posted 2 times by mistake.

    Today only i checked and found this post is also running, the other post is also running with the same subject.

    I am really sorry and thanks for your suggestions.

    regards,
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •