Duke Will
08-28-2003, 04:38 PM
I started building this web page a couple of days ago and now I keep adding and adding. I've got the centering goofed up. The page is here (http://www.wepay.com).
I asked in the javascript forum about making a graph that would advance as donations came in. A guy on there showed me some HTML and I modified it and put it in there. I was tweaking what he did and trying to incorporate this into my page. Before his code addition, I already had...
<style type="text/css">
<!--
body {font-family:Arial, sans-serif}
-->
</style>
...and I combined it with his STYLE code (for the bar chart deal) like below. Is this permissible?
<style type="text/css">
<!--
body {font-family:Arial, sans-serif}
td,th {vertical-align:bottom;text-align:center;padding:7px;}
#bar1 {height:21px;width:20px;border:2px ridge red;background:red;}
#bar2 {height:100px;width:20px;border:2px ridge blue;background:blue;}
-->
</style>
EDIT: NOTE, I temporarily changed the above...
td,th {vertical-align:bottom;text-align:center;padding:7px;}
...to...
td,th {vertical-align:bottom;text-align:left;padding:7px;}
My alignment got all screwed up. Within the box toward top where it says "Kyle Photo Soon"... it was centered within that box. Not now. And I had the chart table centered within the page but not now. And it seems my left margin between the left text edge and the blue is closer now... seems I used to have more space there... between the text and blue and left and right. Maybe I need a cellpadding deal... I don't think i have that in the main table. I know enough to be dangerous.
I've commented out some stuff that I didn't have time to fix, so if you look, disregard. Any advice is appreciated.
I asked in the javascript forum about making a graph that would advance as donations came in. A guy on there showed me some HTML and I modified it and put it in there. I was tweaking what he did and trying to incorporate this into my page. Before his code addition, I already had...
<style type="text/css">
<!--
body {font-family:Arial, sans-serif}
-->
</style>
...and I combined it with his STYLE code (for the bar chart deal) like below. Is this permissible?
<style type="text/css">
<!--
body {font-family:Arial, sans-serif}
td,th {vertical-align:bottom;text-align:center;padding:7px;}
#bar1 {height:21px;width:20px;border:2px ridge red;background:red;}
#bar2 {height:100px;width:20px;border:2px ridge blue;background:blue;}
-->
</style>
EDIT: NOTE, I temporarily changed the above...
td,th {vertical-align:bottom;text-align:center;padding:7px;}
...to...
td,th {vertical-align:bottom;text-align:left;padding:7px;}
My alignment got all screwed up. Within the box toward top where it says "Kyle Photo Soon"... it was centered within that box. Not now. And I had the chart table centered within the page but not now. And it seems my left margin between the left text edge and the blue is closer now... seems I used to have more space there... between the text and blue and left and right. Maybe I need a cellpadding deal... I don't think i have that in the main table. I know enough to be dangerous.
I've commented out some stuff that I didn't have time to fix, so if you look, disregard. Any advice is appreciated.