Quote:
Originally Posted by Costin Trifan
For example:
Design & Photo page
The banner (or any desired image) will have a css class called, let's say, .designPhoto. In that class you'll specify the background image you want to display.
The same for the rest of your pages. Just set up different css classes.
|
but how would I code it for the banner ??
original:
#banner {
text-align: center;
border:1px solid darkblue;
background-image: url(Images/2R131.gif);
background-repeat: no-repeat;
background-position: 5px center;
}
modified for Aerospace Engineering
#bannerAE {
text-align: center;
border:1px solid darkblue;
background-image: url(Images/2A331A.gif);
background-repeat: no-repeat;
background-position: 5px center;
}
general information
class example:
p.first{color: red;}
<p class="first"> ***</p>
display: paragraph in red
- - - - - -
<!--========== Banner ==========-->
Original:
<div id="banner">
<b><h2>Aerospace Engineering</h2>
<p>Lists Aerospace Engineering tutorials, Aerospace Library, Aerodynamics for students, Modern Aerospace Museum, Free CAD Drawings, Flight Dynamics & Control</p></b>
</div>
Modifiedl:
<div id="bannerAE">
<b><h2>Aerospace Engineering</h2>
<p>Lists Aerospace Engineering tutorials, Aerospace Library, Aerodynamics for students, Modern Aerospace Museum, Free CAD Drawings, Flight Dynamics & Control</p></b>
</div>
I read up on class but I don't know how to implement it in this case
I tried several methods, they either don't work or involve excessive code ??
Thank You
falcon