Solved

Netscape image as spacer

Posted on 2004-09-22
6
204 Views
Last Modified: 2010-04-09
I am trying to clean up some code and make a website look the same in both netscape and IE, the problem is the person who wrote the code used tons of little images as spacers... these images dont show up in netscape? is there anyway force images that are the same color of the bg to show up so I can keep the spacing they create in IE?
0
Comment
Question by:bliesveld
  • 3
  • 3
6 Comments
 
LVL 36

Expert Comment

by:Zyloch
ID: 12129642
Hi bliesveld,

Looks like a bad case of fudged layout. We won't know why the images don't show unless we see the source code. We'll also prefer to know which versio of NN or IE.

If worst comes to worst, we might recommend you redesign the layout, but it all depends on the source =)

Regards,
Zyloch
0
 
LVL 1

Author Comment

by:bliesveld
ID: 12129698
here is an example...


<td>
      <div align="right" class="style11 style1">
              <strong>
                   <span class="style14">general</span>
                   <span class="style15"> categories <?php echo $subcat ?><img src="<?php echo WEB_ROOT.'includes/blue_bg.jpg'?>" width="12" height="1"></span>
              </strong>
</div>
</td>
0
 
LVL 1

Author Comment

by:bliesveld
ID: 12129701
<img src="<?php echo WEB_ROOT.'includes/blue_bg.jpg'?>" width="12" height="1">

beign the image....
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 36

Accepted Solution

by:
Zyloch earned 50 total points
ID: 12129709
Not sure why you need the spacer when you can just set explicit widths for your <div>, for instance you have it class="style11 style1", it wouldn't be too much trouble to set a style="width:40px;" or whatever.

Anyhow, I'm assuming WEB_ROOT is defined in your PHP and that this displays fine in IE? Then what version of NN are you using? The code looks prety ok.
0
 
LVL 1

Author Comment

by:bliesveld
ID: 12129773
ya I was hoping there might be a way to save the img's to make them show, but I am just going to move the site more to CSS...
0
 
LVL 36

Expert Comment

by:Zyloch
ID: 12129825
Feel free to post here if you need help.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now