HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 1st, 2000, 04:02 AM
chinnavi
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
hai
I wrote code for my web site with following code segment.

<table border=0 cellpadding=4 cellspacing=0 width="100%" bgcolor="#008000">
<tr>
<td bgcolor="#008000">
<font size=+2 color="#ffffff" face=Arial>
<center>
Computers!
</center>
</td>
</font>
</tr>
</table>

my aim is to have green background with white letters of "Computers" .
It works well with Internet Explorer but it is not working , that not putting background with my Netscape Communicator 4.61.
Anyone please help me in solving this problem.

vijay

Reply With Quote
  #2  
Old August 1st, 2000, 04:57 AM
billy10k billy10k is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 12 billy10k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
you open the font tag inside the TD tag, but close the font tag outside of the TD tag. This is a big no-no ... some browsers reawlly dont like it. so move the closing font tag inside the TD tag. also if you set the TABLE BGCOLOR to 008000, there's no reason to do it to the TD tag as well.

Reply With Quote
  #3  
Old August 1st, 2000, 11:46 AM
JonLed JonLed is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Indiana
Posts: 614 JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 49 m 49 sec
Reputation Power: 9
Try putting the bgcolor in the <tr> tag. IE and Netscape vary allot with tables and table usage, so you'll just have to play around.

Reply With Quote
  #4  
Old August 1st, 2000, 11:50 AM
yduvoid yduvoid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 51 yduvoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I also would suggest you to use the <div align="center"> tags instead of <center> since W3C are disposing the <center> tags. You can do more style effects with div tags anyway.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Netscape table bgcolor?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway