|
jaybee -> RE: overwhelmed (4/19/2006 14:32:58)
|
Yes and no. [:D] If you look at one of your current sites you'll see that in the code Each page has the same stuff in it over and over again. Each header has a font colour, each table has layout info, each picture has border info and so on. The idea is that css removes all of that into a separate file so what is in your page is the table, the picture, the H1 text. You call the css file in at the top of each page so if you suddenly decide to change all your H1 from red to blue, you just change one line in the css file rather than every page on the site. Now, it's also possible to get rid of tables completely and use css for the layout. As you have a very large site to do, and I assume a deadline, I'd work with the tables and just style the page with css. You're using Dreamweaver and I'm not sure but I think 2004 has a css capability. Take a look through your help files and see if it's there, if so, turn it on and do a test page. Here's an example of a fairly short page I did for a client. Take a look at the source code behind the page. I've laid it out using css as well as styled it. There are no tables only divs. There are no font sizes or colours, they're all in the css which is called at the top with <link rel="stylesheet" type="text/css" href="css/main.css"/> this is what's in the css. It also contains stuff for all the other pages on the site. html {height:100%; max-height:100%; overflow:hidden; padding:0; margin:0; border:0; background:#2d73b9; font-size:80%; font-family:verdana, tahoma, arial, sans-serif; color:#000080;}
body {height:100%; max-height:100%; overflow:hidden; background:#2d73b9; padding:0; margin:0; border:0;}
#head {position:absolute; margin:0; top:0; left:30%; display:block; width:65%; height:95px; background: #fffdda; background-repeat:no-repeat; font-size:4em; z-index:4; color:#fffdda; margin-top:20px;text-align:center;}
#foot {position:absolute; margin:0; bottom:0; left:0; display:block; width:95%; height:20px; background:#2d73b9; font-size:0.8em; z-index:7; text-align:right; color:#000080;}
* html #left1, * html #left2 * html #left4{height:100%; top:0; bottom:0; border-top:20px solid #2d73b9;}
* html #left3 {height:97%; top:0; bottom:0; border-top:80px solid #2d73b9;}
* html #left4{height:100%; top:0; bottom:0; border:0;}
#left1 {position:absolute; top:20px; bottom:30px; left:0; width:15%; font-size:1em; z-index:6; overflow:auto; background-image: url('../images/Image3.jpg'); background-repeat: no-repeat;}
#left2 {position:absolute; top:20px; bottom:30px; left:15%; width:15%; font-size:1.1em; z-index:6; overflow:auto; background:#2d73b9;}
#left3 {position:absolute; top:90px; bottom:30px; left:30%; width:65%; font-size:1em; z-index:3; overflow:auto; background:#fffdda; padding-top:20px; text-align:center;}
#left4 {position:absolute; top:20px; bottom:30px; left:95%; width:5%; font-size:1em; z-index:6; overflow:auto; background:#2d73b9;}
.inner {display:block; padding:0 10px 10px 10px;}
.innernav {display:block; padding:100px 0 0 0;}
.innerright {display:block; padding:0 0 0 0;}
.bold {font-size:1em; font-weight:bold;}
.backwards {unicode-bidi:bidi-override; direction: rtl; color:#c00;}
a:link {color:#fffdda;}
.navigation a {display: block; color:#fff99d; padding-bottom:10px; padding-left:9px; text-decoration: none; font-weight:bold;}
.navigation a:link.current, .navigation a:visited.current {color:#2d73b9;}
.navigation a:hover {background-color:transparent; color:#000080}
.navigation a:hover.current {background-color:transparent; color:#2d73b9; cursor:default}
.imgleft {float:left;}
.imgright {float:right;}
img{border:0;margin-top:15px;}
ul {font-weight:bold;}
em {font-size:0.8em;}
h5 {margin:0;}
table{text-align:center;width:75%; font-size:1em; margin-left:auto;margin-right:auto;}
.formtab{text-align:center;}
td{font-size:1em; font-weight:bold;text-align:left;}
.coltd{font-size:1em; font-weight:bold;text-align:right;border: 0;}
#left3 a {color: #2d73b9;font-weight:bold;font-size:0.9em;}
#left3 a:visited {color: #000080;font-weight:bold;text-decoration:none;font-size:0.9em;}
#left3 a:hover {color: #ff9900;font-weight:bold;text-decoration:none;font-size:0.9em;}.inner a {color: #2d73b9;font-weight:bold;font-size:0.9em;} The styles are applied in the code using id= or class= The complex part is layout with css so stick to tables or whatever Dreamweaver decides to do if 2004 handles it.
|
|
|
|