This is a discussion on "Rounded rectange for BG of certain items in an HTML table" within the Web Page Design section. This forum, and the thread "Rounded rectange for BG of certain items in an HTML table are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Rounded rectange for BG of certain items in an HTML table
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Rounded rectange for BG of certain items in an HTML table
Hi all. I'm using CSS to format the vast majority of a client's site. A few of their pages have actual HTML tables in them with data (comparison charts for temperature grades to be precise). I was hoping that someone could help me format them so that they don't just look like lousy tables. What I'd like is for each cell to have a rounded rectangle background for the text to rest on top of. Here is an example. I was hoping to do it with a simple
|
|
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
http://webdesign.about.com/od/css/a/aa072406.htm
http://www.spiffycorners.com/ http://kalsey.com/2003/07/rounded_corners_in_css/ http://www.html.it/articoli/nifty/index.html http://www.sitepoint.com/article/css...s-boxes-curves http://www.fireandknowledge.org/arch...images-part-1/ Just did a quick google search and found these, not had chance to have a look so don't no how good they are Hope they help Craig
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
Edit:
a quick search on google http://www.google.co.uk/search?q=rou...ient=firefox-a can sometimes be useful in looking for answers
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
|||
|
Re: Rounded rectange for BG of certain items in an HTML table
Thanks for the reply, I appreciate it. I too tried the google search before posting and got the same results. The reason I posted is because those methods explained how to manually make individual divs that you could later put content in. I currently have several HTML tables with data in them that I was hoping to edit to make their backgrounds have rounded corners, instead of creating and sizing new divs one by one that are specifically tailored for each table cell's dimensions. What I am looking for would be this, but with it's corners round, instead of sharp. Sorry if I am being redundant, I just assumed there was a way to do this with CSS without recreating each and every single table cell. Thanks again, look forward to hearing more input.
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
Couldn't you just use
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
|||
|
Re: Rounded rectange for BG of certain items in an HTML table
Quote:
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
Would you not be able to include the information on
http://webdesign.about.com/od/css/a/aa072406.htm and place this in a css as they have done, what's wrong with doing that?
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
|||
|
Re: Rounded rectange for BG of certain items in an HTML table
this method is a little too advanced for me to properly apply it to my table cells. i've only been working with css for about a week now and that lady has me scratching my head. thanks anyways. <sniffle>
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
do you have a link to your site?
If not send me your page and i'll see what i can do
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
|||
|
Re: Rounded rectange for BG of certain items in an HTML table
Really? Thanks, I really appreciate it. Here's the link. I warn you that my code is quite likely redundant, messy, and all around silly...so any touch up suggestions are welcome. Thanks again.
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
I'll take a look at it for you, watch this space
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
Here are the files, read the comments in the code and post if theres anything you don't understand.
Hope this helps Craig
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
||||
|
Re: Rounded rectange for BG of certain items in an HTML table
Also, make sure that the files are in the same directory/folder when viewing, other wise the CSS will not link to it
Craig
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rounded corner css html generator | Graisbeck | Graphics and 3D | 1 | Jan 8th, 2008 16:28 |
| [SOLVED] Putting CSS with an HTML Table. | mcdanielnc89 | Web Page Design | 6 | Nov 2nd, 2007 05:13 |
| .swf file as HTML table background | bubberz | Flash & Multimedia Forum | 9 | Jun 18th, 2007 21:45 |
| Need help in clone html table | bryanpung | JavaScript Forum | 1 | Jun 15th, 2007 14:12 |
| html table design help | antony | Web Page Design | 6 | Mar 12th, 2007 16:32 |