Hi,
This problem is with another one of my assignments.
As part of this assignment, I'm to add the following into a "css" file:
"Display the Flags box only when the left margin is clear, and center any text or images within the box."
The "css" file is used in 18 individual Web pages (simulating Golf Course ). The first flag represents the first hole. the other holes up to the 17th hole has two flags (one to click to return to the previous screen and one to go to the next hole). The 18th hole has a single "previous" flag.
The code in each module is as follows:
I'm entering the following code into the "css" file (used in each of the following "htm" files):
from willet.css:
div.flags {image:url(next.jpg) no-repeat fixed center}
I'm aware I need to have code for both flags. After I figure out the first one, I will add in the second.
from h01.htm
<div class="flags">
<a href="h02.htm">
<img src="next.jpg" alt="Go to next hole" border="0" hspace="10">
</a>
</div>
</body>
from h02.htm - h03.htm:
<div class="flags">
<a href="h01.htm">
<img src="previous.jpg" alt="Go to previous hole" border="0" hspace="10">
</a>
<a href="h03.htm">
<img src="next.jpg" alt="Go to next hole" border="0" hspace="10">
</a>
</div>
</body>
from h18.htm:
<div class="flags">
<a href="h17.htm">
<img src="previous.jpg" alt="Go to previous hole" border="0" hspace="10">
</a>
</div>
</body>
I hope this makes sense without any pictures...