Old 10-09-2005   #1 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 12

HTML Madness

Well its been a long time but im back with a question. Well first glad to see Biorust is still running strong.

Ok now for the question

Im trying to get an image to be a link. I know the code for this process but its seems that when I try using it my page splits. Yes im using Imageready which is the devil but its my personal preference. Here is a link to the website that is currently running with Tables as links which doesnt all ways work as it requires code correction thourgh the browser and ends up just turning most of the links to background images.

[Use veiw page source to veiw code pls thx ]

http://www.ksu.edu/sigep/history.html

Here is what I would like to to have below but with the code i use it splits the page as you can see with the link that I edited:

http://www.ksu.edu/sigep/balanced.html


Any help I cna get to resolve this issue would be so great!

Thanks again,

Stiker
kits is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-09-2005   #2 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,073
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Your problem only appears in Internet Explorer and may be due to its questionable use of the BORDER parameter. Add border="0" to the IMG tags, and the problem will probably vanish...
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-10-2005   #3 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 12

thanx

Thanx mog! Always very helpful

(edit) Well I added the code just now and it seems to still not want to stop. I will toy with it a bit more and let you know.

Last edited by kits; 10-10-2005 at 04:41 AM.
kits is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-11-2005   #4 (permalink)
Face addict
 
supafly's Avatar
 
Join Date: May 2004
Location: Preston England on the west side
Posts: 290

Send a message via MSN to supafly
can i ask why they are backgrounds and not images maybe that would help with the tables and such you have done it for the first two maybe that's the thing that is making it wonky



I hope it helps
__________________
supafly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-11-2005   #5 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 12

The rest of the site but the one section that I edited are all backgrounds. The one that I edited (/sigep/balanced.html) the home icon is not a background. The whole image was made into a link and it then split the webpage. I have had images as links before and I have not seen this happen which is why I am confused. It adds a 3px bottom border to the link. Unless it is something with my CSS code but i do not see it anywhere.

I also tried putting the "border=0" command in like every line above it hoping that it might get rid of the border but it did not.
kits is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-12-2005   #6 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 12

just bumping it...Stil have not yet figured out why but if anyone might have the solution that would be great <3
kits is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-12-2005   #7 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,073
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Cool

Heya Kits! The solution is quite easy when you know about IE's wierd rendering engine. The solution lies with your 'Balanced Man' and 'Home' graphics. Here is some of your original code:

HTML Code:
<TD><IMG height=27 alt="" 
      src="- Sigma Phi Epsilon - Kansas Beta - Balanced Man Information -_files/banner2.gif" 
      width=223 border=0> </TD>
Notice the space right near the end, between the IMG and closing TD tag? In IE that renders as a space and leaves a slight gap after your image. Change the code to something like this:

HTML Code:
<TD><IMG height=27 alt="" 
      src="- Sigma Phi Epsilon - Kansas Beta - Balanced Man Information -_files/banner2.gif" 
      width=223 border=0></TD>
...And the problem vanishes! Here's the corrected HTML file. Enjoy!
Attached Files
File Type: zip sigma phi - corrected.zip (3.0 KB, 20 views)
__________________

Last edited by Man1c M0g; 10-12-2005 at 09:27 PM.
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-13-2005   #8 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 12

Always the little things. IE needs to be revamped hard core. Im going to create a enter page with a link to firefox and suggest it being downloaded. Things like that are just annoying but it makes sense I guess. Thanks again Mog for all your help Ill re post when I am finished with the site for a critique for finilization.

Many many thanks

stik
kits is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-02-2006   #9 (permalink)
robin
 
robin746's Avatar
 
Join Date: May 2006
Location: Eire
Posts: 48

Man1c M0g: +1 for that.

Everyone else: When in doubt, remove whitespace from your HTML. It's not supposed to be significant, but it sometimes is, and will result in things like:
* banding between images that should be adjacent
* extra line breaks
* content not fitting into containers it should

If you see these symptoms, zap all offending whitespace!
__________________
"out of environment space"
robin746 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-03-2006   #10 (permalink)
Naruto Express
 
allstar's Avatar
 
Join Date: May 2006
Location: Scotland
Posts: 69

Send a message via AIM to allstar Send a message via MSN to allstar
also you will have to put in alt if you check it in W3skools standard as they have it as i must am i not sure why tho
allstar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-03-2006   #11 (permalink)
robin
 
robin746's Avatar
 
Join Date: May 2006
Location: Eire
Posts: 48

allstar: The "alt" attribute is there as an "alternative" to the image for those who will not see it because they are blind, have images turned off, are viewing on a text-only interface, etc. You should always provide an "alt" attribute.

The "title" attribute adds additional information to the image, generally seen when you mouse over it. The two are available for different purposes. Some earlier browsers would display the "alt" on a mouse-over, but that was in error.
__________________
"out of environment space"
robin746 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using images for input fields in html.. Help! ViciOuS HTML / PHP / ASP / JS 7 08-29-2005 11:38 AM
HTML - Stretch Layout KrAaIeNpOoT HTML / PHP / ASP / JS 2 01-18-2005 10:55 AM
Html Links Help! Stiker HTML / PHP / ASP / JS 4 11-08-2004 11:01 PM
Html help. Word wrap? Bub HTML / PHP / ASP / JS 4 10-30-2004 05:11 PM
HTML Help.. Young Spartan HTML / PHP / ASP / JS 9 11-14-2003 12:23 AM


All times are GMT +1. The time now is 08:56 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT