473,395 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

CSS Problem With Repeating Image

I have been working on this issue and can not seem to make any headway. Everything is beginning to run together. Any help would be greatly appreciated.

Basically, my page looks just as I want it to in FireFox, but I can not get IE to repeat my images vertically. I need a background image to tile vertically so that it is the same height as the main column of the page. I am using CSS and tables for the layout. I should have made the jump, but I'm trying to get the site looking correct since it is already live. I have tried so many different changes, that I'm really starting to lose it!

My test URL is www.truckingshow.com/index2.htm.

Relevant CSS:

Expand|Select|Wrap|Line Numbers
  1.  /* CSS Document */ 
  2. td {font-family: Geneva, Arial, Helvetica, san-serif}
  3.  
  4. /* commented backslash hack v2 \*/ 
  5. html, body {height: 100%}
  6. /* end hack */ 
  7.  
  8. /* Scroll bar colors visible only in IE5.5+ */
  9. body {
  10.     margin: 5px 0px 0px;
  11.     padding: 0px;
  12.     border: none;
  13.     background: #000 url(/templates/template_images/bg_faded.gif) repeat-x fixed left bottom;
  14.     text-align: center;
  15.     text-decoration: none;
  16.     scrollbar-3dlight-color:#d1d7dc;
  17.     scrollbar-arrow-color:#006699;
  18.     scrollbar-darkshadow-color:#98aab1;
  19.     scrollbar-face-color:#dee3e7;
  20.     scrollbar-highlight-color:#ffffff;
  21.     scrollbar-shadow-color:#dee3e7;
  22.     scrollbar-track-color:#efefef;
  23.     height: 100%;
  24. }
  25. #wrapper {
  26.     background-color: #ccccff;
  27.     margin: 0 auto;
  28.     text-align: left;
  29.     width: 148px;
  30.     min-height: 100%
  31. }
  32. * html #wrapper {
  33.     height: 100%;
  34.     margin: 0;
  35.     padding: 0;
  36.     border: none;
  37.     text-align: center
  38. }
  39. /*LHS Navigation*/
  40. .nav a {
  41.     display: block;
  42.     padding: 0px 0px 0px 0px;
  43.     width: 148px;
  44.     height: 18px;
  45.     overflow: hidden;
  46.     background: transparent URL(/templates/template_images/nav.jpg) top left no-repeat;
  47.     text-decoration: none;
  48.     font-family: Geneva, Arial, Helvetica, san-serif;
  49.     color: #333333;
  50.     font-weight: bold;
  51.     font-size: 14px;
  52.     text-align: left;
  53.     text-indent: 4px;
  54.  
  55. .nav a:hover {
  56.     background-position: -148px;
  57.     text-decoration: none;
  58.     color: #FFFF00
  59. .nav a:visited {    
  60.     text-decoration: none;
  61.     font-weight: bold;
  62.     font-size: 14px
  63.  
  64. .bg_rep_LHS {
  65.     background-image: url(/templates/template_images/r18_c2.gif);
  66.     background-repeat: repeat-y;
  67.     height: 100%
  68. }
  69. .bg_rep_RHS {
  70.     background-image: url(/templates/template_images/3col_r14_c10.jpg);
  71.     background-repeat: repeat-y;
  72.     height: 100%
  73. }
  74.  
If anyone could help, I would really appreciate it.

Thanks.
Sep 28 '05 #1
1 6223
Niheel
2,460 Expert Mod 2GB
I find it easier to breakdown the background properties.

Example:

Change
Expand|Select|Wrap|Line Numbers
  1. background: #000 url(/templates/template_images/bg_faded.gif) repeat-x fixed left bottom;
  2.  
to
Expand|Select|Wrap|Line Numbers
  1.  
  2. background-color: #000000;
  3. background-image: url(/templates/template_images/bg_faded.gif);
  4. background-repeat: repeat-x;
  5. background-position: left bottom;
  6.  
Looks like a lot of uncessary code, but debugging is lot easier.
Nov 18 '05 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
7
by: John A. | last post by:
Hello all! I've got a big bunch of pages using tables for layout. Eventually I'll get them set up with more modernized code, but in the meantime I'd like to slip in a little quick holiday...
3
by: Mark Tranchant | last post by:
On my site, I use a background image of a small arrow to denote links that lead away from my site. This page has four such links in the first section: http://tranchant.plus.com/notes/cable-wrap...
33
by: Joe | last post by:
I'm designing a company website. I'm relatively new to CSS and I'm having trouble creating what seems to me a very simple design: - body background: fixed full page image - banner: fixed, 100...
1
by: Robert Blasius | last post by:
Hi there. sorry, for the first posting. I pressed the wrong button... Again. I`m trying to realize an css for the body-tag which contains an fixed image in the upperleft and instead of an...
16
by: rcmatt4321 | last post by:
First I have to tell you guys how much of a help you are to a kid my age. People literally gave me the code to solve my problem last time. Here is my problem. I am trying to get into the habit...
10
by: lifity | last post by:
hi, i am stuck on part of my project and very new to VB. i had cut my picture into 6 equals part but need to display them randomly, without repeating the same part of the pic again, in random...
3
by: crazychrisy54 | last post by:
Hi there I just wondered if there is any way using GD to insert a clickable button or some clickable text into a image? It is possible to create images for buttons but what if you want a...
1
by: blackhawk | last post by:
I have been pulling my hair out trying to get this layout to work using DIV tags. With all the bugs, and hacks that I have been reading through in a ton of pages, I can’t seem to get the recipe...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.