Raztat
08-22-2007, 03:29 PM
Hey I need help, when you resize the browser the logo runs out of the main body and into the nav bar, the text also runs into the nav bar. I was wondering how do I get this fixed. Also I do not have IE 6 could any one tell me if it looks ok in it?
The css code is below
/* CSS Document */
body {
background-color: #FFFFFF;
font-size:12px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
h1 {
color: #009900;
font-size: 16px;
font-family:Georgia, "Times New Roman", Times, serif;
}
div#wrapper {
width: 80%;
background-color:#FFFFFF;
margin-top: 50px;
margin-bottom: 50px;
margin-left: auto;
margin-right: auto;
padding: 0px;
border: thin solid #000000;
}
div#header {
padding: 15px;
margin: 0px;
text-align: center;
}
div#nav {
width: 25%;
padding: 10px;
margin-top: 1px;
float: left;
}
div#main {
margin-left: 30%;
margin-top: 1px;
padding: 10px;
}
div#footer {
padding: 15px;
margin: 0px;
}
p {
color: saddlebrown;
letter-spacing: 2px;
}
#footer {
font-size: 8px;
background-color: #8ec63f;
color: saddlebrown;
letter-spacing: 2px;
}
ul#navmenu {
margin : 0;
padding : 0;
list-style-type : none;
}
ul#navmenu li {
margin-bottom : 5px;
}
ul#navmenu a {
display : block;
width : 190px;
height : auto;
background : #003366 url(images/glossyback.jpg) repeat-x; /* CHANGED/ADDED THIS */
text-decoration : none;
color : #009900;
cursor : pointer;
}
ul#navmenu a:hover, ul#navmenu a:focus, ul#navmenu a:active,
ul#navmenu a.selected, ul#navmenu a.selected:hover, ul#navmenu a.selected:focus, ul#navmenu a.selected:active {
background : #333 url(images/glossyback2.jpg) repeat-x;
color : #009900;
}
ul#navmenu a.selected {
text-align : left;
cursor : default;
}
ul#navmenu a:hover, ul#navmenu a:focus, ul#navmenu a:active {
background : #333 url(images/glossyback2.jpg) repeat-x; /* CHANGED/ADDED THIS */
color : #fff;
}
The HTML for the index page is below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
<meta name="DC.title" lang="English" content="bkconway Designs" />
<meta name="DC.creator" content="Brandon Conway, Raztat" />
<meta name="DC.subject" lang="English" content="webmaster; Portfolio; Blog; Resume; web; sites; design; web design; build; games; computer; business;" />
<meta name="DC.description" lang="English" content="If you need a web site built or a for some one to watch over and update your web site you have come to the right place! Come on in to look at the services and prices." />
<meta name="DC.date" scheme="DCTERMS.W3CDTF" content="2007-08-16" />
<meta name="DC.type" scheme="DCTERMS.DCMIType" content="Text" />
<meta name="DC.format" content="text/html" />
<meta name="DC.format" content="3175 bytes" />
<meta name="DC.identifier" scheme="DCTERMS.URI" content="http://bkconway.com/index.html" />
<meta name="DC.language" scheme="DCTERMS.URI" content="English" />
<title>bkconway Designs</title>
<style type="text/css">
<!--
body {
background-image: url(images/background.jpg);
background-repeat: repeat-x;
}
-->
</style>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header"><img src="images/logo.jpg" width="600" height="125" /></div>
<div id="nav">
<h2>Navigation</h2>
<ul id="navmenu">
<li><a class="selected" href="index.html" >Home</a></li>
<li><a href="aboutme.html" >About me</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="contactme.html">Contact me</a></li>
<li><a href="blog.html">Blog</a></li>
</ul>
<!-- Google CSE Search Box Begins -->
<form id="searchbox_006323111285553971831:ogrdh2djabg" action="http://www.google.com/cse">
<input type="hidden" name="cx" value="006323111285553971831:ogrdh2djabg" />
<input type="hidden" name="cof" value="FORID:0" />
<input name="q" type="text" size="20" />
<input type="submit" name="sa" value="Search" />
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_006323111285553971831%3Aogrdh2djabg"></script>
<!-- Google CSE Search Box Ends -->
</div>
<div id="main">
<h1>Home</h1>
<p> You must be here to find some one to watch over and update your website once or twice a week or to build you a website to get your small business off the ground or just to show case your hobby. Or maybe you just want a flash movie on your site. You have come to the right place. Just contact me to find out prices and what not. I will be honored to help you. And by helping you, you are helping me improve my skills as a web designer.<br />
<br />
I have knowledge in the following:<br />
<br />
Html CSS Dreamweaver Photoshop Flash </p>
<p>I
am an upcoming web designer and Graphic Designer coming out of Spartanburg Community College. I'm working on becoming a freelance web designer and graphic artist. It is my goal to be the best designer and coder that I can be.</p>
<p>I'm in the process of teaching myself CSS, so I'm not the best at it yet, but soon I will be. I also plan to dabble in Php once I get a computer that has Linux running on it.</p>
<p align="left"> <img src="images/me.jpg" width="181" height="139" /><br />
</p>
</div>
<div id="footer"><p id="footer" align="center"><a href="index.html">Home</a> | <a href="aboutme.html">About me</a> | <a href="resume.html">Resume</a> | <a href="portfolio.html">Portfolio</a> | <a href="contactme.html">Contact me</a> | <a href="blog.html">Blog</a><br />
bkconway.com 2007 contact <a href="mailto:brandon@anythingmultimedia.com">webmaster</a></p>
</div>
</div>
</body>
</html>
Thanks for the help!
The css code is below
/* CSS Document */
body {
background-color: #FFFFFF;
font-size:12px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
h1 {
color: #009900;
font-size: 16px;
font-family:Georgia, "Times New Roman", Times, serif;
}
div#wrapper {
width: 80%;
background-color:#FFFFFF;
margin-top: 50px;
margin-bottom: 50px;
margin-left: auto;
margin-right: auto;
padding: 0px;
border: thin solid #000000;
}
div#header {
padding: 15px;
margin: 0px;
text-align: center;
}
div#nav {
width: 25%;
padding: 10px;
margin-top: 1px;
float: left;
}
div#main {
margin-left: 30%;
margin-top: 1px;
padding: 10px;
}
div#footer {
padding: 15px;
margin: 0px;
}
p {
color: saddlebrown;
letter-spacing: 2px;
}
#footer {
font-size: 8px;
background-color: #8ec63f;
color: saddlebrown;
letter-spacing: 2px;
}
ul#navmenu {
margin : 0;
padding : 0;
list-style-type : none;
}
ul#navmenu li {
margin-bottom : 5px;
}
ul#navmenu a {
display : block;
width : 190px;
height : auto;
background : #003366 url(images/glossyback.jpg) repeat-x; /* CHANGED/ADDED THIS */
text-decoration : none;
color : #009900;
cursor : pointer;
}
ul#navmenu a:hover, ul#navmenu a:focus, ul#navmenu a:active,
ul#navmenu a.selected, ul#navmenu a.selected:hover, ul#navmenu a.selected:focus, ul#navmenu a.selected:active {
background : #333 url(images/glossyback2.jpg) repeat-x;
color : #009900;
}
ul#navmenu a.selected {
text-align : left;
cursor : default;
}
ul#navmenu a:hover, ul#navmenu a:focus, ul#navmenu a:active {
background : #333 url(images/glossyback2.jpg) repeat-x; /* CHANGED/ADDED THIS */
color : #fff;
}
The HTML for the index page is below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
<meta name="DC.title" lang="English" content="bkconway Designs" />
<meta name="DC.creator" content="Brandon Conway, Raztat" />
<meta name="DC.subject" lang="English" content="webmaster; Portfolio; Blog; Resume; web; sites; design; web design; build; games; computer; business;" />
<meta name="DC.description" lang="English" content="If you need a web site built or a for some one to watch over and update your web site you have come to the right place! Come on in to look at the services and prices." />
<meta name="DC.date" scheme="DCTERMS.W3CDTF" content="2007-08-16" />
<meta name="DC.type" scheme="DCTERMS.DCMIType" content="Text" />
<meta name="DC.format" content="text/html" />
<meta name="DC.format" content="3175 bytes" />
<meta name="DC.identifier" scheme="DCTERMS.URI" content="http://bkconway.com/index.html" />
<meta name="DC.language" scheme="DCTERMS.URI" content="English" />
<title>bkconway Designs</title>
<style type="text/css">
<!--
body {
background-image: url(images/background.jpg);
background-repeat: repeat-x;
}
-->
</style>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header"><img src="images/logo.jpg" width="600" height="125" /></div>
<div id="nav">
<h2>Navigation</h2>
<ul id="navmenu">
<li><a class="selected" href="index.html" >Home</a></li>
<li><a href="aboutme.html" >About me</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="contactme.html">Contact me</a></li>
<li><a href="blog.html">Blog</a></li>
</ul>
<!-- Google CSE Search Box Begins -->
<form id="searchbox_006323111285553971831:ogrdh2djabg" action="http://www.google.com/cse">
<input type="hidden" name="cx" value="006323111285553971831:ogrdh2djabg" />
<input type="hidden" name="cof" value="FORID:0" />
<input name="q" type="text" size="20" />
<input type="submit" name="sa" value="Search" />
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_006323111285553971831%3Aogrdh2djabg"></script>
<!-- Google CSE Search Box Ends -->
</div>
<div id="main">
<h1>Home</h1>
<p> You must be here to find some one to watch over and update your website once or twice a week or to build you a website to get your small business off the ground or just to show case your hobby. Or maybe you just want a flash movie on your site. You have come to the right place. Just contact me to find out prices and what not. I will be honored to help you. And by helping you, you are helping me improve my skills as a web designer.<br />
<br />
I have knowledge in the following:<br />
<br />
Html CSS Dreamweaver Photoshop Flash </p>
<p>I
am an upcoming web designer and Graphic Designer coming out of Spartanburg Community College. I'm working on becoming a freelance web designer and graphic artist. It is my goal to be the best designer and coder that I can be.</p>
<p>I'm in the process of teaching myself CSS, so I'm not the best at it yet, but soon I will be. I also plan to dabble in Php once I get a computer that has Linux running on it.</p>
<p align="left"> <img src="images/me.jpg" width="181" height="139" /><br />
</p>
</div>
<div id="footer"><p id="footer" align="center"><a href="index.html">Home</a> | <a href="aboutme.html">About me</a> | <a href="resume.html">Resume</a> | <a href="portfolio.html">Portfolio</a> | <a href="contactme.html">Contact me</a> | <a href="blog.html">Blog</a><br />
bkconway.com 2007 contact <a href="mailto:brandon@anythingmultimedia.com">webmaster</a></p>
</div>
</div>
</body>
</html>
Thanks for the help!