Hey guys,
I’m new to CSS and have been browsing around the internet trying to learn all I can. I tested my page and got rid of all errors. I probably have not coded things as correctly as I should have.. Anyways, on my comp in Firefox I have gotten the page to look how I want it to(though I will probably make some changes later..) See picture 1 as the one I like. Now in Safari, and many other peoples comps the page gets all messed up, as you can see in picture 2. Any suggestions? The site is [url]www.coreybringas.com
-Corey
[upl-file uuid=19e30165-df66-45e9-b49b-468754cfff3e size=77kB]1.jpg
[upl-file uuid=cc42cf28-f92b-478d-a745-21f001850c75 size=67kB]2.jpg
[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
[/CODE]
[CODE]<meta http-equiv="Content-Type" content="text/html; charset=utf-8">[/CODE]
[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Corey Bringas, Director of Photography">
<meta name="keywords" content="Corey, Bringas, Corey Bringas, Director of Photography, Director, Photography, Cinematography, Cinematographer, Camera, Lens, Film, Filmmaker, Filmmakers, Mitchell, Cinema,35mm,16mm">
<meta name="author" content="Corey Bringas">
<title>Corey Bringas</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>Corey Bringas</h1>
<h2>Director of Photography</h2>
</div>
<div id="nav">
<ul>
<li><a href="#" class="current"><b>P</b>ROJECTS</a></li>
<li><a href="#"><b>N</b>EWS</a></li>
<li><a href="#"><b>R</b>EEL</a></li>
<li><a href="#"><b>A</b>BOUT <b>M</b>E</a></li>
<li><a href="#"><b>L</b>INKS</a></li>
<li><a href="#"><b>P</b>HOTOGRAPHS</a></li>
</ul>
</div>
<div id="content">
<ul id="gallery">
<li><a href="trails.html" title="Trails of Dust"><img src="tod.png" alt=""></a><b>T</b>RAILS <b>O</b>F <b>D</b>UST</li>
<li><a href="lonely_grave.html" title="The Lonely Grave"><img src="linus.png" alt=""></a><b>T</b>HE <b>L</b>ONELY <b>G</b>RAVE</li>
<li><a href="psychophobia.html" title="Psychophobia"><img src="psycho.png" alt=""></a><b>P</b>SYCHOPHOBIA</li>
<li><a href="powerade.html" title="Powerade Spec Commercial"><img src="powerade.png" alt=""></a><b>P</b>OWERADE</li>
<li><a href="darren.html" title="Darren Gunther S.A.T."><img src="darren.png" alt=""></a><b>D</b>ARREN <b>G</b>UNTHER</li>
<li><a href="fortes.html" title="Fortes"><img src="fortes.png" alt=""></a><b>F</b>ORTES</li>
</ul>
</div>
<div id="footer">Corey Bringas - Director of Photography - 858-705-4869 - [email protected]</div>
</div>
</body>
</html>
[/CODE]
[CODE]* {
margin: 0;
padding: 0;
}
body {
font-family: "Bernard MT Condensed", Arial, "Gill Sans";
font-size: 14px;
color: #FFFFFF;
background-color: #000000;
}
#wrapper {
width: 806px;
margin: 0 auto;
}
#header {
border-bottom: 2px solid #DDD;
overflow: visible;
padding-left: 140px;
}
#header h1 {
text-align: center;
font-size: 35px;
font-weight: normal;
}
#header h2 {
text-align: center;
font-size: 28px;
font-weight: normal;
margin-bottom: -5px;
}
#nav {
border-right: 2px solid #DDD;
float: left;
margin-top: -75px;
padding-top: 95px;
width: 120px;
}
#nav li {
list-style: none;
float: left;
margin-right: -10px;
padding-bottom: 60px;
}
#nav a {
font-family: "Century Gothic", "Gill Sans", Georgia, Arial;
color: #C0C0C0;
text-decoration: none;
font-size: 16px;
font-weight: bold;
float: left;
border-bottom: 2px solid #DDD;
clear: both;
width: 130px;
}
#nav a:hover {
color: #CCC;
}
#nav a b {
color: #FFFFFF;
font-size: 20px;
}
#nav a:hover b {
color: #C0C0C0;
}
#nav a.current, #nav a:hover.current {
color: #FFFFFF;
}
#content {
margin: 20px 0 0 140px;
}
#gallery {
width: 380px;
margin: 50px auto 0;
}
#gallery li {
list-style: none;
text-align: center;
float: left;
margin-right: 25px;
margin-bottom: 10px;
color: #C0C0C0;
font-size: 13px;
}
#gallery a {
display: block;
color: #FFFFFF;
}
#gallery a:hover {
color: #C0C0C0;
}
#gallery a img {
display: block;
border-color: #FFFFFF;
}
#gallery a:hover img {
border-color: #C0C0C0;
}
#gallery b {
color: #FFFFFF;
font-size: 14px;
}
#footer {
clear: both;
text-align: center;
font-size: 12px;
}
[/CODE]
[CODE]#header {
[COLOR="Blue"]border-bottom: 2px solid #DDD[/COLOR];
overflow: visible;
padding-left: 140px;
}
#nav {
[COLOR="Blue"]border-right: 2px solid #DDD[/COLOR];
float: left;
margin-top: -75px;
padding-top: 95px;
width: 120px;
}
#nav a {
font-family: "Century Gothic", "Gill Sans", Georgia, Arial;
color: #C0C0C0;
text-decoration: none;
font-size: 16px;
font-weight: bold;
float: left;
[COLOR="Blue"]border-bottom: 2px solid #DDD[/COLOR];
clear: both;
width: 130px;
}[/CODE]
[CODE] <div id="nav">
<ul>
<li><a href="#" class="current"><b>P</b>ROJECTS</a></li>
<li><a href="#"><b>N</b>EWS</a></li>
<li><a href="#"><b>R</b>EEL</a></li>
<li><a href="#"><b>A</b>BOUT <b>M</b>E</a></li>
<li><a href="#"><b>L</b>INKS</a></li>
<li><a href="#"><b>P</b>HOTOGRAPHS</a></li>
</ul>
</div>
[/CODE]
and nothing else - No doctype, NO head and body tags, JUST the menu code. Then in each page you "include" the menu with [CODE]<div id="wrapper">
<div id="header">
<h1>Corey Bringas</h1>
<h2>Director of Photography</h2>
</div>
[COLOR="Red"]<?php include('menu.html'); ?>[/COLOR]
<div id="content">
<ul id="gallery">
[/CODE]
[CODE] <div id="content">
<ul class="links">
<li><a href="http://www.thebuzzla.com">Ron Najor</a></li>
<li><a href="http://www.robinbuday.com">Robin Buday</a></li>
<li><a href="http://www.defiantfilms.net">Dave Gallegos</a></li>
<li><a href="http://www.dpjasonhafer.com">Jason Hafer</a></li>
<li><a href="http://www.demobrianthompson.com">Brian Thompson</a></li>
</ul>
<ul class="links">
<li><a href="http://www.jeffspeedfilms.com">Jeff Speed</a></li>
<li><a href="http://www.erikknox.com">Erik Knox</a></li>
<li><a href="http://www.poly-motion.com">Todd Smith</a></li>
<li><a href="http://www.michaelrizzi.com">Michael Rizzi</a></li>
<li><a href="http://www.syncpicture.com">Trevor Fernando</a></li>
</ul>
</div>
<div id="footer">Corey Bringas - Director of Photography - 858-705-4869 - [email protected]</div>
</div>
[/CODE]
[CODE].links {
font-size: 18px;
font-weight: bold;
float: left;
display: inline;
width: 10em;
margin: 30px -50px 0 70px;
}
[/CODE]
[CODE]#gallery a img {
display: block;
border-color: #FFFFFF;
}
#gallery a:hover img {
border-color: #C0C0C0;
}
[/CODE]
If you do not want [B]any[/B] border, change the colour declaration to border:none;0.1.9 — BETA 5.21