Computing.Net > Forums > Web Development > css question

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

css question

Reply to Message Icon

Name: FBI Agent
Date: June 22, 2004 at 12:48:53 Pacific
OS: WIN XP
CPU/Ram: 1.79Ghz/ 384 RAM
Comment:

<table border='1' bordercolor='#ffffff' width='76%'>
<td width='10%' bordercolor='#000000'><center>Name</center></td>

how would you guys go about using css on this.
i tried it and it doesnt work the same way. this is what i have

table {border: 1;border-color: #ffffff;width: 76%;font-weight: bold;font-family: Eurostile;}
td {border: 1;border-color: #000000;text-align: center}
td.name {color: #c00000;}
<td class="name">Name</td>

FBI_Agent




Sponsored Link
Ads by Google

Response Number 1
Name: jam14online
Date: June 22, 2004 at 12:57:53 Pacific
Reply:

It would be best if you carefully described in words what you would like to accomplish. You have used both HTML formatting and styling tags with CSS. I recommend solely CSS otherwise you may find you get annoying errors.


James



0

Response Number 2
Name: FBI Agent
Date: June 22, 2004 at 13:14:13 Pacific
Reply:

ummm... thats not what i was looking for.

this is what i had

<table border='1' bordercolor='#ffffff' width='76%'>
<td width='10%' bordercolor='#000000'><center>Name</center></td>


changed it to this

table {border: 1;border-color: #ffffff;width: 76%;font-weight: bold;font-family: Eurostile;}
td {border: 1;border-color: #000000;text-align: center}
td.name {color: #c00000;}

<td class="name">Name</td>

but it doesnt work. anyone know why? its the tables that arent working.

FBI_Agent


0

Response Number 3
Name: b0red
Date: June 22, 2004 at 13:17:58 Pacific
Reply:

Try

border: 1px solid #000000;

instead of just border.


0

Response Number 4
Name: anonproxy
Date: June 22, 2004 at 18:13:03 Pacific
Reply:

I don't usually spend too much time on tables and CSS. It's an exercise in patience.

.table
{
border-width:1;
border-color:red;
width: 76%;
font-weight: bold;
font-family: Eurostile;
text-align: center;
}

.cell
{
border-width: 1;
border-color: #000000;
text-align: center;
}

.cell1
{
border-width:1;
border-color: #000000;
text-align: center;
color: #c00000;
}



0

Response Number 5
Name: FBI Agent
Date: June 23, 2004 at 07:03:36 Pacific
Reply:

anaproxy, thats exactly the same ting that i have.

b0red, thanks for the tip, it works now. i dont need all that mumbo jumbo anymore

FBI_Agent


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: css question

css question www.computing.net/answers/webdevel/css-question/508.html

css question www.computing.net/answers/webdevel/css-question/2048.html

Simple CSS help? www.computing.net/answers/webdevel/simple-css-help/228.html