Menu
I’m having problems trying to set up two photo galleries on one page. There should be one above an image that says welcome to the home. and another gallery below it. right now it is shifted over to the left and it is all green. But off line I see the images but still to the left. Can someone help me please. Thanks in advance.
[url]http://www.charismacommunications.ca/curling/index.html
#Slideshow-1 {
position:absolute;
top:294px; left:278px;
width:638px;
height:188px;
margin-left: 0px;
margin-top: 0px;
background-color:lime;
}
#Slideshow-2 {
position:absolute;
top:1126px; left:278px;
width:638px;
height:188px;
margin-left: 0px;
margin-top: 0px;
background-color:lime;
}
<img id="pic-1" src="[b][COLOR="#FF0000"][SIZE=5]I[/SIZE][/COLOR][/b]mages/slide-1-1.jpg" alt="1">
I'm thinking remove Position: absolute.[/QUOTE]
A bit over whelming.[/QUOTE]
Can anyone else shed light on this?[/QUOTE]
[code=html]<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Canadian Stick Curling">
<title>Canadian Stick Curling - Manitoba</title>
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<header>
<img src="images/banner.jpg" alt="Canadian Stick Curling logo">
</header>
<ul id="nav">
<li><a href="index.html">Home</a></li>
<li><a href="events.html">Events</a></li>
<li><a>Provinces</a>
<ul>
<li><a href="alberta.html">Alberta</a></li>
<li><a href="bc.html">British Columbia</a></li>
<li><a href="manitoba.html">Manitoba</a></li>
<li><a href="newbrunswick.html">New Brunswick</a></li>
<li><a href="newfoundland.html">Newfoundland and Labrador</a></li>
<li><a href="novascotia.html">Nova Scotia</a></li>
<li><a href="ontario.html">Ontario</a></li>
<li><a href="pei.html">Prince Edward island</a></li>
<li><a href="quebec.html">Quebec</a></li>
<li><a href="saskatchewan.html">Saskatchewan</a></li>
<li><a href="ynt.html">Yukon and Northwest Territories</a></li>
</ul></li>
<li><a href="rules.html">Rules</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
<main>
<div id="left">
<div id="sub-nav">
<h3>Home</h3>
<ul>
<li>Home</li>
<li><a href="about.html">About Us</a></li>
<!--
<li><ul>
<li><a href="2015manitobaopenchampionships.html">2015 Manitoba Open</a></li>
<li><a href="warrenopen.html">Warren Open Stick Bonspiel</a></li>
<li><a href="mordensenioropen.html">Morden Senior Open</a></li>
<li><a href="carman.html">Carman 2 Person Stick Bonspiel</a></li>
</ul></li>
-->
</ul>
</div>
<div id="news">
<h3>News</h3>
<p>Share your next Stick Curling event on the Manitoba Stick Curling page!</p>
<p>Email <a href="mailto:[email protected]">[email protected]</a> with the details of your event and/or poster.</p>
</div>
</div>
<div id="right">
<img id="pic-1" src="images/slide-1-1.jpg" alt="1">
<img src="images/CSCA_HOME_Main_Panel_v001.jpg" alt="Canadian Stick Curling Association logo">
<img id="pic-2" src="images/slide-2-1.jpg" alt="4">
</div>
</main>
<footer>© Copyright 2014. Canadian Stick Curling</footer><!--Copyright Notice - DO NOT Remove-->
<script src="scripts/Conquer-Slideshow-1.js"></script>
<script src="scripts/Conquer-Slideshow-2.js"></script>
</body>
</html>[/code]
html {
margin: 0;
padding: 0;
background: #b31217;
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
color: #2f1a1a;
}
body {
width: 100%;
max-width: 926px;
margin: 10px auto;
color: #000;
}
header img {
max-width: 100%;
margin-bottom: -15px;
}
/* navigation starts here */
#nav {
padding: 10px 15px 10px;
margin-bottom: 7px;
list-style-type: none;
background-color: #fff;
}
#nav:after {
content: '';
display: block;
clear: both;
}
#nav li {
position: relative;
float: left;
padding: 0 18px 2px;
}
#nav li:last-of-type a {
border: 0;
}
#nav a {
display: block;
line-height: 18px;
padding: 0 40px 0 4px;
border-right: 1px solid #b31217;
font-size: 14px;
color: #000;
text-decoration: none;
}
#nav a:hover {
color: #b31217;
}
#nav ul {
display: none;
position: absolute;
top: 20px;
height: auto;
padding: 0 0 10px; <br/>
margin: 0;
list-style-type: none;
white-space: nowrap;
background-color: #fff;
box-shadow: 3px 3px 3px #ccc;
}
#nav ul li {
float: none;
}
#nav ul a {
line-height: 20px;
border: 0;
}
#nav li:hover ul {
display: block;
}
/* navigation ends here */
main {
width: 100%;
background-color: #fff;
padding: 10px 0 10px 0;
}
#left {
width: 275px;
display: inline-block;
vertical-align: top;
}
#left h3 {
background: url(../images/divider-4.jpg) bottom no-repeat;
display: block;
margin: 0 0 10px 0;
padding: 0 0 8px 10px;
font-size: 18px;
color: #2f1a1a;
font-weight: normal;
color: #b31217;
}
#sub-nav {
background: url(../images/right-grey.jpg) bottom no-repeat;
padding-bottom: 2em;
}
#sub-nav ul {
margin-left: 10px;
padding: 0;
list-style-type: none;
line-height: 2.5em;
}
#sub-nav ul li {
background: url(../images/bullet-2.jpg) no-repeat;
color: #866008;
padding: 0 0 5px 15px;
margin: 0 0 6px 10px;
background-position: 0 9px;
font-weight: bold;
}
#sub-nav ul li a {
color: #2f1a1a;
text-decoration: none;
}
#sub-nav ul li a:hover {
text-decoration: underline;
}
#news {
padding-top: 10px;
}
#news p {
margin: 2em 0 0 10px;
}
#right {
display: inline-block;
vertical-align: top;
}
#right img {
display: block;
max-width: 100%;
margin: auto;
}
footer {
width: 100%;
padding: 10px 0 10px 0;
color: #fff;
text-align: right;
}
header img {
max-width: 100%;
[COLOR="#FF0000"]margin-bottom: -12px;[/COLOR]
}
#nav {
padding: 10px 15px 10px;
[COLOR="#FF0000"]margin-bottom: 2px; [/COLOR]
list-style-type: none;
background-color: #fff;
}
[CODE]<div class="right-container">
<div class="right-container-top">
<h3><span class="red-heading">Contact Us</span></h3>
</div>
<div class="right-container-dwn">
<h3><span class="red-heading">News</span></h3>
</div>[/CODE]
<i>
</i>+-----------------------+
| HEADER |
+-----------------------+
| NAVIGATION |
+-----------------------+
| MAIN CONTAINER |
|+---------+-----------+|
|| LEFT | RIGHT ||
|| CONTENT | CONTENT ||
|+---------+-----------+|
+-----------------------+
| FOOTER |
+-----------------------+
<i>
</i><header>
<navigation>
<main>
<left>
<right>
<footer>
<i>
</i><header>
<navigation>
<main>
<right>
<left>
<footer>
<i>
</i><header>
<navigation>
<main>
<right style="float: left;">
<left style="float: right;">
<footer>
[code=html]<div class="mid-leftouter">
[...]
</div>
<!-- Left Navigation starts-->
<div class="right-container">
[...]
</div>[/code]
.mid-[COLOR="#FF0000"][B]left[/B][/COLOR]outer{width:618px; /* and for what it's worth, "outer" to what? */
[COLOR="#FF0000"][B]float:right;[/B][/COLOR]
}
[...]
.[COLOR="#FF0000"][B]right[/B][/COLOR]-container{width:275px;
[COLOR="#FF0000"][B]float:left;[/B][/COLOR]
color:#fff;
}
[code=html]<body><br> [why is there a <br> here?]
<div id="main-wraper">
<div id="top-wraper"> [wraping (sic) the top of what? the closing tag for this div is way at the end]
<div id="banner"></div>
<!--Navigation starts--> [wait, doesn't id="nav" give you enough of a hint?]
<ul id="nav">
[main navigation]
</ul>
<!--Navigation ends-->
<div id="mid-wraper"><br> [why is there a <br> here?]
<div class="mid-wraper-top"> [again, wraping (sic) the top of what?]
<div class="mid-leftouter">
[right side content]
</div>
<!-- Left Navigation starts-->
<div class="right-container">
<div class="right-container-top">
[in-page links]
</div>
<div class="right-container-dwn">
[news stuff]
</div>
</div> ["Left Navigation" actually ends here]
</div> [end of "mid-wraper-top"]
</div>
<!-- Left Navigation ends-->
<div class="footer">
<div class="footer-right">[footer stuff]</div>
</div>
</div> [closing tag for "top-wraper" -- HUH?]
</div>
</body>[/code]
[code=html]<body>
<header>
[banner image]
</header>
<ul id="nav">
[main navigation]
</ul>
<main>
<div id="left">
<div id="sub-nav">
[in-page links]
</div>
<div id="news">
[news stuff]
</div>
</div>
<div id="right">
[right side content]
</div>
</main>
<footer>[footer stuff]</footer>
</body>[/code]
0.1.9 — BETA 5.19