|
lilblackgirl -> RE: class vs. id (3/12/2004 17:53:52)
|
Ok, ladies and gentlemen, i've got some things to show you and some questions to ask. Normally, I'd publish everything and then just direct you to those links, but my host seems to have fallen off the face of the earth, so i'll need to post it all here. Here is the original layout done with tables (and it's rough, so bear with me): <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>xaostwentyone - changing your concept of webdesign</title> <link href="xaos.css" rel="stylesheet" type="text/css"> </head> <body topmargin="0" leftmargin="0"> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="760" id="AutoNumber1"> <tr> <td width="100%" colspan="3" height="2"> </td> </tr> <tr> <td width="100%" colspan="3"> <img border="0" src="images/title.gif" width="760" height="80"></td> </tr> <tr> <td width="150" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3"> <tr> <td width="100%" class="main-back"><a href="index.html">Home</a></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber4"> <tr> <td width="100%" class="menu-back">Webwork</td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5"> <tr> <td width="100%" class="menu-back">Graveyard</td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber6"> <tr> <td width="100%" class="menu-back">Favorites</td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber7"> <tr> <td width="100%" class="menu-back">Demos & Extras</td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9"> <tr> <td width="100%" class="menu-back">Focus</td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9"> <tr> <td width="100%" class="menu-back">Contact</td> </tr> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3"> <tr> <td width="100%" class="main-backnav">More Information</td> </tr> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9"> <tr> <td width="100%" class="menu-back">See the FAQ</td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9"> <tr> <td width="100%" class="menu-back">Active since 01/2002</td> </tr> <tr> <td width="100%" class="menu-back"> </td> </tr> <tr> <td width="100%" class="menu-back"> </td> </tr> <tr> <td width="100%" class="menu-back"> </td> </tr> <tr> <td width="100%" class="menu-back"> </td> </tr> <tr> <td width="100%" class="menu-back"> </td> </tr> <tr> <td width="100%" class="menu-back"> </td> </tr> </table> </td> <td width="410" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber16"> <tr> <td width="100%" class="main">xaostwentyone ></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber17"> <tr> <td width="100%" class="center-back"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber18"> <tr> <td width="100%" class="menu-back2"><p align="center"> Websites that are easy to navigate and pleasant to the senses.<br> This is what xaostwentyone is about. <p align="center"> No blaring oddities, no harsh content, no reason <br> not to come back to see more. <br> This is the goal of xaostwentyone web design.<p align="center"> Take a few minutes to navigate xaos via the links below to see past and <br> current work and decide what's most important to you in a website.<p align="center"> <b>oddity or quality?</b><p align="center"> Contact me when you're ready for the next step in quality web design.<br> <a href="mailto:xaos21@sbcglobal.net">xaos21@sbcglobal.net</a></font><p> </td> </tr> </table> </td> </tr> </table> </td> <td width="200" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10"> <tr> <td width="100%" class="main-back">Recent Updates and News</td> </tr> </table> <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber11"> <tr> <td width="100%" class="menu-back1"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="100%" class="menu-back2"> <p align="left">Newest updates to xaostwentyone available right here!<br> -------------------------------<br> Check out the Tools section for tips and tricks as well as scripts and favorite links to helpful design sites so you too can build an impressive and appealing website!|</td> </tr> </table> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber13"> <tr> <td width="100%" class="main-backnav">Like to make a Difference?</td> </tr> </table> <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber14"> <tr> <td width="100%" class="menu-back1"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15"> <tr> <td width="100%" class="menu-back2">It's the silly season and there are a lot of unhappy people in the world. A lot of hungry people. A lot of kids that won't be receiving presents this holiday season. If you want to make a child's Christmas morning memorable, check out <a class="panel-link" target="_blank" href="http://www.penny-arcade.com/childsplay/"> Child's Play</a>.</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" colspan="3" class="menu-back"> </td> </tr> </table> </center> </div> <p> </p> </body> </html> ___________________________________________________________________ And here is the new, completely handwritten code that i just did: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.ort/TR/html4/loose.dtd"> <html> <head> <title>xaostwentyone</title> <link href="xaos.css" rel="stylesheet" type="text/css"> </head> <body> <div id="frame"> <div id="header"> <img alt="" src="images/title.gif" width="760" height="80"/><br> </div> <div id="navheader"> <a href="index.html">Home</a><br> </div> <div id="navigation"> <a href="webwork.html">Webwork</a><br> </div> <div id="navigation"> <a href="graveyard.html">Graveyard</a><br> </div> <div id="navigation"> <a href="demos.html">Demos & Extras</a><br> </div> <div id="navigation"> <a href="favorites.html">Favorites</a><br> </div> <div id="navigation"> <a href="contact.html" class="current">Contact Me</a> </div> <div id="main"> <p>xaos >></p> <div id="menu-back2"> <p><center>Websites that are easy to navigate and pleasant to the senses.<br> This is what xaostwentyone is about.<br><br> No blaring oddities, no harsh content, no reason<br> not to come back to see more.<br> This is the goal of xaostwentyone web design.<br><br> Take a few minutes to navigate xaos via the links below to see past and <br> current work and decide what's most important to you in a website.<br><br> <b>oddity or quality?</b><br><br> Contact me when you're ready for the next step in quality web design.<br><br> <a class="panel-link" href="mailto:xaos21@sbcglobal.net">xaos21@sbcglobal.net</a></center></p> </div> </div> </body> </html> __________________________________________________________________ And here is the CSS (which works for both): #frame { width:760px; margin-right:auto; margin-left:auto; margin-top:0px; padding:0px; text-align:left; } #navigation { WIDTH: 150PX; VALIGN: TOP; DISPLAY: BLOCK; BORDER-RIGHT: #333366 1px solid; BORDER-TOP: #91A3BD 1px solid; PADDING-LEFT: 10px; FONT-WEIGHT: normal; FONT-SIZE: 11px; BORDER-LEFT: #6699cc 1px solid; COLOR: #ffffff; BORDER-BOTTOM: #333366 1px solid; FONT-FAMILY: Arial; BACKGROUND-COLOR: #61799C; TEXT-DECORATION: none; font-stretch : condensed; } #navheader { WIDTH: 150PX; VALIGN: TOP; DISPLAY: BLOCK; BORDER-RIGHT: #333366 1px solid; BORDER-TOP: #61799C 1px solid; PADDING-LEFT: 10px; FONT-WEIGHT: normal; FONT-SIZE: 11px; BORDER-LEFT: #6699cc 1px solid; COLOR: #ffffff; BORDER-BOTTOM: #333366 1px solid; FONT-FAMILY: Arial; BACKGROUND-COLOR: #3A5070; TEXT-DECORATION: none; font-stretch : condensed; } #main { WIDTH: 410PX; FLOAT: LEFT; FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Arial; PADDING-LEFT: 10px; BACKGROUND-COLOR: #ffffff; TEXT-DECORATION: none; font-stretch : condensed; } #menu-back2 { BORDER-RIGHT: #3A5070 1px solid; BORDER-TOP: #3A5070 1px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; PADDING-TOP: 5px; PADDING-BOTTOM: 5px; FONT-WEIGHT: normal; FONT-SIZE: 11px; BORDER-LEFT: #3A5070 1px solid; COLOR: #000000; BORDER-BOTTOM: #3A5070 1px solid; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ffffff; TEXT-DECORATION: none; font-stretch : condensed; } a:link { FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial; TEXT-DECORATION: none; font-stretch : condensed; } a:visited { FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial; TEXT-DECORATION: none; font-stretch : condensed; } a:active { FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial; TEXT-DECORATION: none; font-stretch : condensed; } a:hover { FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial; TEXT-DECORATION: none; font-stretch : condensed; } a.panel-link:link { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #000; FONT-FAMILY: Arial; TEXT-DECORATION: underline; font-stretch : condensed; } a.panel-link:visited { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #3A5070; FONT-FAMILY: Arial; TEXT-DECORATION: underline; font-stretch : condensed; } a.panel-link:active { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #3A5070; FONT-FAMILY: Arial; TEXT-DECORATION: underline; font-stretch : condensed; } a.panel-link:hover { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #61799C; FONT-FAMILY: Arial; TEXT-DECORATION: underline; font-stretch : condensed; } ________________________________________________________________ And now my questions: 1. In the 2nd page, how do i get the details to the middle? The chit-chat that is sitting below the nav should be off to the right, but for the life of me, i can't seem to get it over there. 1.5. How do i get rid of the space between the 'xaos >>' and the line that starts the chat? 2. In the 2nd page, is there a way to create the navigation without having to set up separate <div>'s for each line to creat the boxed effect i want? 3. In the content (referenced in 1st question), to center the content, is there a way around having to place <br> at every line and twice for a full line break? 4. Can a graphic (like the title gif) be set up in the CSS instead of the <html>? I can see why all of you do it this way. This is completely addictive. And I haven't hand coded anything (from scratch) in years. I forgot how much i miss it and realize how lazy and dependant i've become on FP. And please, any comments. LEMME HAVE IT! thanks, Lil
|
|
|
|