Log In · Register

 
big gap, how do i lose it?
towntown2
post Nov 27 2005, 09:35 PM
Post #1


Mais je ne l'aime pas
*****

Group: Member
Posts: 971
Joined: Mar 2005
Member No: 108,135



i just made a freewebs account to hone my new HTML skills. anyway, i finished coding my index page and already i've run into a problem. the following is the whole coding of the page..


and here's what appears in the page
index page click

obviously, something's wrong with the coding. my question is, where is the mistake? and how can i fix it?

thanks in advance!
mel
 
 
Start new topic
Replies (1 - 6)
*mipadi*
post Nov 27 2005, 09:47 PM
Post #2





Guest






Where's the big gap?
 
towntown2
post Nov 27 2005, 09:50 PM
Post #3


Mais je ne l'aime pas
*****

Group: Member
Posts: 971
Joined: Mar 2005
Member No: 108,135



well the big gap is gone, i fixed it. but now the content which shows in the preview doesn't show in the actual page. here's the revised code.. sorry everyone!


sorry again! anyway, I want to know why the content div is showing when i previewed it, but it's not there when i go to the main page..
 
Mulder
post Nov 27 2005, 10:18 PM
Post #4


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



CODE
<DIV id=main>
<DIV id=content1>
<H2>navigation</H2>Me<BR>Site<BR>Credits<BR>
<H2>credits</H2><A href="http://www.myspace.com/towntown2" target=_blank>myspace</A>
<DIV id=main>
<DIV id=content2>
<H2>Content</H2>dane cook is harmful if swallowed.. </DIV></DIV></DIV></DIV></DIV>


you never closed the first <div id=main> and im not sure if capitalization matters, but the div shouldnt be capitalized. so, you should have:

CODE
<div id=main>
<div id=content1>
<h2>navigation</h2>Me<br />Site<br />Credits<br />
<h2>credits</h2><A href="http://www.myspace.com/towntown2" target=_blank>myspace</A></div>
<div id=content2>
<h2>Content</h2>dane cook is harmful if swallowed.. </div></div>
 
*mipadi*
post Nov 27 2005, 10:53 PM
Post #5





Guest






QUOTE(insomniac @ Nov 27 2005, 10:18 PM)
you never closed the first <div id=main> and im not sure if capitalization matters, but the div shouldnt be capitalized. so, you should have:
*

HTML is case-insensitive.
 
towntown2
post Nov 28 2005, 09:54 AM
Post #6


Mais je ne l'aime pas
*****

Group: Member
Posts: 971
Joined: Mar 2005
Member No: 108,135



all right, it's all fixed now. thanks so much!
 
Kenado
post Nov 28 2005, 08:06 PM
Post #7


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



Topic Closed.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: