My site has in the header.php file
______________________
media="screen" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<style type="text/css"> textarea {width:50%;} </style>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
</head>
<body>
<div id="contentheader">
<table cellpadding="0" cellspacing="0">
<tr align="center">
<td>ACTUAL SOLUTIONS</td>
<td class="dots">::</td>
<td>ACTUAL CURES</td>
</tr>
</table>
</div>
__________________________________
in the CSS is
_________________________________
div#contentheader {
padding:1.2em 140px;
background-color:#BFBFFF;
}
div#contentheader table {
width:100%;
}
div#contentheader table td {
font-size:1.2em;
color:#3F3F7F;
font-weight:bold;
}
______________________________
I added this to the new CSS code
_______________________________
div.c2 {width: 100%;}
div.c1 {float: left; width: 33%;}
_______________________________
and in the header I replaced the HTML table with this new code
________________________________
<div class="c2">
<div class="c1"> Actual Solutions</div>
<div class="c1"><em>::</em></div>
<div class="c1">Actual Cures </div>
</div>
______________________________________
The new code validates on it's own, but when placed it in my website, something I'm doing wrong is not allowing the new code to work.
All I'm trying to do is replace an html table with CSS.
Have any idea why the new code isn't working on my site?
Thanks,
JillQ
______________________
media="screen" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<style type="text/css"> textarea {width:50%;} </style>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
</head>
<body>
<div id="contentheader">
<table cellpadding="0" cellspacing="0">
<tr align="center">
<td>ACTUAL SOLUTIONS</td>
<td class="dots">::</td>
<td>ACTUAL CURES</td>
</tr>
</table>
</div>
__________________________________
in the CSS is
_________________________________
div#contentheader {
padding:1.2em 140px;
background-color:#BFBFFF;
}
div#contentheader table {
width:100%;
}
div#contentheader table td {
font-size:1.2em;
color:#3F3F7F;
font-weight:bold;
}
______________________________
I added this to the new CSS code
_______________________________
div.c2 {width: 100%;}
div.c1 {float: left; width: 33%;}
_______________________________
and in the header I replaced the HTML table with this new code
________________________________
<div class="c2">
<div class="c1"> Actual Solutions</div>
<div class="c1"><em>::</em></div>
<div class="c1">Actual Cures </div>
</div>
______________________________________
The new code validates on it's own, but when placed it in my website, something I'm doing wrong is not allowing the new code to work.
All I'm trying to do is replace an html table with CSS.
Have any idea why the new code isn't working on my site?
Thanks,
JillQ