All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: XHTML Problem  (Read 15065 times)

0 Members and 1 Guest are viewing this topic.

Offline Romik84

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
XHTML Problem
« on: 06 June 2008, 10:12 »
Hi friends, I am back with little problem. I am using following XHTML structure on a single post in WP:
Code: [Select]
</head>
<body>


<div id="page">
<div id="header">
<div id="search"></div>
</div>
<div id="menu"></div>
<div id="pagewrapper">
<div id="pagecontent">
<div id="posts">
<div class="post">
<div style="float:left;width:480px;">
<div class="entry"></div> 
</div>
<div id="comments" class="comments-number"></div>
<div class="commentlist"></div>
</div>
<div id="sidebar"></div>
<div style="clear:both;"></div></div></div></div>
<div id="footer"></div>

</body>
</html>


and the css code:

Code: [Select]
#page {
margin:0 auto;
width:886px; 
}
#pagewrapper {
background:#101010 url('design/content.png') no-repeat top center;
width:886px;
}
#pagecontent {
  background:#fff;
width:844px;
padding:0 14px; 
margin:0 auto;
}
#header {
background: url('design/header.jpg') no-repeat top center;
width:863px;
height:86px;
padding:47px 20px 0 3px;
}
#search {
  float:right;
  width:236px;
  margin-top:23px;
}
#menu {
  background: url('design/menu.png') no-repeat top center;
width:861px;
height:45px;
padding:26px 0 0 25px;
  color:#fff; 
  font-size:18px; 
}
#posts {
  float:left;
  width:480px;
  margin-top:14px;
}
.post {
margin-bottom:10px;
background:url('design/post_background.png') bottom center no-repeat;
float:left;
}
.post .entry {
  width:480px;
  float:left;
  margin:15px 0 0 0;
}
.comments-number {
  font:bold small-caps 18px tahoma;
  color:#444;
  margin-top:10px;
  float:left;
  width:480px;
}
.commentlist {
text-align: justify;
margin-bottom:20px;
}
#footer {
background:#101010 url('design/footer.jpg') no-repeat top center;
width:849px;
height:50px;
padding:40px 42px 0 45px;
border:none;
margin:0 auto;
clear:both;
font-weight:normal;
}
#sidebar {
  float:right;
padding-left:4px;
width:350px;
margin-top:14px;
}

Well my problem is, when I click on "Add Comment" on the Index or Category page it redirect me on the single page but it always crop the page - only Header and footer it shows. I use <a href="#comments">. I was trying <a href="#header">, <a href="#menu">, <a href="#pagewrapper"> and it worked. When I tried <a href="#pagecontent"> it already crops the page. So I think the problem start on that div command or css but I dont understand why. Will u help me?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: XHTML Problem
« Reply #1 on: 06 June 2008, 10:23 »
Do you have an example or something for me to visualize?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: XHTML Problem
« Reply #2 on: 06 June 2008, 10:42 »
That I have no idea, if you view your source, the whole site get loaded then after a while the site collapse. Try creating a new anchor like <a name="test"></a>

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Romik84

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: XHTML Problem
« Reply #3 on: 06 June 2008, 10:52 »
hm, I have changed...it goes to post but not the comment section. weird...  ???

EDIT: SOrry, working already. Thanks for help. ;)

second edit: working only for Firefox, not IE and Opera

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: XHTML Problem
« Reply #4 on: 06 June 2008, 17:00 »
Sorry man, cant help you on this, my css ain't that good.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Romik84

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: XHTML Problem
« Reply #5 on: 06 June 2008, 17:28 »
dont worry lester. I have fixed it already. I was talking with specialist also and he didnt know also. So I started to remove elements and I got the problem. It was in javascript which called TABS UI. There were a command style="display:none;" so I removed it and it works now... lol... luck  :D

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: XHTML Problem
« Reply #6 on: 06 June 2008, 17:40 »
Ooo I see. How you manage to debug? Try one by one?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Romik84

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: XHTML Problem
« Reply #7 on: 06 June 2008, 17:50 »
I was removing temlates. Header, page, sidebar, footer. Then the problem was in sidebar. So I removed there and elements... then I was browsing all files filed under the element and I found the javascript...then I was browsing all the script code and found it. Oh, but before I have used Firebug and it showed me in the source code the command: style="display:none;" . thats all... ;)

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: XHTML Problem
« Reply #8 on: 06 June 2008, 17:56 »
ooo i see. glad you found the problem. It can be irritating at times.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Romik84

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: XHTML Problem
« Reply #9 on: 06 June 2008, 17:58 »
yes . it was. It took 3 days... lol....