I’ve found out by my altering the width in my photoshop design that I can still make it look reasonable on all sizes. So you guys don’t have to worry about the screen width issue.
What is begin said… andd take that this is coming from another “photoshop jokey” is that that is just a PLAIN BAD strategy for web design, web coding , web acessibility and web apeal. DON’T DO THIS.
First off you really need to separate your content from your style. that too is strategy. For example why did you have your gradients as IMAGES in the HTML?? On a lesser notes are the icons and logos “content”??? In the case of the gradients I am 100% sure that’s a “no” and in the case of the icon, I would also lean towards a negative answer.
Eliminate BRs. You also had some minor typos… gotta watch out for those as they will cause “mysterious looking bugs”
Don’t have elements (divs and such) merely to hold backgrounds… for example I eliminated all your class =“hr” divs. added the class to the Hxs. Now what you have to remember is to add padding-bottom equal to the height of your hr image and set background-position bottom left.
MANY MANY more things… but here is a rough of what I mean, hope it helps:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Get affordable car service with My Airport Sedan</title>
<meta name="description" content="Your affordable limo, sedan, and SUV company serving BWI, IAD, and DCA airport." />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, p, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* End of Reset */
#icons{
float: right;
}
#icons img{
margin: 0 .3em;
}
div.hr {
height: 15px;
background: #fff url("images/hrLineImage.png") no-repeat;
}
div.hr hr {
display: none;
}
body{
font-size: 100%;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
color: #3c3c3c;
padding: 1em 0 0 0;
min-width: 850px;
}
#nav .wrap, #main, #footer>*{margin: 0 20%;}
h1{
font-family: Tahoma, Geneva, sans-serif;
font-size: 2em;
width: 15em;
text-transform: uppercase;
}
h1 small{
display:block;
color: #a1d4df;
font-weight: bold;
font-size: 60%;
text-transform: none;
margin-top:-.4em;
}
h1 span:first-letter{font-size: 1.2em;}
h1 span {display:inline-block;}
.my{color: #1faecc;}
#nav{background:url('images/gradNav.jpg')repeat-x bottom left;}
#nav .wrap{
overflow: hidden;
position:relative;
}
#nav li a{
display: block;
text-decoration: none;
font-size: 1.2em;
font-family: Tahoma, Geneva, sans-serif;
color: black;
font-weight: bold;
padding: 1em 1em 0 1em;
}
#nav {padding-bottom:1em;}
#mainNav li, #social li{
float: left;
}
#nav ul{
list-style-type: none;
}
#mainNav .current{
color: #1faecc;
}
#mainNav a.first{
padding: 1em 1em 0 0;
}
#social{ position:absolute; top:0; right:0;}
#social li{ float: right; height:41px; width:41px; font-size: 50%; font-weight:normal; margin-left: 20px; overflow: hidden }
#social li a { position: relative}
#social a:after{ position: absolute; top:0 ; left:0;height: 41px; width:41px; }
#social .fb a:after{ background: #fff; content:url(images/fbIcon.png); }
#social .tw a:after{ background: #fff; content:url(images/twIcon.png);}
#social .gg a:after{ background: #fff; content:url(images/gpIcon.png);}
#slideshowCont{
background: #80d4e8;
overflow: hidden;
line-height: 1;
}
#slideshow {margin:0 auto;background: url(images/leftGrad.jpg) repeat-y left top; padding:0 108px; width:830px;}
#slideshow .wrap{margin:auto;background: url(images/rightGrad.jpg) repeat-y right top; margin-right:-108px; }
#slideshow img{ display:block; margin-right:108px; }
.wheels:after{content:url(images/carsIcon.png);}
.transfer:after{content:url(images/planeIcon.png);}
.hr {padding-bottom:15px;}
#main {overflow:hidden;}
.fleet li, .airport li{float:left; width: 33.3%; list-style: none;}
.fleet li>a:before, .airport li>a:before{content:"> "}
.Limo:before { content:url(images/limoIcon.png); display:block; margin:0:auto;}
.Sedan:before { content:url(images/sedanIcon.png); display:block; margin:0:auto;}
.Bus:before { content:url(images/busIcon.png); display:block; margin:0:auto;}
.BWI:before { content:url(images/bwiLogo.jpg) "BWI"; display:block; margin:0:auto;font-weight: bold;font-size:65px; line-height: 1}
.IAD:before { content:url(images/bwiLogo.jpg)"IAD"; display:block; margin:0:auto;font-weight: bold;font-size:65px; line-height: 1}
.DCA:before { content:url(images/bwiLogo.jpg)"DCA"; display:block; margin:0:auto;font-weight: bold;font-size:65px; line-height: 1}
.airport strong{display:block;}
#footer{ background: #555;}
</style>
</head>
<body>
<div id="nav"><div class="wrap">
<h1><span class="my">My</span> <span>Airport</span> <span>Sedan</span> <small>Your Affordable Luxury</small></h1>
<ul id="social">
<li class="fb"><a href="#">Facebook URL</a></li>
<li class="tw"><a href="#">Twiter URL</a></li>
<li class="gg"><a href="#">Google URL</a></li>
</ul>
<ul id="mainNav">
<li><a class="first current" href="#">Home</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="rates.html">Rates</a></li>
<li><a href="bookUs.html">Book Us</a></li>
<li><a href="aboutUs.html">About Us</a></li>
</ul>
</div></div>
<div id="slideshowCont">
<div id="slideshow"><div class="wrap">
<img src="images/ss1.jpg" />
<!-- slideshow goez here -->
</div></div>
</div>
<div id="main">
<div id="content">
<p>
Anyone who has ever lived, worked or traveled to the Washington D.C. or Baltimore area will agree; there is nothing more frustrating than driving in DC traffic, especially in the traffic that thrives around the area's major airports. Don't make your trip any more stressful than it needs to be, but take advantage of <b><i><span class="my">Your</span> Airport Sedan</i></b> and let us do the driving! <a href="aboutUs.html">Read More.</a>
</p>
<!--Reviews not working till Google fixes it.
<h2>What People are Saying <img src="images/reviewIcon.png" /> </h2>
div class="hr"><hr />/div> -->
<h2 class="hr wheels" >Your Fleet </h2>
<ul class="fleet">
<li class=" Sedan"><a href="bookSedan.html"> Book a Lincoln Towncar Sedan</a></li>
<li class=" Limo"><a href="bookLimo.html"> Book a Lincoln Towncar Stretch Limo</a></li>
<li class=" Bus"><a href="bookBus.html"> Book a coach bus</a></li>
</ul>
<h2 class="hr transfer">Airport Transfers</h2>
<ul class="airport">
<li class="BWI">
<strong>Baltimore Washington Intl Airport</strong>
<a href="bwi-airport.html">Book a reservation to/from BWI</a>
</li>
<li class="IAD">
<strong>Dulles International Airport</strong>
<a href="iad-airport.html">Book a reservation to/from IAD</a>
</li>
<li class="DCA">
<strong>Reagan National Airport</strong>
<a href="iad-airport.html">Book a reservation to/from DCA</a>
</li>
</ul>
</div>
<!--content--></div>
<div id="footer">
<div class="wrap">footer goez here</div>
</div>
</body>
</html>