View Full Version : Cell Border

12-12-2006, 02:17 AM
For some reason, my cell border isn't working.

border-bottom: 1px solid black;

<table><tr><td class="lefthead">blablablabla</td></tr></table>

12-12-2006, 07:22 AM
The following test case looks fine to me in Firefox 2, Internet Explorer 6 and 7, and Opera 9. I don’t see your issue.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="Author" content="Patrick Garies"/>
<title>XHTML 1 Strict Document</title>

<style type="text/css">
td.lefthead {
border-bottom: 1px solid black;


<td class="lefthead">Once upon a time…</td>


12-12-2006, 11:43 AM
That "some reason" may be found in the rest of you markup and styles that you didn't show; could you please provide the entire page, preferably online, or create a test page with the necessary markup and styles that shows the same problem?
Also, what browser did you experience this problem with?

12-12-2006, 07:06 PM
the only thing I did, is added the header (doctype and that xmlns stuff) that Arbitrator posted and it worked, on Firefox. IE is having issues. Any Ideas?