newceylon Posted August 29, 2008 Share Posted August 29, 2008 This is my first professional web site.( http://cnet.lk/ )It created for a person in srilanka.But the images within the main page not view in internet explorer.It works fine with Mozilla Firefox.This code is the first image of the main (index.html ) page.<img alt="dalada maligawa" src="/images/maligawa.jpg" style="height: 180px; width:300px; float:left;"/>This is the style:http://cnet.lk/cglayout.cssI'm very thankful to you if you can give me a solution.Since this is the my first site there are many errors;another one is adding extra line between the navigation items of the left bar.Thanks again Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 29, 2008 Share Posted August 29, 2008 Try this code instead... <img alt="dalada maligawa" src="images/maligawa.jpg" style="height: 180px; width:300px; float:left;"/> I think the problem was the forward slash before the images folder. That is assuming that you index page is in the root and you images are in a folder called images within the root? Link to comment Share on other sites More sharing options...
newceylon Posted August 29, 2008 Author Share Posted August 29, 2008 Thanks for the reply.I tried what you said.But the problem continues.Images within the header and sidebars working fine with both browsers.but images within <p> section not works with internet explorer.I only can see the spaces instead of images with IE.Any solution ? Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 29, 2008 Share Posted August 29, 2008 I need to know how your files are sturctured, before I can help you any further really. Link to comment Share on other sites More sharing options...
web-service-learner Posted August 29, 2008 Share Posted August 29, 2008 well i can view the image just fine using ie6, what ie are you using? ie7 or 6? Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 29, 2008 Share Posted August 29, 2008 I am using 6 and like you say, I can view all of the navigation etc. but none of the images in the main page? Link to comment Share on other sites More sharing options...
newceylon Posted August 29, 2008 Author Share Posted August 29, 2008 I am using 6 and like you say, I can view all of the navigation etc. but none of the images in the main page?That is the problem I have.Didn't found a solution yet.greatly appreciate any help. Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 29, 2008 Share Posted August 29, 2008 As I say, if you tell me the folder sturcture then I will be able to help you. So for example, you have index.html in your root, and then images in a folder named "images" etc. Link to comment Share on other sites More sharing options...
web-service-learner Posted August 29, 2008 Share Posted August 29, 2008 what about on your own computer, can you view the images? if you can view the images on your computer and can view em on the server, then it could a little problem with the spelling, check the name of your image, remember on the server maliqawa.jpg is different than Maliqawa.jpg if that wasn't the problem, then try using the <img src="images/maligawa.jpg" alt="dalada maligawa" /> Link to comment Share on other sites More sharing options...
web-service-learner Posted August 29, 2008 Share Posted August 29, 2008 hang on i just downloaded your website seems no folder called images and the tag was <img src="images/. where it should be the name of the directory contains the images. Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 29, 2008 Share Posted August 29, 2008 Try this code instead... <img alt="dalada maligawa" src="images/maligawa.jpg" height="180" width="300"> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.