I've recently started doing web design using CSS to control the layout, but I keep running into trouble with a few things >.<;
edit - I figured out some of the problems I was having, but still need help on two >.<;
Firstly, here is my HTML and CSS for the webpage:
Code:/* CSS for My Portfolio */ /* Overall Site Properties */ body { font-family: verdana, helvetica, arial, sans-serif; background-color: #abcdef; text-align:center; padding: 0; } /* Container Property */ #container { width:800px; margin-left:auto; margin-right:auto; text-align:left; } /* Header Properties */ #header { height: 150px; text-align: right; position: relative; top: 20px; } /* Navigation Properties */ #navigation { background-color:#FFFF99; width: 800px; height: 40px; } #navigation ul { margin: 0; padding: 0; list-style: none; } #navigation li { margin: 10px; padding: 0; float: left; position: relative; top: -30px; } /* Navigation Link Properties\ */ #navigation img { border: none; } /* Main Contents Properties */ #content { background-color:#FFFFFF; min-height: 500px; } #bodycopy { float: left; position: absolute; width: 598px; min-height: 500px; padding-left: 5px; } #sidebar { background-color: #CCCC99; float: right; position: relative; width: 200px; min-height: 500px; padding-left: 5px; } /* Footer Properties */ #footer { background-color:#FFFF99; height: 50px; text-align: center; padding-bottom: 15px; padding-top: 1px; }I had to remove the links because of the stupid ruling this forum has, and I can't add screenshots either xP so I can't visually show my problem.Code:<body> <div id="container"> <div id="header"> <img src="images/navicon1.gif" height="150px" width="400px" alt="Logo"/> </div> <div id="navigation"> <ul> <li class="nav"><img src="images/navicon1.gif" height="40px" width="40px" alt="Home" /></li> <li class="nav"><img src="images/navicon1.gif" height="40px" width="40px" alt="About" /></li> <li class="nav"><img src="images/navicon1.gif" height="40px" width="40px" alt="Gallery" /></li> <li class="nav"><img src="images/navicon1.gif" height="40px" width="40px" alt="Contact" /></li> <li class="nav"><img src="images/navicon1.gif" height="40px" width="40px" alt="Link" /></li> </ul> </div> <div id="content"> <div id="bodycopy"> <h2>Update</h2> <h3>27/04/09, 2.45pm</h3> <p>Information here :) </div> <div id="sidebar"> <h2>Welcome</h2> <p>This is the personal portfolio of Chloe Runco, containing design work from my past courses and industry experience - including company branding and stationary, advertising, photography, vector designs, and pixel art. </div> </div> <div id="footer"> <p>All content © Tre Le Coco 2006-2009 <br>| Site Map | FAQ | Contact | Commission | Link | </div> </div> </body> </html>
For some reason, the footer looks different between IE and FF - IE looks fine, but in FF the text within the footer seems to be pushed down to the bottom, how can i get it back up and sit in the middle?
Another thing I would like help with, i've most likely coded the navigation links wrong for this, but when a person hovers their mouse over the image im using for my links, i want it to change to another image, how do i do this using the CSS? I know how to do it with text in that section instead of an image, so its confused with it now >.<;
I thank anyone who can help me out with this! Truly grateful![]()




) but if that doesn't work, I will have a look later.






Bookmarks