Advertisement

07.07.2008 at 03:41PM PDT, ID: 23545030
[x]
Attachment Details

CSS vertical tiled background gif not displaying in Firefox

Asked by bccla in Firefox Web Browser, Cascading Style Sheets (CSS)

Tags: firefox, 2

Background gif doesn't display in Firefox, but it does in IE7. If I float the container left, it displays, but the container is floated left and not what is desired. I also had to include a height measurement for Firefox as the container bottom was appearing an inch from the top of the screen (it has a 1 pixel border and was visible, whereas this was not the case in Explorer.
It's a 3 column centred layout with a footer.
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>B.C Civil Liberties Association</title>
<style type="text/css"> 
<!-- 
body  {
	font: 78%/1.5 arial, helvetica, serif;
	line-height: 1.5em;
	background: url(images/light_body.gif) repeat-y top center;
	padding: 0;
	margin: 0;
}
 
a img {
  border: 0;
}
 
.stylesix {color: #5C8096}
 
#container { 
	position: relative;
    width: 776px; 
	margin-right: auto;
	margin-left: auto;
	height: 1425px;
	background-image: url(/images/bg.gif); 
    background-repeat: repeat-y;
	text-align: left;
	border: 1px solid;
	border-color: #CFD9DB;
	}
 
#topmenu, #topmenu ul {
	background-color: #CFD9DB;
	width: 776px;
	list-style: none;
	line-height: 1;
	font-weight: bold; 
	border-width: 1px 0;
	border-bottom: 12px solid #ddd;
	border-top: 5px solid #CFD9DB;
}
 
#topmenu a {
	display: block;
	text-align: right;
	color: #41637D;
	text-decoration: none;
	padding: 0.25em 2em;
	white-space: nowrap;
	background: #CFD9DB;
}
 
#topmenu li {
	float: left;
	padding: 0;
	width: 8em;
		}
 
#topmenu li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 14.4em;
	w\idth: 14.4em;
	font-weight: normal;
	border-width: 0.25em;
	margin: 0;
	background: #CFD9DB;
}
 
.topmenuform  {
   float: left;
	}	
 
#topmenu li:hover ul, #topmenu li li:hover ul, #topmenu li li li:hover ul, #lowermenu li.sfhover ul, #lowermenu li li.sfhover ul, #topmenu li li li.sfhover ul {
	left: auto;
}
 
#topmenu li:hover, #topmenu li.sfhover {
	background: #CFD9DB;
}
 
#header {
  margin: 0 auto;
  height: 143px;
  background: url(file:///Z|/Web%20test/images/bcclaheader.jpg) no-repeat left;
} 
 
#header a {
   margin-right: auto;
   margin-left: auto;
   top: 40px;
   width: 776px;
   height: 135px;
}
 
#lowermenu {
	float: left;
}
 
#lowermenu, #lowermenu ul {
	background-color: #CFD9DB;
	width: 776px;
	list-style: none; 
	line-height: 1;
	font-weight: bold; 
	border-bottom: 12px solid #ddd;
	border-top: 5px solid #CFD9DB;
}
 
#lowermenu a {
	display: block;
	text-align: left;
	color: #41637D;
	text-decoration: none;
	padding: 0.25em 2em;
	white-space: nowrap;
	background: #CFD9DB;
}
 
#lowermenu li {
	float: left;
	padding: 0;
	width: 10em;
}
 
#lowermenu li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 14.4em;
	w\idth: 13.9em;
	font-weight: normal;
	border-width: 0.25em;
	margin: 0;
	background: #CFD9DB;
}
 
#lowermenu li ul a {
	width: 13em;
	w\idth: 9em;
}
 
.folderone {
		background: url(file:///Z|/Web%20test/images/folder1.gif) no-repeat;
        background-position: center;
}
 
.foldertwo {
		background: url(file:///Z|/Web%20test/images/folder2.gif) no-repeat;
        background-position: center;
}
 
.folderthree {
		background: url(file:///Z|/Web%20test/images/folder3.gif) no-repeat;
        background-position: center;
}
 
.folderfour {
		background: url(file:///Z|/Web%20test/images/folder4.gif) no-repeat;
        background-position: center;
}
 
.folderfive {
		background: url(file:///Z|/Web%20test/images/folder5.gif) no-repeat;
        background-position: center;
}
 
.foldersix {
		background: url(file:///Z|/Web%20test/images/folder6.gif) no-repeat;
        background-position: center;
}
 
#sidebarone {
	float: left; 
	width: 175px; 
	padding: 0px 10px 0px 10px;
}
 
#sidebarone ul  {
  text-decoration: none;
  line-height: 3;
  margin: 0 0 10px 0;
  padding: 0;
}
 
#sidebarone ul li  {
  padding: 0;
  list-style: none;
}
 
#sidebarone ul li a {
  display: block;
  height: auto !important;
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding-left: 25px;
  margin-top: 15px;
}
 
#sidebarone h1 {
	font-family: arial, helvetica, serif;
	font-size: 1.5em;
	font-weight: 300;
	letter-spacing: 4px;
	line-height: 1.5;
	border-bottom: 12px solid #ddd;
}
 
#sidebarone.heading {
	font: 1.5 arial, helvetica, serif;
	letter-spacing: 4px;
	color: #41637D;
	font-weight: 600;
	line-height: 3.5;
}
 
