473,326 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

css not putting border on top table row

i have a page that is showing the table and font text correctly, but the table border for the first row is not showing up . i can't find what's wrong.

html code:
[html]
<table width="90%" border="0" align="center" class="eventlistTable">
<tr class="eventlistTableRowBorder">
<td>Date</td>
<td>Description</td>
<td>Time</td>
<td>Available</td>
<td>Buy</td>
</tr>
<tr>
<td> blah blah blah</td>
</tr>
</table>
[/html]

external css snippet:
Expand|Select|Wrap|Line Numbers
  1. .eventlistTable
  2. {
  3.     border: 1px solid #aaaacc;
  4. }
  5. tr.eventlistTableRowBorder
  6. {
  7.     border-bottom: 1px solid #aaaacc;
  8.     font-weight: bold;
  9.     border-bottom-color: #00FF00;
  10. }
  11.  
  12.  
Dec 15 '07 #1
1 1654
drhowarddrfine
7,435 Expert 4TB
The problem is that the tables normal borders interfere with the CSS styled borders. Add 'border-collapse:collapse' to your table style and it will show. However, this may require readjusting your other border styling.
Dec 15 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: newtda | last post by:
What I am trying to do is when the user clicks on the date th month/date/year appears in the text box like this: 1/15/2004. Ho would I do this. This is not home work, but it is for a client o...
0
by: yurps | last post by:
Hello here is my html, if you click the missing image in the first column on the left, the div is shown, when clicked again the div disappears...but the bottom border disappears as well...Is there...
1
by: nagamalli26 | last post by:
hai iam new php. i am creating admin side. i wrote this, phpcode: <?php //include_once("config.php"); $con=mysql_connect("localhost","root",""); mysql_select_db("happysalary"); ?>
0
by: bl0ndiegurl14 | last post by:
I want to put my myspace comment box beside my dizzler music player my comment box keeps going underneath it. this is the codes to both the objects if somone could make a code where they go side...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.