(Fixed again) HTML Text not appearing in right places

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
Imatron
Regular Poster
Posts: 37
Joined: Mon Mar 24, 2008 6:35 pm

(Fixed again) HTML Text not appearing in right places

Post by Imatron »

Hey everyone, Im in the middle of finally getting my skin online, and for some strange reason the tests Im running with my code are only now having this issue, before today the test worrked just fine:

Today I was able to reset my password and grab the "this site is hosted on comic genesis etc---" url from my index page and place it on the test template that will replace the index template, and now whenever I run the test, all the text that is supposed to appear underneath the table programming that operates the main peice of the skin is apearing on top of the main portion of the skin instead. If you copy and past the codeing below into notepad and rename it as an html, then right click it and open it with internet explorer, you should see whats going wrong. I imagine the table is being reconized as a second priority to apear below the text thats supposed to run at the bottom instead of in between it and the text thats supposed to go above and below it:



Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html>

<head>

<title>BLUE BOOK of DOOM</title>

</head>

<center>***advertisement***
</center>

<body>

<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width=200px background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/tlc.png">&nbsp;</td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mtb.png">&nbsp;</td>
<td width=22px background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/trc.png"&nbsp;/td>
</tr>

<tr>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mlb.png"&nbsp;/td>
<img src="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mlb.png"><td>

<!-- The encoding for this sites template is possible thanks to Dr. Neo Lau, and Wendybird, and Imatron. If you should use this template, please make sure these names are credited somewhere on your site or in the hidden coding on the template itself. -->

<center>***first_day*** ***previous_day
***
 ***next_day*** ***last_day***</center>

<center>***todays_comics***</center>

<center>***first_day*** ***previous_day
***
 ***next_day*** ***last_day***</center>

</td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mrb.png"&nbsp;/td>
</tr>

<tr>
<td height=29px background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/blc.png"&nbsp;/td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mbb.png"&nbsp;/td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/brc.png"&nbsp;/td>
</tr>

<center> All works on BLUE BOOK of DOOM are copywrite Richard Roth (Imatron) and Mathew Fogel (Dark Lord M), or otherwise their respective copywrite owners.</center>

<center>
***comic_name*** is hosted on <a href="http://www.comicgenesis.com">ComicGenesis</a>, a free webhosting and site automation service for webcomics.
</center>

</table>

</body>
</html>



Also, the final version will have the images linkled from blue book of doom (the sites name) instead of maj, I just need to replace the maj links with <td background="mycomicsname.comicgenesis.com/images/image_name"> , correct?

Again, thanks everyone for your help!


EDIT:

>_< Found the problem, I accidentaly placed the </table> code AFTER the text instead of before it which incorperated the text into the table itself.

EDIT AGAIN:

Ok, it seems despite my attempts to use notepad with settings to prevent those symbols from being expressed as other certain codes meaning those characters, so it seems Ive got to recode some stuff, if you guys can give me any hints while I recode and tinker I'd certainly appreciate it.
Last edited by Imatron on Tue Mar 03, 2009 7:52 am, edited 2 times in total.

User avatar
MagooChris
Regular Poster
Posts: 41
Joined: Wed Feb 04, 2009 8:04 pm

Re: HTML Skin not showing up right

Post by MagooChris »

your code has a few problems in it...

firstly the closing tags: <td ...>&nbsp;</td> seem to have been replaced with <td ...&nbsp;/td> and you have text that isn't actually inside the table cells... Also some of the " have been replaced with look alikes...

what text editor are you using?

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html>

<head>

<title>BLUE BOOK of DOOM</title>

</head>

<center>***advertisement***
</center>

<body>

<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width=200px background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/tlc.png">&nbsp;</td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mtb.png">&nbsp;</td>
<td width=22px background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/trc.png">&nbsp;</td>
</tr>

<tr>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mlb.png">&nbsp;</td>
<td>

<!-- The encoding for this sites template is possible thanks to Dr. Neo Lau, and Wendybird, and Imatron. If you should use this template, please make sure these names are credited somewhere on your site or in the hidden coding on the template itself. -->

<center>***first_day*** ***previous_day
***
***next_day*** ***last_day***</center>

