Knowledge Base support case for Likno Web Accordion Builder,  abstracted and stripped of all user’s private info.


Initial Email From:
Sandy
l Email Subject: Accordion
Support Case Month: April 2013

How do I get the text to wrap so there is no scrolling within the panes?

Reply From: Likno Customer Support

Hello,

I checked your page and I see that you do not have a DOCTYPE, so your page is not considered as valid HTML.

no DOCTYPE html

Please try adding this as the first line in your page to see if this fixes the problem:

<!DOCTYPE html>

Note that this may make other errors visible in your page. One such issue I noticed in my test was that your main image appeared broken:

broken main image

To fix this, add the following CSS: “display: block;”

You can either add this to the specific image:

<IMG style="display: block;" SRC="images/anniversary/images/anniversary-cars_01.gif" WIDTH=900 HEIGHT=131 ALT="">

Or if you want this for all images, you can add it to the <head> of your your HTML:

<style>img { display: block; } </style>

I understand this may be some work, but it is something you have to do anyway if you want your pages to validate and be HTML5 compliant.

Note, that if you want to avoid most of this work for now and simply fix the accordion issue, you can use an older DOCTYPE definition that will not change your page appearance, such as the following (note this also replaces the <html> tag):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: Sandy

Kostas, you are the best! thank you so much.

Thanks,
Sandy

Tags: , , , , , ,