Current location: Hot Scripts Forums » General Web Coding » CSS » Fine line on top of background images


Fine line on top of background images

Reply
  #1 (permalink)  
Old 08-30-06, 06:15 PM
pixzeto pixzeto is offline
Newbie Coder
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Fine line on top of background images

Hey ppl

I have added rounded corners to the comments on my site (using tables and CSS). It looks nice on Opera 9, but not as good on IE 6, as there is a kind of 1px width line on top of the corner images.

See the page here

Here's the HTML code for the comments:
Code:
<!-- Comment -->
<center>
<table class="comment" cellpadding="0" cellspacing="0">
	<tr>
	<tr class="commentinfo">
		<td class="comment-1i">&nbsp;#{comment-iteration}</td>
		<td>
			Por <b>{author}</b> el {date}:
		</td>
		<td class="comment-1d"></td>
	</tr>
	<tr>
		<td></td>
		<td class="commentcontent">
			{comment}
		</td>
		<td></td>		
	</tr>
	<tr>
		<td class="comment-2i"></td>
		<td></td>
		<td class="comment-2d"></td>
	</tr>
</table>
</center>
<br />
And here's the CSS:
Code:
.comment		{ width: 586px; background-color:#8DEF95; color:#666; margin: 0; padding: 0; }
		.comment-1i	{ width: 26px; height: 16px; text-align: center; font-weight: bold;
					background-image:url("/sitioy/img/comentario_1i.gif"); background-position: top left; background-repeat: no-repeat; }
		.comment-1d	{ width: 12px; height: 16px; background-image:url("/sitioy/img/comentario_1d.gif");
					 background-position: top right; background-repeat: no-repeat; }
		.comment-2i	{ width: 26px; height: 12px; background-image:url("/sitioy/img/comentario_2i.gif");
					 background-position: bottom left; background-repeat: no-repeat; }
		.comment-2d	{ width: 12px; height: 12px; background-image:url("/sitioy/img/comentario_2d.gif");
					 background-position: bottom right; background-repeat: no-repeat; }

	.commentinfo	{ font-size: 12px; vertical-align: top; }
		.commentinfo A:link		{ color: #666; text-decoration: none; }
		.commentinfo A:visited	{ color: #666; text-decoration: none; }
		.commentinfo A:hover	{ color: #666; text-decoration: underline; }
		.commentinfo A:active	{ color: #666; text-decoration: underline; }
	.commentcontent	{ font-size: 12px; }
		.commentcontent A:link		{ color: #FFF; text-decoration: none; }
		.commentcontent A:visited	{ color: #FFF; text-decoration: none; }
		.commentcontent A:hover		{ color: #FFF; text-decoration: underline; }
		.commentcontent A:active	{ color: #FFF; text-decoration: underline; }
I also uploaded a screenshot.

Help me with it please. I just can't find what's wrong.

Thanks,
Pixzeto
Attached Images
File Type: gif operaie6.gif (3.0 KB, 136 views)
Reply With Quote
  #2 (permalink)  
Old 08-31-06, 08:50 AM
pkcidstudio's Avatar
pkcidstudio pkcidstudio is offline
Coding Addict
 
Join Date: Nov 2005
Posts: 332
Thanks: 0
Thanked 0 Times in 0 Posts
try
border="0"
let me know if this works
__________________
learning like everyone else
Reply With Quote
  #3 (permalink)  
Old 08-31-06, 09:07 AM
Spaced Spaced is offline
Newbie Coder
 
Join Date: Jul 2006
Location: Winnipeg MB
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
If you can't get it to work try getting rid of your tables all together and using Nifty Corners
Reply With Quote
  #4 (permalink)  
Old 09-05-06, 05:24 PM
pixzeto pixzeto is offline
Newbie Coder
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
I tried with border: none; and border: 0; but none seems to work.

What else do you suggest me?
Reply With Quote
  #5 (permalink)  
Old 09-06-06, 11:22 AM
JonnyBee JonnyBee is offline
New Member
 
Join Date: Sep 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I don't think its either your css or html... probably more the way in which IE renders tables.. try the making design using<div> tags instead of tables for much more flexibilty
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Background images in tables - help!! benholmes12345 HTML/XHTML/XML 1 02-20-06 09:03 AM
Problems getting PHP-Nuke setup correctly TravisT PHP 2 12-17-05 07:54 PM
Redirection back to a page from form submit DAL Perl 11 03-21-05 02:45 PM
I most definately suggest DevelopingCentral.com For Any Website Design/Development! Salty777 General Advertisements 2 10-01-04 04:27 AM
asp-iis-Server error nsuresh_rasr ASP.NET 3 02-08-04 12:47 AM


All times are GMT -5. The time now is 01:52 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.