Problem with Definition List FireFox
Posted: Thu Feb 25, 2010 9:37 am
I've run into a weird problem getting a definition list to display correctly in FireFox 3.6..
Near the bottom of my PHP code within in an echo statement I list contact information using the <dl><dt><dd> tags.
What is happening is that the <dd> tag will not display the entire phone number. Here is the original code:
What appears on the website is the word 'Telephone' followed by a blank line, then the word 'Fax:' followed by the indented fax phone number.
If I remove the last digit in the phone number (that would be the '6') only the 9 digit telephone number line will be displayed (250) 426-422!
Here's my fix:
As you can see I just split the area code from the phone number.
Only Fire Fox will NOT display the phone number if that one extra digit is included, IE has no problem.
Weird or what!
Any suggestions!
Near the bottom of my PHP code within in an echo statement I list contact information using the <dl><dt><dd> tags.
What is happening is that the <dd> tag will not display the entire phone number. Here is the original code:
Code: Select all
<h2>Contact Information</h2>
<dl>
<dt><b>Telephone:</b></dt>
<dd>(250) 426-4226</dd> --) [color=#800000]this last digit caused the entire line to disappear[/color]
<dt><b>Fax:</b></dt>
<dd>(250) 426-4576</dd>
<dt><b>Postal address:</b>1408 4th Ave South, Cranbrook B.C. V1C 2E9</dt>
<dt><b>Email:</b><a href="mailto:rockymountainrvrentals@telus.net">rockymountainrvrentals@telus.net</a></dt>
</dl>
If I remove the last digit in the phone number (that would be the '6') only the 9 digit telephone number line will be displayed (250) 426-422!
Here's my fix:
Code: Select all
<h2>Contact Information</h2>
<dl>
<dt><b>Telephone:</b>Area Code: (250)</dt>
<dd>426-4226</dd>
<dt><b>Fax:</b> Area Code (250)</dt>
<dd>426-4576</dd>
<dt><b>Postal address:</b>1408 4th Ave South, Cranbrook B.C. V1C 2E9</dt>
<dt><b>Email:</b><a href="mailto:rockymountainrvrentals@telus.net">rockymountainrvrentals@telus.net</a></dt>
</dl>
Only Fire Fox will NOT display the phone number if that one extra digit is included, IE has no problem.
Weird or what!
Any suggestions!