Jump to content

[SOLVED] PHP sorted, now I need some css guidance


dmccabe

Recommended Posts

I am trying to make a table look nice, but my design and php skills leave a lot to be desired (see attached).

 

Also my CSS knowledge is somewhat limited, so I am after some advice to make this look better on the screen really.

 

Here is my CSS for this table as it stands:

 

table {
text-align: center;
width: 90%;
text-align: center;
font: 11px/24px Verdana, Arial, Helvetica, sans-serif;
margin: 0px auto;
border: 1px;

}

th {
padding: 0 0.5em;
text-align: left;
font-weight: bold;
font-size: 1.2em;
}

td {
border-left: 1px solid #CCC;
border-right: 1px solid #CCC;
padding: 0 0.5em;
}

h3.firstletter {
font-size: 20px;
font-weight: bold;
text-align: left;

}
td.firstletter {
height: 30px;
border: none;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}

td.small {
width: 2px;
padding: 0 0 0 0;
margin: 0 0 0 0;
}

td.contacts {
text-align: left;
width: 200px;
padding: 10px 0px 10px 20px;
margin: 0 0 0 0;
}

 

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

The question is too broad. If you have some specific questions on things you are having troubles getting to work, I think you will find that many people here will be very helpful. But with a broad subject like you gave, you most likely won't get much in the way of responses.

 

Also, CSS without the HTML doesn't tell us much of anything. We need the HTML to see how the CSS fits together.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.