home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

HTML browser compatibility

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2119
Discussions: 200,948, Posts: 2,379,406, Members: 246,309
Old December 26th, 2005, 11:21 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Dec 2004
Location: Shoreham, England
Posts: 341
HTML browser compatibility

Hi, merry christmas,

Does anyone know of some HTML code to make a table have a solid-2d, black border, not just in IE but in Mozilla and Netscape aswell?

When i use:

<table border="1" bordercolor="black"> it does what i want, but only in IE.

And when i use:

<table border="1"> on its own, i just get a grey 3d like border in all three browsers...

Thanks ppl.
plowman is offline   Reply With Quote
Old December 26th, 2005, 12:33 PM     #2 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
Send a message via AIM to krohnjw
You can do that using CSS

Example: (these are code snips)

Style sheet entry:
Code:
.TDClass{
	border-top: solid 1px #000000;
	border-right: solid 1px #000000;
        border-left: solid 1px #000000;
	border-bottom: solid 1px #000000; 
}
Table definition:
Code:
<table border=0 align=center>
     <tr>
          <td class="TDClass"><img src=img.jpg border=0></a></td>
     </tr>
</table>
Or: (to add the border to the entire table)

Code:
<table border=0 class="TDClass">
     <tr>
          <td>......</td>
     </tr>
</table>

Last edited by krohnjw : December 26th, 2005 at 12:40 PM.
krohnjw is offline   Reply With Quote
Old December 26th, 2005, 04:14 PM     #3 (permalink)
Member
 
Join Date: Dec 2004
Location: Shoreham, England
Posts: 341
Hey thanks alot...didnt think of that
plowman is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export excel --> html - How to clean html? BITM@D Applications and Operating Systems 20 June 8th, 2009 04:56 AM
compatibility tmasboa Processors, Memory, and Overclocking 6 June 29th, 2005 09:00 PM
Memory Compatibility Help Khiana General Tech Discussion 2 October 30th, 2004 06:05 PM
Compatibility carajean206 General Tech Discussion 1 August 14th, 2004 10:04 AM
Question about compatibility bhath19 General Tech Discussion 5 June 17th, 2003 05:01 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Making Health Care Worse (174)
Is It Just Me? (2938)
The disrespect of Obama by Russian .. (23)
Wireless Televisions. (12)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (5)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Recent Discussions
For Sale BFG GTX285 OC2 with 10 year .. (3)
Point and Shoot Camera Suggestions. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Graphics Card Upgrade Question (3)
Laptop with wireless problem. (2)
Internet Lost (1)
Hp Artist Edition + Matching Bag (0)
My monitor won't turn on after instal.. (0)
Asus P4G8X Mobo (6)
radeon x850xt platinum & shader 3 (5)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
windows 7 internet problem (5)
Multiple Restarts Required at Boot (0)
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)
Have you switched yet? (86)
screen resolution vs monitor size (2)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)


All times are GMT -4. The time now is 09:36 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28