473,387 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Content Broken ONLY in FF for Windows

AutumnsDecay
170 100+
Hey there.

So over the time I've been gone, I got engaged. I am now making an information site for my and my fiances wedding.

The problem is that on every page I use a table inside a DIV. I do this to make everything look nice and sorted. It display perfectly in IE, Safari, FF for Mac, but not in FF for windows.

In FF for windows, the "content" div doesn't even recognize that the table exists as a table (similar to containing div mis-aligning while containing a containting div).

The website it''s being tested at is: http://www.autumnsolutions.org/wedding

Here is a small bit of source code from one of the pages (though they're pretty much all identical).

Expand|Select|Wrap|Line Numbers
  1. .content
  2.     {
  3.     width:990px;
  4.     padding-left:5px;
  5.     padding-right:5px;
  6.     padding-top:5px;
  7.     padding-bottom:5px;
  8.     background:#FFFFFF;
  9.     text-align:left;
  10.                 }
  11.  
Expand|Select|Wrap|Line Numbers
  1. <div class="content">
  2.         <h3 align="center">wedding party</h3>
  3.             <span class="bodystyle">
  4.             <p align="right"><img src="images/us1.jpg" align="right">
  5.             <table width="625" align="left" cols="2">
  6.             <tr>
  7.                 <td align="center" colspan="1"><span class="bodystyle"><p align="center">Below is the current wedding party for both the bride and the groom.</p></span></td>
  8.             </tr>
  9.             <tr><td>&nbsp;</td></tr>
  10.             <tr>
  11.                 <td align="left" width="300" style="margin-right:25px"><span class="bodystyle"><b><u>Mat</u></b></span></td>
  12.                 <td align="left" width="300"><span class="bodystyle"><b><u>Olivia</u></b></span></td>
  13.             </tr>
  14.             <tr><td>&nbsp;</td></tr>
  15.             <tr>
  16.                 <td align="left" width="300" style="margin-right:25px"><span class="bodystyle"><b>1. </b>Stephen Scovil - <u>Best Man</u></span></td>
  17.                 <td align="left" width="300"><span class="bodystyle"><b>1. </b>Meghan Brooks-Bethune - <u>Maid of Honor</u></span></td>
  18.             </tr>
  19.             <tr>
  20.                 <td align="left" width="300" style="margin-right:25px"><span class="bodystyle"><b>2. TBD</b></span></td>
  21.                 <td align="left" width="300"><span class="bodystyle"><b>2. TBD</b></span></td>
  22.             </tr>
  23.             <tr>
  24.                 <td align="left" width="300" style="margin-right:25px"><span class="bodystyle"><b>3. TBD</b></span></td>
  25.                 <td align="left" width="300"><span class="bodystyle"><b>3. TBD</b></span></td>
  26.             </tr>
  27.             <tr>
  28.                 <td align="left" width="300" style="margin-right:25px"><span class="bodystyle"><b>4. TBD</b></span></td>
  29.                 <td align="left" width="300"><span class="bodystyle"><b>4. TBD</b></span></td>
  30.             </tr>
  31.             <tr>
  32.                 <td align="left" width="300" style="margin-right:25px"><span class="bodystyle"><b>5. TBD</b></span></td>
  33.                 <td align="left" width="300"><span class="bodystyle"><b>5. TBD</b></span></td>
  34.             </tr>                
  35.             </table>
  36.             </span>
  37.     </div>
  38.  
Help is definitely appreciated. Thanks!
Jun 9 '08 #1
5 1410
AutumnsDecay
170 100+
I fixed it temporarily for now by setting a min-height attribute to the CSS of the content div, but I would still like to know the best way to do this.
Jun 9 '08 #2
drhowarddrfine
7,435 Expert 4TB
1) Tables are not allowed inside <p>
2) You are using xhtml declarations and end tags but declare html.
Jun 9 '08 #3
AutumnsDecay
170 100+
I closed the open <p> tag (didn't mean t have it open still) and I'm still getting the same result.

It's my own site, so I'm not too concerned, just wanted to know for future reference.
Jun 10 '08 #4
drhowarddrfine
7,435 Expert 4TB
Change this:
<html xmlns="http://www.w3.org/1999/xhtml">
to this:
<html>

Remove all slashes from end tags '/>'.

Both of those items are XHTML only and sometimes cause browsers to stop processing at that point.
Jun 10 '08 #5
AutumnsDecay
170 100+
Not sure how that XML stuff got in there.

either way, it didn't fix the problem. I'm not sure why this is happening. I've used tables inside of DIVs before and it's worked fine.
Jun 10 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

24
by: Mohammd M. Hussain | last post by:
Hi, I am writing an XHTML 1.0 Strict Compatible web page. However, the validator complained about the <br> tag. I wonder whether there is another alternative for this. Thanks,
7
by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header |...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
6
by: Just that | last post by:
All of C++ people say that they need to INCLUDE teh files to compile the source code BUT I never mean to INCLUDE any things, I just want to take the file I like out and thats all...I point to is...
16
by: Jon | last post by:
Hi there, In many of my sites I have code like: <SCRIPT language="JavaScript" type="text/javascript"> <!-- user = "USER"; isp = "DOMAINNAME.XXX"; document.write('<a href=\"mailto:' + user +...
38
by: Emmett | last post by:
I have a simple jacascript that randomizes the background of the top frame of my webpage http://www.duke.edu/~efn. For some reason, my Internet Explorer started blocking the background and...
0
by: philip20060308 | last post by:
Hi all, Has anyone ever seen Python 2.4.1's httplib choke when reading chunked content? I'm using it via urrlib2, and I ran into a particular server that returns something that httplib doesn't...
1
by: kierenj | last post by:
Hi, I'm trying to send a zipfile to a client using Content-Disposition: attachment. Done it before and it works fine. My code is below: context.Response.Buffer = false;...
25
by: Norman Diamond | last post by:
I think the current version of _vsnwprintf_s is broken, in ordinary Windows. I'm not completely sure yet but it looks like this breakage is worse than previously known Windows CE breakage of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.