.rss  {
    float: left;
	padding: 10px;
}
 
#sidebartwo {
	float: right; 
	width: 175px; 
	padding: 20px 10px 15px 10px;
	text-decoration: none;
}
 
#sidebartwo ul  {
  margin: 0 0 20px 0;
  padding: 0;
}
 
#sidebartwo ul li  {
  margin: 0;
  padding: 0;
  list-style: none;
}
 
#sidebartwo ul li a {
  display: block;
  height: auto !important;
 
  /* Start hide from IE Mac \*/
  height: 1%;
  /* End hide from IE Mac */
 
  padding: 1px 5px 1px 20px;
}
 
#sidebartwo ul a:hover {
  color: #426F85;
  background: #B3C6C4 url(file:///Z|/Web%20test/submenu1.gif) no-repeat 5px 50%;
}
 
#sidebartwo ul li a {
  color: #426F85;
  background: url(file:///Z|/Web%20test/submenu1.gif) no-repeat 3px 50%;
  text-decoration: none;
}
 
#sidebartwo h1 {
	font-family: arial, helvetica, serif;
	font-size: 1.25em;
	font-weight: 200;
	letter-spacing: 4px;
	line-height: 1.5;
	border-bottom: 12px solid #ddd;
}
#mainContent { 
	margin: 0 205px; 
	} 
 
#mainContent h1 {
	font-family: arial, helvetica, serif;
	font-size: 1.25em;
	font-weight: 200;
	letter-spacing: 4px;
	line-height: 1.5;
	border-bottom: 12px solid #ddd;
}
 
.mainContent .newshead {
    font-family: arial, helvetica, serif;
	font-size: 1.2em;
	font-weight: 200;
	color: #426F85;
}
 
img.taser	{
    float: left;
    margin-top: 5px;
    margin-bottom: 5px;
}
 
.post {
  float: left;
  width: 100% !important;
  width: 99%;
  position: relative;
  margin-bottom: 1.5em;
  border-bottom: 1px solid #CCCCCC;
}
.post1 {
  float: left;
  width: 100% !important;
  width: 99%;
  position: relative;
  margin-bottom: 1.5em;
 }
 
.post .date .month {
  text-transform: uppercase;
  font: 700 1.0em arial, sans-serif;
  color: #888;
}
 
.post1 .date .month {
  text-transform: uppercase;
  font: 700 1.0em arial, sans-serif;
  color: #888;
}
 
.post .date .day {
	display: block;
	margin-top: 2px;
	color: #888;
	font-family: arial, sans-serif;
	font-size: 1.2em;
	font-weight: 700;
}
 
.post1 .date .day {
	display: block;
	margin-top: 2px;
	color: #888;
	font-family: arial, sans-serif;
	font-size: 1.2em;
	font-weight: 700;
}
.post .title {
  display: block;
  padding: 0 0 5px 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #586B7A;
}
 
.post1 .title {
  display: block;
  padding: 0 0 5px 0;
  
  font-size: 1.2em;
  font-weight: bold;
  color: #586B7A;
}
 
.post p {
  margin: -25px 0 0 3.5em;
  padding:  0 0 1em 1.2em;
  border-left: 1px solid #CCCCCC;
}
.post1 p {
  margin: -25px 0 0 3.5em;
  padding:  0 0 1em 1.2em;
  border-left: 1px solid #CCCCCC;
}
 
.alignRight {
  text-align: right;
}
 
 
#footer {
  clear: both;
  margin: auto;
  width: 776px;
  height: 7em;
  background-color: #CFD9DB;
  border: 1px solid;
  border-color: #CFD9DB;
  }
 
.footertext {
    font-family: arial, helvetica, serif;
	font-size: .8em;
	font-weight: 200;
	line-height: 1.5;
}
 
--> 
</style>
<!--[if IE 5]>
<style type="text/css"> 
/* place css box model fixes for IE 5* in this conditional comment */
#sidebarone { width: 180px; }
#sidebartwo { width: 190px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.page #sidebartwo, .page #sidebarone { padding-top: 30px; }
.page #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<script type="text/javascript"><!--//--><![CDATA[//><!--
 
