Webmastersite.net
Register Log In

Missing text, randomly messed up li's, what's going on?
Plain page made through KompoZer, inserted through WSD admin

Comments on Missing text, randomly messed up li's, what's going on?

RockinDoubleJ
Member

Usergroup: Member
Joined: Jul 29, 2011

Total Topics: 6
Total Comments: 34
Posted Jul 29, 2011 - 9:58 PM:

This page looks fine except for towards the bottom and I can't figure out why. The stars are bullet points I coded to show up with the id #starlist and that seems to be working OK. But other than that, this is a pretty straightforward page. I'm having two problems and am only assuming they're connected. Been working on it for hours and can't find the problem, so here I am asking for help.  smiling face

1). The last li is showing up on the same line as the li before it and I can't figure out why. I'm not seeing any open tags, which was my first thought.  Nor am I seeing any code that is different than the li's above it. 

2).  There is more text after the last li that you can see only if  you get into the page source.  But it's just encased in a span, thought I've tried paragraphs and div's now as well.

 

Nothing I've tried seems to make a difference.  I've already somewhat cleaned up the original code I was sent for this page, but I know I didn't get rid of all the obsolete tags in there.  Could those be the problem?

I'm really quite stuck here.  Any ideas?  Perhaps I'm just overlooking something.

Thanks!  grin
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Jul 30, 2011 - 12:36 AM:

Your html code is, urmm, not very good (cough, being polite smiling face ). There are also 48 errors and 10 warnings when trying to validate it.

You also have a span nesting error in the first <li> Try using an external css stylesheet and tidy up your code and you will probably find it then works.
RockinDoubleJ
Member

Usergroup: Member
Joined: Jul 29, 2011

Total Topics: 6
Total Comments: 34
Posted Jul 30, 2011 - 9:47 AM:

Yeah, I know the code stinks.  :P  I was trying to get it to look good before I completely redid it.  My client used KompoZer and the code is so messy, I was nearly pulling out my hair over trying to clean it up.  That being without recoding it entirely.

But thank you!  I'll try that.  smiling face
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 02, 2011 - 6:50 AM:

This was inserted using the custom pages system? Pasting already-WYSIWYG content into the WYSIWYG editor there could have unpredictable results I suppose. I'd recommend either composing the page there, or simply uploading the html made elsewhere to the templates/pages/ directory.
RockinDoubleJ
Member

Usergroup: Member
Joined: Jul 29, 2011

Total Topics: 6
Total Comments: 34
Posted Aug 14, 2011 - 2:20 AM:

Never used the Wysiwyg in the program until today. We put html straight into templates/pages directory.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.