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.
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.
Your html code is, urmm, not very good (cough, being polite ). 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.
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.
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.
Comments on Missing text, randomly messed up li's, what's going on?
Member
Usergroup: Member
Joined: Jul 29, 2011
Total Topics: 6
Total Comments: 34
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.
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!
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Your html code is, urmm, not very good (cough, being polite ). 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.
Member
Usergroup: Member
Joined: Jul 29, 2011
Total Topics: 6
Total Comments: 34
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Member
Usergroup: Member
Joined: Jul 29, 2011
Total Topics: 6
Total Comments: 34
Never used the Wysiwyg in the program until today. We put html straight into templates/pages directory.