sfHover = function() {
	var sfEls = document.getElementById("lowermenu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
 
//--><!]]></script>
</head>
<body>
 
<div id="container">
<div id="topmenu">
<FORM ACTION="http://www.google.com/search" METHOD=GET class="topmenuform">
<input type=text name=q size=25 maxlength=200 value="" />
<INPUT TYPE=submit NAME=btnG VALUE="Search" />
<INPUT TYPE=hidden NAME=domains VALUE="http://www.bccla.org" /> 
<INPUT TYPE=hidden NAME=sitesearch VALUE="http://www.bccla.org" checked /> 
</FORM>
 <!-- Search Google -->   
    <li><a href="#">Contact Us</a>
        <ul>
           <li><a href="file:///Z|/Web test/05contact.html">Contact Info</a></li>
           <li><a href="file:///Z|/Web test/employ.htm">Employment</a></li>
        </ul>
    </li>          
    
    <li><a href="#">About Us</a>
        <ul>
           <li><a href="05about.htm">What We Do</a></li>
           <li><a href="05history.html">History</a></li>
           <li><a href="directors.htm">Directors</a></li>
           <li><a href="05speakers.htm">Guesfile:///Z|/Web test/robson.htm">Reg Robson Award</a></li>
           <li><a href="05user.htm">User Agreement</a></li>
           <li><a href="05privacypolicy.htm">Privacy Policy</a></li>
        </ul>
    </li> 	     
           
      <li><a href="file:///Z|/Web test/05conference.htm">Events</a></li>       
                 
       <li><a href="file:///Z|/Web test/05donate.htm">Donate</a></li>
</div>
 
<div id="header">
<a href="file:///Z|/Web test/donateform.html"></a>
</div>
 
<div id="lowermenu"> 
					 
         <li><a href="file:///Z|/Web test/news.html">News</a></li>
				      
        <li><a href="file:///Z|/Web test/05submissions.htm">Law Reform</a></li>
        
        <li><a href="file:///Z|/Web test/05legalarguments.htm">Litigation</a></li>
    	 
        <li><a href="#">Publications</a>
		  <ul>
              <li><a href="file:///Z|/Web test/05newsletter.htm">Newsletter</a></li>
		      <li><a href="file:///Z|/Web test/05update.htm">E-Newsletter</a></li>
              <li><a href="file:///Z|/Web test/annual.html">Annual Report</a></li>
              <li><a href="file:///Z|/Web test/annual.html">Books & Brochures</a></li>
          </ul>
        </li>
          
         <li><a href="#">Complaints & Inquiries</a>
           <ul>
              <li><a href="file:///Z|/Web test/05complaints.html">Complaint Information</a></li>
              <li><a href="file:///Z|/Web test/05links.htm">Links</a></li>
           </ul>
         </li>
  </div>
 
  <div id="sidebarone">
        <ul>
    <li><a href="file:///Z|/Web test/othercontent/08BCCLA_Deaths_Submission.pdf" class="folderone">RCMP Oversight</a></li>
    <li><a href="file:///Z|/Web test/frankpaul.htm" class="foldertwo">Frank Paul Inquiry</a></li>
    <li><a href="file:///Z|/Web test/antiterrorissue/DFAIT Torture Reports.pdf" class="folderthree">Torture Documents</a></li>
    <li><a href="file:///Z|/Web test/tasers.htm" class="folderfour">Tasers</a></li>
    <li><a href="file:///Z|/Web test/torturenutshell.htm" class="folderfive">Prevention of Torture</a></li>
    <li><a href="file:///Z|/Web test/deathincustody.htm" class="foldersix">Death In-Custody</a></li>
    </ul>
        <a href="file:///Z|/Web test/05youth.htm"><img src="file:///Z|/Web test/images/chalkboard.jpg"/></a>
        <a href="file:///Z|/Web test/rss.html" class="rss"><img src="file:///Z|/Web test/images/newsfeed.gif"/></a>
    <!-- end #sidebarone -->
  </div>
  
  
  <div id="sidebartwo">
         <h1>ISSUES</h1>
    <ul>
<li><a href="05admin.htm">Administrative</a></li>
<li><a href="antiterrorissue/antiterrorissue.htm">Anti-Terrorism</a></li>
<li><a href="05children.htm">Childrens' Rights</a></li>
<li><a href="05discrimination.htm">Discrimination</a></li>
<li><a href="05drugpolicy.htm">Drug Policy</a></li>
<li><a href="05freespeech.htm">Freedom of Speech</a></li>
<li><a href="05autonomy.htm">Morality Offences</a></li>
<li><a href="05patients.htm">Patients' Rights</a></li>
<li><a href="05political.htm">Political Rights</a></li>
<li><a href="05prisoners.htm">Prisoners' Rights</a></li>
<li><a href="05privacy.htm">Privacy</a></li>
<li><a href="05dueprocess.htm">Due Process</a></li>
<li><a href="policeissue/policeissue.htm">Police Accountability</a></li>
</ul>
  <a href="http://opengovernment.ca/"><img src="file:///Z|/Web test/images/opengov.jpg"/></a>
  
  <!-- end #sidebartwo --></div>
     <div id="mainContent">
    
    <h1>NEWS</h1>
        <div class="post">
                <div class="date">
          <span class="month">May</span>
          <span class="day">14</span>
[+][-]07.07.2008 at 05:18PM PDT, ID: 21949791

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:22AM PDT, ID: 21955378

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 04:07PM PDT, ID: 21959209

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Firefox Web Browser, Cascading Style Sheets (CSS)
Tags: firefox, 2
Sign Up Now!
Solution Provided By: Kravimir
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.28.2008 at 01:58PM PDT, ID: 22106759

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2008 at 03:11AM PDT, ID: 22109973

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628