Page 1 of 1

mystery gap... :)

Posted: Mon Aug 18, 2003 9:45 am
by coos
right guys, little detective job for you!

check out

http://www.rktx.co.uk/Rktx/pages/acts.p ... show=diary

and tell me why there's a random gap in the div of the page...

I removed all of the whitespace between 'td' tags, and there's no whitespace between the opening and closing echo tags

ie.:

echo'<td>a table cell</td>'; pretty much as it should be.

The resulting html code is pretty messy, but cheers for looking!

There's a bonus prize if you can tell me why there are little squares instead of apostrophes on the home page as well!

disclaimer: Coos is a poor student. There is o bonus prize, but you will be hailed a Daddy. Oh yes.

Cheers guys!

;)

Coos[/url]

Posted: Wed Aug 20, 2003 6:56 am
by will
i'm guessing you are copying the text from MS Word or something and then pasting it into a web form or whatever, no? If so, then the problem with the apostrophes is Word's use of "smart quotes" (which are in fact grammatically correct I believe). They are not part of the standard ASCII character set, so they don't display in web pages. you have two choices - either replace them with standard apostrophes or with ’

i'm not sure what gap you're talking about.. could you be more specific?

Posted: Wed Aug 20, 2003 7:25 am
by greenhorn666
table border="0" cellspacing="0" cellpadding="0"

Could this solve your problem?
But again, not quite sure what the exact problem is... But seems more HTML than php to me :P

thanks for the help!

Posted: Tue Aug 26, 2003 8:17 am
by coos
Thanks so far guys... the plot thickens!

the text WAS copied from MSWord, given to me by the owner of the company like that (damn you Microsoft!) ha ha!

I'll pull it out, and run it through notepad- that usually strips any formatting out!

Someone also mentioned that the page is set to a Latin 8-bit encoding?

Gonna research that further to get it to Western European (at least all the Spanish visitors will have been loving it so far!)

The RANDOM GAP thing is really wierd.

when I first view an Act page, like http://www.rktx.co.uk/Rktx/pages/acts.p ... show=diary

there's a HUGE gap above the first line within the <div> tag. now the HTML code seems to look ok, and a refresh usually sorts it out, but as you can imagine it's doing my head in!

If you guys aren't sure, can you recommend a good HTML forum: most of the ones I find are pretty poo!

Cheers again...

Mark

Posted: Tue Aug 26, 2003 11:17 pm
by JAM
I was just about to comment that it looked fine, but thenremembered that I refreshed. I did notice the gap...

Have no definite answer either. I'm no master in good/bad stylesheets either, but what happens if "width:700; height:400;" is changed to "width:700px; height:400px;" ?

Using no px,cm,pt (whatever) makes the browser calculate the actual width. Using px you'll get a fixed width/heigth. Just a thought.

Thanks Jam!

Posted: Wed Aug 27, 2003 6:01 am
by coos
nice one, buddy, I'll give it a try. There'll be another post on here this afternoon if u wanna see if it works!

again, cheers for checking it out for me.

Coos

Posted: Wed Aug 27, 2003 6:10 am
by JayBird
Hello Scarborough!!!

Just noticed you live pretty near :O)

woohoo!

Posted: Wed Aug 27, 2003 6:32 am
by coos
Hey Bech100, where u at?

The waves are looking pretty good today!

ha ha!

durrrrrr

Posted: Wed Aug 27, 2003 6:34 am
by coos
sorry, York. worked it out. (Newbie, here- soory guys!)

whadda ya make of the site, then Bech?

Got a few little bugs, but I'm well chuffed to have shifted those dodgy squares!

As soon as the random gap is sorted I'll be loving it!

Results of dimensions from 400 to 400px etc. will be up at 15:00GMT if anyone wants to keep up!

heh heh!

Laterz, guys

Re: Thanks Jam!

Posted: Wed Aug 27, 2003 11:40 am
by JAM
coos wrote:nice one, buddy, I'll give it a try. There'll be another post on here this afternoon if u wanna see if it works!
again, cheers for checking it out for me.
Coos
Of course post it. Now I need to know also. =)

LATE REPLY!

Posted: Fri Aug 29, 2003 7:19 pm
by coos
sorry it's late...

hasn't been as sucessful as I'd hoped. :(

Am thinking that most of the problems arise from the use of

HTML: {
</td>
</tr>
</table>
}

rather than

HTML: {
</td></tr></table>
}

Internet Explorer doesn't mind the odd one, but with the serious amount of nested tables I'm using, it throws a Benny.

Mozilla, on the other hand, takes it like a b1tch! ha ha!

removing the trailling whitespace seems to have KINDA worked, but not 100%- and I won't rest until it does!

Any more help is greatly appreciated.

Any more comments? Fire away!

in the meantime,

http://www.rktx.co.uk

Local bands heading for the global market... one step at a time!

:D