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
Mulder
post Nov 27 2005, 10:18 PM
Post #2


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 #3





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.
 

Posts in this topic
towntown2   big gap   Nov 27 2005, 09:35 PM
mipadi   Where's the big gap?   Nov 27 2005, 09:47 PM
towntown2   well the big gap is gone, i fixed it. but now the ...   Nov 27 2005, 09:50 PM
insomniac   CODE<DIV id=main> <DIV id=content1...   Nov 27 2005, 10:18 PM
mipadi   QUOTE(insomniac @ Nov 27 2005, 10:18 PM)you n...   Nov 27 2005, 10:53 PM
towntown2   all right, it's all fixed now. thanks so much...   Nov 28 2005, 09:54 AM
Kenado   Topic Closed.   Nov 28 2005, 08:06 PM


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