<center>***todays_comics***</center>

<center>***first_day*** ***previous_day
***
***next_day*** ***last_day***</center>

</td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mrb.png">&nbsp;</td>
</tr>

<tr>
<td height=29px background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/blc.png">&nbsp;</td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/mbb.png">&nbsp;</td>
<td background="http://www.majhost.com/gallery/Imatron/BLUEBOOK/brc.png">&nbsp;</td>
</tr>
</table>

<center> All works on BLUE BOOK of DOOM are copywrite Richard Roth (Imatron) and Mathew Fogel (Dark Lord M), or otherwise their respective copywrite owners.</center>

<center>
***comic_name*** is hosted on <a href="http://www.comicgenesis.com">ComicGenesis</a>, a free webhosting and site automation service for webcomics.
</center>


</body>
</html>

Web Admin for: http://ameliasamulet.comicgenesis.com/ (Yup it's plain and borring because my fiancée hasn't decided how she wants it to look yet...)

Imatron
Regular Poster
Posts: 37
Joined: Mon Mar 24, 2008 6:35 pm

Re: HTML Text not appearing in right places

Post by Imatron »

I was using note pad, which was SUPPOSED to get rid of all those little odds and ends from replacing the code marks with other similar ones, you can see from bluebookofdoom.comicgenesis.com and what you already spotted, something got billgateserized.

:_: And now I probably have to undo the said billgateserization and recode a buncha stuff.

Can you recomend what settings to use with notepad to help ensure I dont get these problems again?

User avatar
MagooChris
Regular Poster
Posts: 41
Joined: Wed Feb 04, 2009 8:04 pm

Re: HTML Text not appearing in right places/other complications

Post by MagooChris »

notepad shouldn't have any settings that should change your code like that...

I use something called Notepad++ that is free and colour codes the syntax on the screen so that its a bit easier to read (when I coppied in your old code in to this the whole thing was having a heart attack but once I found the first wrong colour I noticed the wrong " and as soon as I fixed them up the colours corrected themselves.)
Web Admin for: http://ameliasamulet.comicgenesis.com/ (Yup it's plain and borring because my fiancée hasn't decided how she wants it to look yet...)

Imatron
Regular Poster
Posts: 37
Joined: Mon Mar 24, 2008 6:35 pm

Re: HTML Text not appearing in right places/other complications

Post by Imatron »

Right now, I am just confused, after doing alot of recoding and retesting, I have no idea whats wrong with my code, and it seems my sample comic went missing and the site only updated once for me when I initialy added the new code, and is apparently stuck with my broken code or the code rebroke after the corrections. Somehow, even though I hand coded and hand wrote everything that everyone had helped me with learning into the notepad program which isnt supposed to switch around the letters with other codes and lookalikes, it does just that anyway. My comic will not appear on the page, and the only thing that I can get to appear as far as comics go, is the malfunctioning "previous day" keentag.

Imatron
Regular Poster
Posts: 37
Joined: Mon Mar 24, 2008 6:35 pm

Re: (Fixed again) HTML Text not appearing in right places

Post by Imatron »

Alright, now it looks like the site is operational, with the exception of an image dissapearing from the middle left border which acted as a girder to keep the left side from being squished when the page autoe resized,

Didja take that out thinking it wasnt supposed to be there XD.

Thanks for the help there, Ive added your name to the hidden codeing inside the template, and I hope to add you and the other people who have helped get the site up and running in a credits/special thanks section.

User avatar
MagooChris
Regular Poster
Posts: 41
Joined: Wed Feb 04, 2009 8:04 pm

Re: (Fixed again) HTML Text not appearing in right places

Post by MagooChris »

oh yeah, sorry about that, I forgot to say that I removed an image that wasn't sitting inside any table cell and I couldn't work out where it was supposed to go (and when I opened up the page to view it it looked fine to me, but then again, I didn't really know if it was what you wanted or not...

Thanks for the reference... but I didn't do much other than clean up what snotpad left behind ;)
Web Admin for: http://ameliasamulet.comicgenesis.com/ (Yup it's plain and borring because my fiancée hasn't decided how she wants it to look yet...)

Post Reply