Ryusuke Posted October 25, 2006 Share Posted October 25, 2006 http://www.urbanfreestyle.co.nr/homepg.htmSo my problem is my site doesn't work in Internet Explorer because the image links below. What is the best way to do it so it suits Firefox and IE?Here is the code for the banner and links table.<div style="margin-left: 80px; width: 500px; font: normal 12px arial;background-color;position:absolute;top:0;left:00;width:0px;"><table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor=black bgcolor=#155190><td bgcolor=#155190><IMG src="http://www.freewebs.com/adayoffreestyle/presevewithtriangle.JPG" border=2 width=840></td><table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor=black><tr><td><a href= "http://z7.invisionfree.com/A_Day_of_Freestyle/index.php?act=site" target = "_blank" ><img border ="2" src="http://www.freewebs.com/adayoffreestyle/buttons/portal.jpg"</a</td><td><a href= "http://z7.invisionfree.com/A_Day_of_Freestyle/index.php?act=idx" target = "_blank" ><img border ="2" src="http://www.freewebs.com/adayoffreestyle/buttons/Forums.jpg" </a</td><td><a href= "http://www.urbanfreestyle.co.nr/Tricktips.htm" target = "_parent" ><img border ="2" src="http://www.freewebs.com/adayoffreestyle/buttons/tricktips.jpg" </a</td><td><a href= "http://www.urbanfreestyle.co.nr/moretricktips.htm" target = "_parent" ><img border ="2" src="http://www.freewebs.com/adayoffreestyle/buttons/moretricks.jpg" </a </td><td><a href="http://www.urbanfreestyle.co.nr/gallery.htm" target="_parent" ><IMG src="http://www.freewebs.com/adayoffreestyle/buttons/gallery.jpg" border=2></a</td><td><a href="http://www.urbanfreestyle.co.nr/link.htm" target="_parent" ><IMG src="http://www.freewebs.com/adayoffreestyle/buttons/links.jpg" border=2></a</td><td><a href="http://www.urbanfreestyle.co.nr/games.htm" target="_parent" ><IMG src="http://www.freewebs.com/adayoffreestyle/buttons/games.jpg" border=2></a</td><td><a href= "http://www.urbanfreestyle.co.nr/urbanfreestyle.htm" target = "_parent" ><img border ="2" src="http://www.freewebs.com/adayoffreestyle/buttons/flaws.jpg" "/></a</td></tr></table></table></div> Thanks you W3 Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 26, 2006 Share Posted October 26, 2006 Do you mean that the links that are images have a border around them?If so just put this code in the image tag: border="0" so for example:<img border="0" src="mypic.jpg"> Link to comment Share on other sites More sharing options...
justsomeguy Posted October 26, 2006 Share Posted October 26, 2006 <td><a href= "http://z7.invisionfree.com/A_Day_of_Freestyle/index.php?act=site" target = "_blank" ><img border ="2" src="http://www.freewebs.com/adayoffreestyle/buttons/portal.jpg"</a</td>You left off the closing > on both the img and a tags. Link to comment Share on other sites More sharing options...
scott100 Posted October 26, 2006 Share Posted October 26, 2006 Yeah, plus run your code through the validator - that's what it's there for!http://validator.w3.org/ Link to comment Share on other sites More sharing options...
Ryusuke Posted October 26, 2006 Author Share Posted October 26, 2006 I fixed up the closing problem, but I need a document type, something I am trying so hard to look for to validate. Link to comment Share on other sites More sharing options...
scott100 Posted October 26, 2006 Share Posted October 26, 2006 I fixed up the closing problem, but I need a document type, something I am trying so hard to look for to validate.This can be found on the site: http://www.w3schools.com/tags/tag_doctype.aspTransitional is probably the most popular Link to comment Share on other sites More sharing options...
Ryusuke Posted October 27, 2006 Author Share Posted October 27, 2006 sO i GUESS THIS LEADS ME TO MY NEXT PROBLEM,**I used Transitional before but in the validator I got errors like these oneshttp://validator.w3.org/check?uri=http%3A%...le%2Fhomepg.htm Link to comment Share on other sites More sharing options...
justsomeguy Posted October 27, 2006 Share Posted October 27, 2006 Wow, that's a lot of errors. Well, start going through them and ask if you have specific questions. Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 27, 2006 Share Posted October 27, 2006 @Ryusuke Many of your errors, if not all of them are where you have just forgot to close tags and missed out just a sngle character. It shouldn't take you too long to go through them and fix it up. I must say I saw a website the other day and it had about 6 or 7 different validtion things and it looked pretty impressive!I might go through my coding but I have to say, with over a hundred pages I am not looking forward to it at all. Link to comment Share on other sites More sharing options...
Ryusuke Posted October 28, 2006 Author Share Posted October 28, 2006 But theres lots of confusing errors, to me, like these ones Error Line 77 column 79: document type does not allow element "TABLE" here; missing one of "TH", "TD" start-tag....="0" cellpadding="0" bordercolor=black>The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). Error Line 114 column 15: there is no attribute "BACKGROUND".<td background="http://www.freewebs.com/adayoffreestyle/newestheaderblack.gif"> And I just don't understand this one# Error Line 78 column 31: document type does not allow element "TABLE" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.<table border="0" cellspacing=0>The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now