I'm creating a site for my dad and I haven't coded pages in at least a decade. I've been looking over w3 schools and I have a shitty temp thing set up right now, but I have a few questions-
1) Does IE not recognize index phps? I can pull up the site just fine in FF, but the site doesn't load at all in IE- I just get a blank done screen.
2) Centering tables in CSS- I know the </font> tag is being done away with, and I've been trying a few varieties of CSS table centering that I've found using google, but I'm not exactly sure where to put them because when I use them, it's incorrect and the changes don't occur.
http://www.granneman.com/webdev/codi.../centertables/
do I put the " table.center{ " stuff in the head portion of the code, or right before the table? Same with the body text?
thanks if I have more questions I'll dump them here as well
1) Does IE not recognize index phps? I can pull up the site just fine in FF, but the site doesn't load at all in IE- I just get a blank done screen.
2) Centering tables in CSS- I know the </font> tag is being done away with, and I've been trying a few varieties of CSS table centering that I've found using google, but I'm not exactly sure where to put them because when I use them, it's incorrect and the changes don't occur.
http://www.granneman.com/webdev/codi.../centertables/
To center a table, you need to set the margins, like this:
table.center {margin-left:auto; margin-right:auto;}
And then do this:
<table class="center">
...
</table>
At this point, Mozilla and Opera will center your table. Internet Explorer 5.5 and up, however, needs you to add this to your CSS as well:
body {text-align:center;}
table.center {margin-left:auto; margin-right:auto;}
And then do this:
<table class="center">
...
</table>
At this point, Mozilla and Opera will center your table. Internet Explorer 5.5 and up, however, needs you to add this to your CSS as well:
body {text-align:center;}
thanks if I have more questions I'll dump them here as well
Comment