You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I need to edit the XHTML (due to non-compliance) of the site owner info in the footer. I've looked for 3 hours and cannot determine where this it stored. HELP! PLEASE!
Offline
What part of the footer are you trying to modify? The styling and inclusion is in skin.php and the actual store owner information that is included there is built in skinfunc.php. What part of it are you finding that isn't compliant?
Offline
Can be seen here...www.mountainxray.com/ccp6/index.php
I changed the color and added credit card image. The name, address and phone of owner was entered via admin.
When running source code through validator, I get this:
Line 286 column 2: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag.
<p>PO Box 107 Montgomery, West Virginia 25136 United States</p>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
etc.
I can't find this code because I entered this info via admin.
Thanks for your help,
Mitch
Offline
OK, I found my problem! When I added the credit card imaging to the footer, The img statement was not closed with />. I never did find where the text was stored. The validator thought the "P" wasn't correct but it was because the previous statement was left open.
Offline
The actual text that is displayed, the owner information, comes from the settings for the store which are stored in the database. That might be the reason you couldn't locate it.
Offline