Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


different background color in adjacent table cells



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
Ceyhun



Joined: 15 Aug 2005
Posts: 2

PostPosted: Mon Aug 15, 2005 12:17 pm    Post subject: different background color in adjacent table cells Reply with quote

Hi, I am new in HTML. And i cannot solve a problem. could anybody help me.

When I use different background color in adjacent table cells (when colors are also diff. from body background color), I see a line ;whose color is body backgroud color; that seperates the adjacent cells (table border is 0).

Example:
<body bgcolor="white">
<table>
<tr>
<td bgcolor="red">This is red</td> <td bgcolor="blue">This is blue</td>
</tr>
<tr>
<td bgcolor="yellow">This is yellow</td> <td bgcolor="green">This is green</td>
</tr>
</table>
</body>

A white line seperates all the adjacent cells. But I want to hide the table from user no matter which color I use in the cells.

Thank you,
Back to top
View user's profile Send private message
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Mon Aug 15, 2005 6:42 pm    Post subject: Re: different background color in adjacent table cells Reply with quote

change:

<table>

to:

<table border="0">
Back to top
View user's profile Send private message Send e-mail AIM Address
dafunkymunky
100+ Club


Joined: 08 Apr 2005
Posts: 180
Location: India

PostPosted: Wed Aug 17, 2005 2:04 pm    Post subject: Re: different background color in adjacent table cells Reply with quote

That wont do the job dude....

here is what you want..

<table cellspacing="0">

this is your edited code...

<body bgcolor="white">
<table cellspacing="0">
<tr>
<td bgcolor="red">This is red</td> <td bgcolor="blue">This is blue</td>
</tr>
<tr>
<td bgcolor="yellow">This is yellow</td> <td bgcolor="green">This is green</td>
</tr>
</table>
</body>
Back to top
View user's profile Send private message
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Wed Aug 17, 2005 7:11 pm    Post subject: Re: different background color in adjacent table cells Reply with quote

oh, i missunderstood his question
Back to top
View user's profile Send private message Send e-mail AIM Address
dafunkymunky
100+ Club


Joined: 08 Apr 2005
Posts: 180
Location: India

PostPosted: Thu Aug 18, 2005 9:50 am    Post subject: Re: different background color in adjacent table cells Reply with quote

and ceyhun dont forget to tick the solved button once you have got the solution......
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap