| | |
Border problems. Not working in Firefox
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jan 2008
Posts: 3,818
Reputation:
Solved Threads: 501
I've been designing a Tic-Tac-Toe game using a 3 x 3 table. Different cells will have different borders: border-right will exist for left two columns cells, border-bottom will exist for top two rows of cells. It's working the way I think it should in Internet Explorer, but not in Firefox. There is a red line in the Internet Explorer table, which is what I want (I made a single red line just to demonstrate here), but not int Firefox. Please see the code and the two photos. The relevant line is line 26. The
border-bottom appears to have no effect in Firefox. HTML Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <table width="586" height="493" border="15" cellpadding="0" cellspacing="0" bordercolor="#9933CC"> <tr> <td bordercolor="#6666FF"> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td style="border-bottom:thick #CC3333" bordercolor="#33FF00"> </td> </tr> </table> <p> </p> <p> </p> <p> </p> <p> </p> </body> </html>
html Syntax (Toggle Plain Text)
<table rules='all' border='0'> <tr><td>X<td> <td> <tr><td> <td>X<td> <tr><td>O<td>O<td>X </table>
Last edited by almostbob; Jan 18th, 2009 at 1:47 am.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: Nov 2007
Posts: 45
Reputation:
Solved Threads: 1
Just change line 26 to this: (tested in Firefox 3.0.5 under Linux)
This gives a cell with green borders and a thicker red bottom border.
HTML and CSS Syntax (Toggle Plain Text)
<td style="border:thin solid #33ff00; border-bottom:thick solid #CC3333"> </td>
![]() |
Similar Threads
- difference between IE and Firefox (PHP)
- Div width and list margin problem (HTML and CSS)
- Help with automatic update problem and more (Viruses, Spyware and other Nasties)
- Help! Tab content not working in FF (JavaScript / DHTML / AJAX)
- Newbie in IE hell (Site Layout and Usability)
- Navbar Transparency Issue (JavaScript / DHTML / AJAX)
- javascript works in IE but not working in firefox (JavaScript / DHTML / AJAX)
- printing webpages (JavaScript / DHTML / AJAX)
Other Threads in the HTML and CSS Forum
- Previous Thread: Image move/replace with description change.
- Next Thread: Can i preload a powerpoint ?
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






