Something strange happening |
Something strange happening |
boemboem |
Nov 12 2008, 07:31 PM
Post
#1
|
Group: Members Posts: 3 Joined: 12-November 08 Member No.: 7,092 |
Hello again
I have something strange going on and I can't fix it when you go to this webpage: http://www.coldcharlie.nl/index.php?site=forum As you can see the <h2>Forum</h2> tag, beneath there is a lot of space wich I dont like, I would like to have it like the rest of the pages. this is the code after <h2>Forum</h2>, as you can see, there is nothing what is resposible for that amount of space. CODE <table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#666666"> <tr bgcolor="#333333"> <td width="10" class="title style1"></td> <td class="title style1">Board:</td> <td width="40" align="center" class="title style1">Topics:</td> <td width="40" align="center" class="title style1">Posts:</td> <td width="25%" align="center" class="title style1">Laatste Posts:</td> </tr> Maybe that I have sitting to long on this chair, that I don't see anything anymore but I can use some help Thanks a ton in advance |
Christian J |
Nov 12 2008, 08:04 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,630 Joined: 10-August 06 Member No.: 7 |
There are lots of invalid markup, such as multiple STYLE elements scattered throughout the page: http://htmlhelp.com/cgi-bin/validate.cgi?u...mp;warnings=yes
I should add that the multiple STYLE elements are not the cause of the problem, rather a sign of how bad the HTML editor is. This post has been edited by Christian J: Nov 13 2008, 08:18 AM |
Frederiek |
Nov 13 2008, 03:31 AM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
|
boemboem |
Nov 13 2008, 04:49 AM
Post
#4
|
Group: Members Posts: 3 Joined: 12-November 08 Member No.: 7,092 |
9 <br>'s!! where, because I cant find them
|
Frederiek |
Nov 13 2008, 07:27 AM
Post
#5
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Right, I don't see them when viewing the source, but I do when using Safari's Web Inspector:
CODE <td align="top" bgcolor="#676767"> <h2>Forum</h2> <br> <br> <br> <br> <br> <br> <br> <br> <br> <table ... See the screenshot: They all have a computed height of 12px and 0 for width. Maybe it's the PHP that generates them. |
Brian Chandler |
Nov 13 2008, 07:49 AM
Post
#6
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
QUOTE Maybe it's the PHP that generates them. If the PHP generated them, they would be in the source, since PHP only generates the document sent to the browser... |
Christian J |
Nov 13 2008, 08:26 AM
Post
#7
|
. Group: WDG Moderators Posts: 9,630 Joined: 10-August 06 Member No.: 7 |
Right, I don't see them when viewing the source, but I do when using Safari's Web Inspector: I don't see them in the page's innerHTML. QUOTE Maybe it's the PHP that generates them. I guess you meant javascript? But the gap remains for me even when JS and CSS is disabled. Maybe it has something to do with all the nested layout tables and/or markup errors. I suggest rewriting the page from the beginning, while watching out for the markup produced by the HTML editor(s). |
Frederiek |
Nov 13 2008, 01:30 PM
Post
#8
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I must say this is the first time I see a difference between the source code as in View Source and the output of Safari's Web Inspector.
I didn't see anything in the js files that could cause it. I de-activated everything I could, but the gap stayed and errors started to come up as if it were the validator. |
pandy |
Nov 13 2008, 08:01 PM
Post
#9
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
I was looking for something like that, but I don't see BRs in IE's rendered source either.
There are table errors but fixing them doesn't help. It's not the CSS. It's not something generated by JS. So what the heck is it? |
Christian J |
Nov 14 2008, 08:15 AM
Post
#10
|
. Group: WDG Moderators Posts: 9,630 Joined: 10-August 06 Member No.: 7 |
|
boemboem |
Nov 14 2008, 08:36 AM
Post
#11
|
Group: Members Posts: 3 Joined: 12-November 08 Member No.: 7,092 |
thank you all, it's strange allright. accept for the diffent styles (wich I will put in a stylesheet later) the site is original.
|
pandy |
Nov 14 2008, 03:57 PM
Post
#12
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
|
Lo-Fi Version | Time is now: 28th March 2024 - 08:28 PM |