REL
01-08-2003, 02:39 PM
attached is the code,
see extra space why? thread:D
see extra space why? thread:D
|
Click to See Complete Forum and Search --> : extra space why? #2 REL 01-08-2003, 02:39 PM attached is the code, see extra space why? thread:D Zach Elfers 01-08-2003, 02:46 PM <table align=center table border=2 width=660 valign=top background="netback.gif"> Above you have the word table inserted before border. I think this should be taken out. You also don't have any </center> tags, and there is some coding in the head section. That's all I can suggest right now. I am still working on it. REL 01-08-2003, 02:57 PM Zach, thanks for your time, save it as a .htm and open in browser, the space is between the blue h-line and the border of the table. Zach Elfers 01-08-2003, 02:57 PM ok, I still don't know what to do. jeffmott 01-08-2003, 04:31 PM REL <td align=center valign=middle bgcolor=red><font size=3 color="#000044" face=arial><B><i>English<br>Premiership</i></B></font><BR><IMG SRC="ENGLAND FLAG.gif"></td><br><br> You have two line breaks outside of the table cell, which IE is not supposed to be a part of the table and moves it just above the table. There is another spot in your page that does the same thing. The is also just generally filled with errors. Read http://www.w3.org/TR/html401/ for information regarding HTML, and then always pass your pages through the validator http://validator.w3.org/ spufi 01-08-2003, 05:35 PM I was weeding through the code and found numerous errors like Jeff said. Some other things to think about. Name HTML pages with all lower case names. Don't have names, for pages and images, that have spaces in them. Either have tags names in all upper case, or in all lower case. I'm not 100% what a <h> tag does, but I didn't notice a difference when I removed them. My book pointed to <hr> tags when I tried to reference the <h> tag. Your colored <hr> tag isn't colored in Netscape. Netscape doesn't handle the color attribute for the <hr> tag. Spend some time learning CSS. http://www.w3.org/TR/REC-CSS2/ I was getting rid of a good amount of your code by just adding some CSS. jdavia 01-08-2003, 10:17 PM I done the whole table over for you. The space is gone. <html> <head> <title>Club Soccer Socal Soccer Pro Teams & Clubs</title> </head> <BODY BACKGROUND=""BODY BGCOLOR="#ffffff" TEXT="#404040" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"> <table width="100%" border="1" cellspacing="0" cellpadding="10" bgcolor="#80ffff" bordercolor="#ff0080"> <tr> <td align="center"colspan="3"> <h1><font color=blue <i>Soccer Pro Teams & Clubs</i></font></h1> <IMG SRC="ballg.gif"> <a href="Club Soccer Socal Site Map-EDIT.htm"> <font size=4 color="#0000bb"><b>Return to Site Map</b></font></a> <p> <hr color=NAVY size=5 width=500></hr> </td> </tr> <tr> <td align="center"> <applet code="WldNewsTick.class" codebase="http://www.wldcup.com/newsexp" WIDTH=175 HEIGHT=75> <PARAM NAME="BgColor" VALUE="#99ccff"> Sorry -- you need Java for this ticker to work. </applet> </td> <td align="center"> <a href="MLS PAGE.HTM"><img alt=MLSProTeams src="mls logo.gif"></a> </td> <td align="center"> <font size=3 color=red><b><i>< < < click on logo</font> </td> </tr> <tr> <td align=center valign=middle bgcolor=red ><font size=3 color="#000044" face=arial><B><i>English<br>Premiership</i></B></font><BR><IMG SRC="ENGLAND FLAG.gif"> </td> <td align=center valign=middle bgcolor=yellow ><font size=3 color="#000044" face=arial><B><i>German<br>Bundesliga</i></B></font><BR><IMG SRC="GERMAN FLAG.gif"> </td> <td align=center valign=middle bgcolor=#00CCFF ><font size=3 color="#000044" face=arial><B><i>Scotland<BR>Premier League</i></B></font><BR><IMG SRC="Scotland FLAG.gif"> </td> </tr> <tr> <td align=center valign=middle> <b> <h>Arsenal</H><BR> <H>Aston Villa</h><br> <H>Birmingham</h><br> <H>Blackburn</h><br> <H>Bolton</h><br> <H>Charlton</h><br> <H>Chelsea</h><br> <H>Everton</h><br> <H>Fulham</h><br> <H>Leeds</h><br> <H>Liverpool</h><br> <H>Manchester City</h><br> <H>Manchester United</h><br> <H>Middlesbrough</h><br> <H>Newcastle</h><br> <H>Southhampton</h><br> <H>Sunderland</h><br> <H>Tottenham</h><br> <H>West Brom</h><br> <H>West Ham</h><br> <img src="logo premier.gif"> </B> </td> <td align=center valign=top><b> <h>Bayern Munich</H><BR> <H>Borussia Dortmund</h><br> <H>VFB Stuttgard</h><br> <H>TSV 1860 Munich</h><br> <H>Werder Bremen</h><br> <H>Hertha Berlin</h><br> <H>Schalke 04</h><br> <H>VFL Wolfsburg</h><br> <H>VFL Bochum</h><br> <H>Nurnberg</h><br> <H>Hamburg SV</h><br> <H>Bayer Leverkusen</h><br> <H>Hannover 96</h><br> <H>Borussia M'Gladbach</h><br> <H>Hansa Rostock</h><br> <H>Armenia Bielefeld</h><br> <H>Kaiserslautern</h><br> <H>Energie Cottbus</h><br><br> <img src="logo liga.gif"> </b> </td> <td align=center valign=top><b> <h>Aberdeen</H><BR> <H>Celtic</h><br> <H>Dundee</h><br> <H>Dundee United</h><br> <H>Dunfermline</h><br> <H>Hearts</h><br> <H>Hibernian</h><br> <H>Kilmarnock</h><br> <H>Motherwell</h><br> <H>Glasgow</h><br> <H>St. Johnstone</h><br> <H>St. Mirren</h><br> <H>Livingston</h><br><br><br><br><br><br><br><br> <img src="logo scotland.jpg"> </b> </td> </tr> <tr> <td align=center valign=middle bgcolor= blue><font size=3 color="#000044" face=arial><B><i>France<br>Ligue 1</i></B></font><BR><IMG SRC="FRANCE FLAG.gif"> </td> <td align=center valign=middle bgcolor=green><font size=3 color="#000044" face=arial><B><i>Italy<br>Serie A</i></B></font><BR><IMG SRC="ITALY FLAG.gif"> </td> <td align=center valign=middle bgcolor=gold><font size=3 color="#000044" face=arial><B><i>Spain<br>Primera Liga</i></B></font><BR><IMG SRC="SPAIN FLAG.gif"> </td> </tr> <tr> <td align=center valign=top> <b> <h>Nice</H><BR> <H>Lyon</h><br> <H>PSG</h><br> <H>Marseille</h><br> <H>Sochaux</h><br> <H>Strasbourg</h><br> <H>Lens</h><br> <H>Auxerre</h><br> <H>Monaco</h><br> <H>Bordeaux</h><br> <H>Guingamp</h><br> <H>Lille</h><br> <H>AC Ajaccio</h><br> <H>Bastia</h><br> <H>Sedan</h><br> <H>Nantes</h><br> <H>Montpellier</h><br> <H>Le Havre</h><br> <H>Troyes</h><br> <H>Rennes</h><br> <img src="francelogo2.gif"> </B> </td> <td align=center valign=top><b> <h>Inter Milan</H><BR> <H>Juventus</h><br> <H>AC Milan</h><br> <H>Chievo Verona</h><br> <H>Lazio</h><br> <H>Roma</h><br> <H>Bologna</h><br> <H>Modena</h><br> <H>Parma</h><br> <H>Empoli</h><br> <H>Udinese</h><br> <H>Perugia</h><br> <H>Brescia</h><br> <H>Piacenza</h><br> <H>Torino</h><br> <H>Reggina</h><br> <H>Como</h><br> <H>Atalanta</h><br><br><br><br> <img src="logo italy.gif"> </b> </td> <td align=center valign=top><b> <h>Real Sociedad</H><BR> <H>Valencia</h><br> <H>Mallorca</h><br> <H>Celta Vigo</h><br> <H>Real Madrid</h><br> <H>Barcelona</h><br> <H>Malaga</h><br> <H>Betis Sevilla</h><br> <H>Deportivo La Coruna</h><br> <H>Valladolid</h><br> <H>Atletico Madrid</h><br> <H>Racing Santander</h><br> <H>FC Sevilla</h><br> <H>Athletic Bilbao</h><br> <H>Rayo Vallecano</h><br> <H>Alaves</h><br> <H>Villarreal</h><br> <H>Espanyol</h><br> <H>Recreativo Huelva</h><br> <H>Osasuna</h><br> <img src="Spainlogo2.gif"> </b> </td> </tr> </table> <CENTER> <img src="__top2_680x45.gif"> <h6>Copyright 2002 RL</H6> </CENTER> </body> </html> jeffmott 01-08-2003, 11:11 PM jdavia I done the whole table over for you. The space is gone. First, the problem had already been identified and a fix given so I'm not sure why you felt you had to do it again. Second, the "I fixed it, here ya go" tells the original poster nothing of the cause or solution. So they have no idea what they did wrong or how to correct it in the future. And third, if you're going to redo the page, you should at least make it valid code. jdavia 01-09-2003, 02:26 AM jeffmott First, the problem had already been identified and a fix given so I'm not sure why you felt you had to do it again. Second, the "I fixed it, here ya go" tells the original poster nothing of the cause or solution. So they have no idea what they did wrong or how to correct it in the future. And third, if you're going to redo the page, you should at least make it valid code. I didn't think so. rel started another thread. Well I spent quite a bit of time trying to solve the problem. It was in the way the tables were made, and some of the code outside it. To me the easiest way to solve it was to make new tables, and insert the existing code in them. I tried to send it as an attachment but it didn't go through so I posted the code. Sorry if I made you upset. That was not intended, my concern was to help not hinder. The only code that I did was the table. it is a three column six row table, the first row is three columns wide. All the rest is rel's. I wanted to make as simple as possible, and it works. rel can do the finishing touches. REL 01-09-2003, 02:49 AM Thanks to all for the help. My problem is fixed and I appreciate it . I wrote it all with code, no generators, Front Page etc, I am a newbie to this and I am sure I will find more errors. again thanks, this forum is a great teaching tool. rl jeffmott 01-09-2003, 03:18 AM jdavia I didn't think so. rel started another thread Yes they did... this one. The other thread is older. jdavia Well I spent quite a bit of time trying to solve the problem This is the part I don't get. The problem was already solved. All you had to do was read the other posts. :confused: Though I do realize the intentions were good. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |