HTML - Using Image As Link Problems...
I have never encountered this problem before and can't figure it out.
I've created an include file that holds my left nav. It's a table that holds various images that are links. But the last two buttons (that are simple and small gifs) I've created will not render at all in IE6. In view source it shows the table tags fine, but strips out the image tags for those buttons. The really weird thing is that everyone else can see the images on their computers in Firefox, IE6 and IE7, Mozilla, etc... Also, if I take the actual links out of the href tag and leave it blank, the images show up fine. What the heck is wrong with my browser??? Similar Tutorialsthis is my page http://web.vtc.edu/users/cjb06271/CI...nal/order.html there are several things I would like to happen. 1. the right collumn background to be where the right collumn should be(so other links in navbar) 2.The test between the roach pictures to be alligned with the top rather than bottom of pictures (so smaller windows can see) 3. When you size the window smaller than the text, a scroll bar appears, and when you scroll the background no longer exists. If I put it on auto the background will only go as far as the text does. 4. (nice but not required)The cocroachs to be alligned to the left and right of the top bar respectively, and the text in the middle. 5. (nice but not required) the right column background image is being cut in half (as does the top one if you size small enough). any way to make the images ignore the collumns? don't worry about the colors I will be changing them soon Ive made my main navigation linkable. The problem is that it has gaps between the images and when i view the page and clink on one of the links everything slides into place and fits. Why is this happenening and how could I sort it? I have set img { border: none; }. Still doesnt help though. Code: <html> <head> <style type="text/css"> img { border: none; } .content { padding: 20px 20px 20px; } .nav { padding: 10px 20px 6px; font-size: 12px; } <!-- links style --> a:link { color: #000000; text-decoration: none; } a:visited { color: #000000; text-decoration: none; } a:hover { color: #FFFFFF; text-decoration: none; } </style> <title> Eportfolio </title> </head> <body background="images/bg.jpg"> <table align="center" cellspacing="0" cellpadding="0"> <tr> <td width="652"><img src="images/eportfolio-v1_02.gif"></td> </tr> <tr> <td> <a href="Index.html"><img src="images/eportfolio-v1_04.gif"></a> <a href="Publications.html"> <img src="images/eportfolio-v1_05.gif"></a> <img src="images/eportfolio-v1_06.gif"><a href="Evidence.html"><img src="images/eportfolio-v1_07.gif"></a><a href="Review.html"><img src="images/eportfolio-v1_08.gif"></a></td> </tr> <tr> <td height="35" background="images/eportfolio-v1_09.gif" class="nav"> <span style="margin-right: 20px;"><a href="#">Danceometer</a></span> <span style="margin-right: 20px;"><a href="#">Music database</a></span> <span style="margin-right: 150px;"><a href="#">Invitation</a></span> <span style="margin-right: 20px;"><a href="#">Sponsorform</a></span> <span style="margin-right: 20px;"><a href="#">Make a catch</a></span> <span style="margin-right: 20px;"><a href="#">Playlist</a></span> </td> </tr> <tr> <td background="images/eportfolio-v1_10.gif" class="content"> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> </td> </tr> </table> </body> </html> The image is attached below Thanks. When I try to make one of my blogger photos (More Free) link to the website of that person, it also makes the "Sponsors & Partners" text link to the same site. http://www.ballermag.com/ It appears to be wrapping around to the next line. Am I missing something? If someone could help straighten this out, I would appreciate it. I can code a regular hyperlink ok, but I want to make the page that the hyperlink leads to open in a new window that loads under the current page. How can I do that? I a little new to this but I am useing coffe cup HTML editor 2008 I have seen a website which suits my needs and its just the out line i am interested in the following lines I cannot amend for some reason please tell me why? <link rel="shortcut icon" href="/wp-content/themes/alesca/favicon.ico"/> there are three other lines starting with link rel= if I try to amend them in html editor it changes eveything thanks xstation I'm having trouble trying to resolve a minor issue with the color scheme for the text links of my web site. There are text-based links in more than one part of the site, and these links are set against different colors (tan, white, and green). Setting the link colors inside the body tag (alink= vlink= link=) didn't go well because, the color scheme that works for the green background didn't work for other areas of the site. I'm sure there's a simple answer to this, and I'll welcome any assistance. And I'll be happy to provide any additional information if needed. the title makes it sounds really confusing. Ok im making my first website, and i need help with a code, (as you can see on www.dalekblaster.co.uk) i have got a section at the top where the images change from one to another. The code is - HTML Code: // Set slideShowSpeed (milliseconds) var slideShowSpeed = 5000; // Duration of crossfade (seconds) var crossFadeDuration = 5; // Specify the image files var Pic = new Array(); // to add more images, just continue // the pattern, adding to the array below Pic[0] = 'http://www.dalekblaster.co.uk/images/banner/dalekblasternexttime.jpg' Pic[1] = 'http://www.dalekblaster.co.uk/images/banner/dalekblaster2.jpg' Pic[2] = 'http://www.dalekblaster.co.uk/images/banner/dalekblastersjanexttime.jpg' Pic[3] = 'http://www.dalekblaster.co.uk/images/banner/dalekblaster.jpg' // do not edit anything below this line var t; var j = 0; var p = Pic.length; var preLoad = new Array(); for (i = 0; i < p; i++) { preLoad[i] = new Image(); preLoad[i].src = Pic[i]; } function runSlideShow() { if (document.all) { document.images.SlideShow.style.filter="blendTrans(duration=2)"; document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"; document.images.SlideShow.filters.blendTrans.Apply(); } document.images.SlideShow.src = preLoad[j].src; if (document.all) { document.images.SlideShow.filters.blendTrans.Play(); } j = j + 1; if (j > (p - 1)) j = 0; t = setTimeout('runSlideShow()', slideShowSpeed); Now i need help because, i want to link each picture on the slideshow to a differnet page or external site, but im not sure how. (but so they can go to different pages not the same one) can anyone help me? So I have to make a basic html site for a class project and I am having some browser problems. On IE some of my images are not showing up (red X), but they work fine on Firefox and Safari. On Firefox none of my links are changing color when they are visited, but they are on IE and Safari. Ideally, I would like my site to work correctly on either IE or Firefox, but not necessarily both. What are some possible fixes for my problems? Thanks in advance Gahh! I tried to make my own image map but for some reason it's just no working! Can someone look at the code and see if there's any mistakes or anything please? I tried taking out the decimals but that didn't seem to help it either. HTML Code: <MAP NAME="MyMap"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/dent%26oralsurg.htm" COORDS="0,0 3.5,2.5"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/cossurg.htm" COORDS="6.7,0 10.5,2.5"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/emergoxy.htm" COORDS="3.8,2.6 6.8,4.4"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/vet.htm" COORDS="0,4.5 3.5,7"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/custom.htm" COORDS="7,4.6 10.5,6.5"> </MAP> <IMG USEMAP="#MyMap" SRC="http://www.freewebs.com/dent-gas/homeboxes.gif" BORDER="0"> Source: http://www.sedition-gaming.com There are a couple of problems on the page in IE that I don't see in Firefox. 1. The blue bars at the top and bottom are both only supposed to be 4px tall, yet for some reason, IE is making them stretched out around 10-15. I imagine the problem is because of the clear.gif inside it, but I haven't a clue why since I have the cellpadding set at 0 on all sides. Code: <tr> <td background="images/site/bluebar-top.gif" height="4" style="bluebar"><img src="images/site/clear.gif" width="1" height="1" border="0"> </td> </tr> Code: td.bluebar { padding: 0px 0px 0px 0px; } 2. Not an image problem, but a question about IE: I have table cell rollovers in the navigation bar that work in FF but not in IE: Does IE not support td cell rollovers? Thanks in advance! Basically I've got my header image which has its width set to 100% so that it adjusts for different resolutions. It seems to work fine on all of my web browsers (FF, IE, Safari, Chrome, Opera). When my client looked at the website on their computer it seems the image seemed to be overly large. I can't be sure exactly what the problem is by their description, which makes it even harder to solve. I have no way at all of reproducing this problem. It's a simple image inside a table cell. The XHTML has been fully validated and as I said it looks fine on all my web browsers. I asked what version of IE she was using, and it was the same as mine, so I'm super confused and don't know how to fix this. Any help would be great. EDIT: The website is www.whale-cove.com.au if some kind people want to take a look and tell me if it looks awkward. I confess that I am a total 'noob' at 74 years old, and will probably get flamed for this question - but here goes - I have taken the on-line HTML course for basic set up and have built a web page; however, it is so bad I do not want to launch it until I can get some issues corrected. PROBLEM 1 - I built the file in 'notepad' text writer. When I look at my internet at 'open', 'brouse', 'index.html' file, and select 'OK', the features show up as I want; however, when I upload the file to my web page, the image is a square with a red X. I set up the image by adding the following line to the file: <img src="xxx.jpg"> PROBLEM 2- In spite of adding <p> </p> at the beginning and ending of my paragraphs, after uploading, the webpage displays each paragraph of text as one long line of text. Can someone advise where I am going wrong? Bob Hi everyone, My website, currently at http://www.mlcprop.com/index2.html , is having issues. They a 1.) There is lots of extra space at the bottom when viewed in IE. 2.) The drop-down menu (click "apartments") doesn't display properly in IE; there is supposed to be a green background. It displays fine in Safari/Firefox/Opera however. 3.) I'm having trouble getting the bottom section to work properly. There's supposed to be a green gradient background for the content area that fades out to the page's brown background color. I did this by creating a central table cell with a tiling background image of the green gradient that's very tall and narrow. However, some pages are VERY long... such as thisone. How do I account for this? I tried matching the cell's background color to the image but it doesn't seem to match, or should I just make my tiling green background super long to account for this? I didn't want the file size to be huge. The lower left table cell ("footl") doesn't seem to display properly either. There's supposed to be an image there, a subtle shadow effect. It displays fine on the right ("footr"). Can anyone help with any of these? Thanks so much, Tatiana I have a issue with a google checkout add to cart button. I've added the code from the site and the button appears in the top left hand corner of the screen. I've tried opening the files in frontpage and drag and dropping it, but for some reason the button doesnt show there. If any can help please do. Thanks This is the Html i've got in the page for the part. <html> <img border="0" src="hill.jpg" width="150" height="137"></p> <p> & nbsp;<div class="product"><input value="Metal" class="product-title" type="hidden"><input value="14.99" class="product-price" type="hidden"><div title="Add to cart" role="button" tabindex="0" class="googlecart-add-button"></div></div></p> <div class="product"><input value="Silent Hill" class="product-title" type="hidden"><input value="14.99" class="product-price" type="hidden"><div title="Add to cart" role="button" tabindex="0" class="googlecart-add-button"></div></div> </body> </html> Hello ladies and gentlemen. Im having trouble aligning some buttons i made with an a big image and small image of the like. They need to look like this... http://i217.photobucket.com/albums/c...wayne/main.jpg but currently are out of sync and all stuffed up. I was wondering what i could do to correct he problem and make it like the image above. Thanks in advance I'm actually having the same problem I've seen wandering about, and I've already considered all the given advice and nothing seems to be working. The background image is split into a 3x3 table for easier loading, and now I'm getting a small gap between the rows themselves. This is the page: http://akito.clavis-sama.com/ I don't have any <p> tags and my margins are all set to 0 already. Yet I have those lines in the middle of my table for the header image. Any clue as to what the problem could be? I've never had this problem before but I uploaded a lot of images and put them in a gallery using an image hyperlink with thel image being a thumbnail and the link being the larger image. The problem is when I click the thumbnail the larger image has this white background around it. Is there anyway to fix this? or What am I doing wrong? my code looks like this <a href="http://www.eccentrix.com/members/carmellady/portfolio/DSC0006.jpg" target="http://www.eccentrix.com/members/carmellady/IFRAMEURL2.html" border="0"> <img src="http://www.eccentrix.com/members/carmellady/Thumbnails/06TH.jpg" HEIGHT="20" WIDTH="20" border=0></a> Hello Everyone! I am having a problem... I have a specific colour I would like my header to be but the spacer image is another colour?? I have tried removing the spacer image but it does not go away, I have tried removing nesting or clearing cell heights but they just mess up the entire page. Is there no way to just change the Spacer Image Colour? Thanks for you replies in advanced Hi All, I have a problem that seems to only occurs in IE (i'm currently using IE8). Basically, i have web pages that consist of a header, content area and a footer. I am trying to stretch an image to be displayed as a left and right border in the content area. the image is not a solid color, so simply setting a border property would not work. In all browsers but IE, the image stretches just fine. The site is heavily table based due to the fact that it is written for a CMS known as NetSuite. A lot of the tables and html are created by the CMS and are very difficult and tricky to modify. You can see the page in action at - http://staging.marware.com/iphone-cases/iphone-4-cases I have tried numerous combinations of height:100% and different positioning values with little help. One of the problems is that the height of the content area is dynamically set. The code in place now looks like this: <table border="0" cellpadding="0" cellspacing="0" width="1020" height="100%" align="center"> <tr style="height:100%;"> <!-- left side image --> <td style="width:9px; height:100%;"><img src="http://www.marware.com/images/body_outer_border.png" border="0" height="100%" width="9" /></td> <td valign="top" width="400" align="center"> <!-- right side image --> <td style="width:9px; height:100%;"><img src="http://www.marware.com/images/body_outer_border.png" border="0" height="100%" width="9" /></td> </tr> </table> I am new to html. I just wanted to find out how to get the coordinates for an image. Is there some type of program you put it in to get the exact coordinates? Please help... code: Code: <img src="/home/brokenbot/Pictures/rihanna-beat-up1.jpg" width="500" length="600" alt="Rihanna Beat Up" usemap="rihannapractice" /> <map name="rihannapractice"> <area shape="circle" coords= I'm lost on where to even start to find my coordinates. |