View Full Version : CSS Affecting Elements Of My Page

04-04-2007, 01:02 PM
Below is a sample of my CSS page, I'm having an issue with the floats that are commented out, they are affecting my th even though I haven't actually classed anything in my html... Any ideas?

/* CSS Document */

body {
margin: 0;
padding: 0;
background-color: #000;
color: white;
font-family: "Lucida Grande";
font-size: x-small;
table.outer {
border:1px solid #fff;
width: 178px;
/*.left {
float: left;
.right {
float: right;
table {
clear: right;
width: 700px;
line-height: 1.4em;
border-collapse: collapse;
border: 1px solid #000;
color: white;
background: #000;
font-family: "Lucida Grande";
font-size: x-small;

04-04-2007, 01:21 PM
Can you post a link? or at leas the whole thing (HTML AND CSS)?

04-04-2007, 01:47 PM
Is this ok? You'll see that the 'main' table class has now grey borders, before I set up the 'outer' table class these were black. Also the link's in the <th> aren't working correctly... http://www.curiousclothing.com/css_test.php