strange goings on

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
User avatar
Cpt Link128
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 10:58 pm
Location: Denver/Golden, CO
Contact:

strange goings on

Post by Cpt Link128 »

well I just pulled an all nighter teaching myself HTML and a little css. In spite of the lack of sleep I managed to build a rudimentery version of my site, and somehow everything worked, at least locally. After I loaded up my indextemplate and daily stuff got weird.
The advert at the top of the page went poof and none of my css effects are showing up (the code was external and loaded in so location could be the problem there). I tripple checked the source code on the advert and reloaded it a couple of times but no dice, same with the css? could they be screwing each other up? I'll post my indextemp source code. Love any help I can get.

Code: Select all

<?xml version="1.0" encoding="iso-8859-1"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html lang="en" xml:lang="en" 
xmlns="http://www.w3.org/1999/xhtml"> 
<head><title>***comic_name*** - ***todays_date***</title> 
<meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1" /> 

<link rel="stylesheet" type="text/css" href="index.css" />

</head> 
<div class="keen_ad" style="display:inline;"> 
***advertisement*** 
</div> 


<h1 align="center"><image src="images\comic_title.gif"/></h1>
<div id="comic" align="center">


***todays_comics*** 
<br /> 
***first_day*** ***previous_day*** ***next_day*** ***last_day*** 

</div>
<br />

<h3 align="center">Ah yes you want comments from the potentate.</h3>

<h2 align="right">Written and Illustrated by John Crawford Smith</h2>

<table align="center" border="ridge">
<tr>
<th><image src="images\avitarversion.gif"/>Cpt Link128</br>freshness date</th>

<td>news update yada yada yada yada yada yada yada<td>
</tr>

<tr>
<th><image src="images\avitarversion.gif"/>Cpt Link128</br>freshness date</th>

<td>news update yada yada yada yada yada yada yada<td>
</tr>

<tr>
<th><image src="images\avitarversion.gif"/>Cpt Link128</br>freshness date</th>

<td>news update yada yada yada yada yada yada yada<td>
</tr>
<tr>
<th><image src="images\avitarversion.gif"/>Cpt Link128</br>freshness date</th>

<td>news update yada yada yada yada yada yada yada<td>
</tr>
</table></div>

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

webcomics.</h4>
</div>
</body>
</html>
I am all that is man!

User avatar
STrRedWolf
Confuzzled CG Admin
Confuzzled CG Admin
Posts: 2580
Joined: Fri Jan 01, 1999 4:00 pm
Location: undef;
Contact:

Post by STrRedWolf »

Okay, first of all, your XHTML is broken.

IMG instead of IMAGE, and you need a space before you self-close those tags.

http://html-tags.info/ has a comprehensive guide. It's part of Visibone's refrence pack, which is just compressed with info. I have their card set -- best $30 I spent.

In the meanwhile, we need a pastebin. Can you paste your indextemplate.html and your dailytemplate.html onto http://paste.ubuntu-nl.org/ and give us the URL's that result from it?
Kelly "STrRedWolf" Price
Admin, Comic Genesis
Artist/Writer, Stalag '99 (WolfSkunks and Drygers, oh my!)
I NEED MORE TIME, CAPTIN!

User avatar
Cpt Link128
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 10:58 pm
Location: Denver/Golden, CO
Contact:

a step in the right direction

Post by Cpt Link128 »

so I fixed the css issue by imbedding the code in my html, it's sloppy but it worked.
Also I've re-coded a significant portion of the site so my html looks completely different than it did. The new stuff, daily is the same as index, is at http://paste.ubuntu-nl.org/31743/. Fixed the image vs img thing and put in the space in the self closing tags.

Of course the advert is still a no show which is weird because I'm using your code for that section. It shouldn't, in theory, matter what comes after that, right?

I've been using html dog as a guide, it's free which is good for me because I don't plan to do much besides building this site. Is there a problem with this I should be aware of?
I am all that is man!

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Post by Dr Neo Lao »

I had quick look at your code and made a temp version of your site, here:

http://h1.ripway.com/tiearmyfunds/angel/angeltemp.html (If you want to save the html, just right-click and save, or click and have a look.)

Just click on "View Source" to look at the code. There are a lot of comments that I put in various places throughout the code.

Also, for some reason I couldn't save the archive.gif image, so I just made a temp one out of one of the other gifs. Looks ugly as sin, but it's just holding the spot for your proper image.

This (slightly modified) version of the code is more browser-friendly for non-IE users. I also made the CSS a seperate document (you can see it here, or right-click + save).

If someone tells you I did something wrong or a different way of doing something, they're probably right. Just post here once you no longer need these files and I'll take them down again. Either way, hope this helps! :D

User avatar
Cpt Link128
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 10:58 pm
Location: Denver/Golden, CO
Contact:

thanks

Post by Cpt Link128 »

hey thanks for the tips I was having trouble getting it to work in firefox so hopefully this helps. Ironically, I already tried using the css as a separate doc and I couldn't get it to work.
I am all that is man!

Post Reply