Click to See Complete Forum and Search --> : Table Border Issues


angelicnoir
06-02-2007, 05:26 PM
This question pertains to this page I am working on:

http://www.botanaandgomez.com/test_site/calendar.htm

As you can see, there is a 1px border around the main table that contains the site's information and no borders in the cells. I used the following CSS:

table
{
border-color: #000000;
border-width: 1px;
border-style: solid;
}

td { border-style: none;
font-family: verdana, arial;
color: #000000;
font-size: 12px; }

As you can see, because it's in the CSS, the cell borders in the calendar also disappears.

How can I keep the borders in the calendar and keep my CSS code for the whole website?

Any and all help is GREATLY appreciated! ^_^

bathurst_guy
06-02-2007, 08:14 PM
Give the calandar and id and apply the able styles that you require for it.
<table id="calandar">
<style>
#calandar {
border-color: #red;
}

etc

angelicnoir
06-02-2007, 10:15 PM
Give the calandar and id and apply the able styles that you require for it.
<table id="calandar">
<style>
#calandar {
border-color: #red;
}

etc

Thanks so much! All is well with the calendar. ^_^

Never used IDs or classes before. Classes seemed daunting to me for some reason. Anyway, thanks again!