HTML - Firefox Woes: Collapsing Tables
I got a prob: the site i'm designing looks great in IE, but in Firefox, all the tables collapse and it looks crap.
i've taken care to sort the opacity of my transparent divs with the "-moz-opacity" tag, but is there a tag that does the same for tables? check it out he http://www.creativetruth.co.za/divercity/index.html Similar TutorialsHello all, I am working on a site and having 2 problems. 1. How do you center a whole table? I try table align="center" but it centers all the elements 2. I try to do table width=80% and in IE it works but it doesnt work in firefox Anyone have any ideas? There's something wrong with the tables on the site I'm currently working on.. There's no errors of any kind, but they're acting kind of odd.. I tried to make the code as clean as possible, but since this is a dynamic page, that isn't always easy. In Firefox i get a gap from time to time in the cell background of the page. But if i try to update it gets fixed. In Opera it stays like this all the time Here's a link to the page http://svolvar-jff.net/new/index.php?side=aktiviteter&id=12 This page looks fine in IE but tables are too wide in Firefox. Can anyone tell me what I need to change? http://tinyurl.com/2crnbe Thanks! I have run into a problem when using tables in Firefox. I code for IE 6.0 and I like my browser to determine when to put text on a new line once the table width has been reached. Rather than put breaks <br> in my text I just let the browser decide. When I open a page in Firefox it does not wrap the text within the table it just allows the text to flow to the right until the end of the text occurs. To fix this I now have to use <br> whenever I want a new line to begin but this creates other problems when others view my pages in IE 6 or IE 7 as the line breaks are now choppy sometimes consisting of one word on a line. My screen resolution is 1280x1024 but if someone does not have this resolution the page is a mess. I am using Dreamweaver as my editor and Firefox 2.0.0.15. Works just fine with IE 6 or IE 7. Can anyone help me with this? Here is an example of a page that I been forced to put <br> at the end of each line: http://www.outdoorphotographycanada.com/dwilson.html Thanks, Dave Hi I need help in tables with 100%. Actually i am keeping a table with 100% fihed width in a <td>, but when i am minimising the IE or Firefox browser the columns are reducing , how to solve the problem I hand coded my website myself, but whilst working perfectly in IE, there are some problems when viewing it using Firefox. Specifically, the table rows have double-spacings (scroll down to the 'Education' section he www.lombrozo.co.uk/resume.html), and also table borders have a 3D look (a black border to emphasise the shadow), again, this shadow is not visible in IE... Any ideas anyone? Any help would be most appreciated! http://www.yandina.com/JIndex.htm Open in Firefox, Chrome or Safari - - - that is what it is supposed to look like. Open in IE and the last table get overlaid on top of the previous table. What sort of things can cause that? Additional (unrelated I think) problem, IE is not accessing cookies but others are fine. What can cause that? Hi all, I am new to HTML and I would like to request you all to help me out of my situation. I use three frames for my website as shown in the screenshot. What I am concerned about is the Left Menu which should expand and collapse automatically when selecting a different set of menu. Also the currently selected menu should be highlighted as shown in the screenshots. Since am new to HTML can someone please provide some sample codes and functions (javascripts) that could be used to generate this output. Your help in this regards is highly appreciated with gratitude. Thanks in advance to one and all who ever gives a look at this thread to help me out. Regards Subramanian Does anyone know the CSS or HTML (or combo) script to be able to have a table row collapse when there is no text in one cell, but there is text in the next cell? I have a 2-column table with titles in the left column and want the right column to be populated by a user. If the user doesn't populate the right cell(s) or row, I'd like that row -including the constant/visible text that is in the left col- to be hidden and that row to collapse or move up... Hi, I am fairly new at website building and I'm just building a page for a friend but I can not seem to find a way to keep the frames from collapsing too small for the content. Here is what I have. Not sure how much of it is redundant or noobish. Code: <FRAMESET ROWS="95,75,300,80,*" BORDER="0" BORDERCOLOR="000000"> <FRAME NAME="Top" id="Top" scrolling="no" noresize="noresize" src="Pages/Logo.html"> <FRAME NAME="SelectionTop" id="SelectionTop" scrolling="no" noresize src="Pages/SelectionTop.html"> <FRAME NAME="Middle" id="Middle" scrolling="no" noresize src="Pages/Content.html"> <FRAME NAME="Bottom" id="Bottom" scrolling="no" noresize src="Pages/SelectionBottom.html"> <FRAME NAME="FILLER" id="Filler" scrolling="no" noresize> </FRAMESET> Here is the page for you to look at it Right now if you make the window short enough it starts to squish over it's self. I would rather have it scroll to to see the whole page but I'm not sure how to make it do that. If worst come to worse and I need to use a different way I can but I know little other than the basic HTML and I originally though framesets was the way to go with my limited knowledge. I am trying my best to get compliant with w3c as i can but when i use these dtd i get major issues. PHP Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01"> with internet explorer; if i use any of those dtds then css styles like the y-overflow:; dont work and also a table border color changes slightly. even with firefox; the table border color changes slightly i guess i was wondering if there was a list or a chart of which css style is not allowed or not functional in each of the major browsers since im new to dtd compliance, i think this would be a very useful tool for me and other newbies as well G'day, I've got a three column page including a header and footer too. When I place an image in my header div, my left nav gets pushed into my content DIV. Any idea what I should be doing? Here is the code: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Impel Personal Training | Mobile Personal Fitness</title> <style type="text/css"> body { margin:0; padding:0; text-align: center; background-color:#fff; color:#000; font-family: Arial, sans-serif; font-size: 10pt; } #container { /*width: 100%;*/ /*margin: 0;*/ background-color: #fff; color: #333; border: 1px solid gray;/*grey;*/ text-align: left; /*line-height: 130%;*/ } #top { padding: 0; height: 100px; background-color: #2F2E7E; color:#000; border-bottom: 1px solid gray; } #top h1 { padding: 0; margin: 0; font-family: Georgia,serif; font-size: 130%; } #leftnav { float: left; width: 160px; margin: 0; padding:10px;/* 1em;*/ } #rightnav { float: right; width: 160px; margin: 0; padding:10px;/* 1em;*/ } #content { margin-left: 180px;/*165px;*/ border-left: 1px solid gray; margin-right:180px; /*165px;*/ border-right: 1px solid gray; padding:10px;/* 1em;*/ text-align:justify; background: url(fadelogo.gif); background-repeat: no-repeat; } #footer { clear: both; margin: 0; padding: .5em; color: gray; background-color: #fff; border-top: 1px solid gray;/*grey;*/ font-family: Verdana, Arial, sans-serif; font-size: 75%; text-align: center; } #footer span { margin:0 20px; } #leftnav p, #rightnav p { margin: 0 0 1em 0; } #rightnav p { margin: 0 0 1em 0; font-family: verdana, arial, sans-serif; font-size: 75%; } #content h2 { margin: 0 0 .5em 0; font-family: Century Gothic, Tahoma; font-weight: normal; color: #8DBA2C; } .smallgrn { font-family: Verdana, Arial, Sans-serif; font-size: 100%; color: #8DBA2C; } .smallnrm { font-family: Verdana, Arial, Sans-serif; font-size: 100%; } #logo { float: left; } #picright { float: right; } /*#content { max-width: 36em; }*/ </style> </head> <body> <div id="container"> <div id="top"> <h1>Welcome</h1> </div> <div id="leftnav"> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut. </p> </div> <div id="rightnav"> <p>Brendon Osborne<br /> <span class="smallgrn">Accredited Personal Trainer</span> Ph: 0405 602 979 <span class="smallnrm">bosborne@hotmail.com</span> </p> <p>Dean Morrissey<br /> <span class="smallgrn">Accredited Personal Trainer</span> Ph: 0406 094 261 <span class="smallnrm">deanmorrissey@hotmail.com</span></p> </div> <div id="content"> <h2>Subheading</h2> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. </p> <p> Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </p> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. </p> <p> Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </p> </div> <div id="footer"> Copyright © 2006 IMPEL Personal Training<span>|</span>ABN: 99 999 999 999<span>|</span>Site Design by Jamie Press </div> </div> </body> </html> Cheers guys, I've got no idea what I should be doing. Jamie Hi Normally, when you have more than one table in your code, the tables will be placed one under each other. Example: <table> ... </table> <table> ... </table> When you want the tables to be placed next to each other, you need to set the align attribute. Example: <table align="left"> ... </table> <table align="left"> ... </table> BUT: When you do it like in the 2nd example (tables next to each other), in Firefox, the tables will wrap to a new line if there is no more space. In Internet Explorer, the tables will not wrap. The result is a horizontal scrollbar or "hidden tables". Why this? How can I make the tables wrap also in Internet Explorer as it does in Firefox? Is it possible with a special CSS definition or with a special DIV/SPAN tag? Thanks for your help praiser Hey everyone, I'm new to these boards. Somewhat a newbie at web design, but I know basics. I'm looking to put 2 tables adjacent to each other inside another table. My problem is I can't get the tables to line up the way I want them to. I'll post a picture of how I want it to look, how it looks now and my code. How I want it to look: How it looks now: I want the tables to line up at the top and re-size according to each other so they're always aligned at the top. Code: coming in next 2 posts Hi guys, This is the first time I have jumped on here so i'm not sure how it all works, anyway I have a bit of a problem and if anyone could lend a helping hand that would be fantastic. Basically, the code - <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" doesn't validate when I use the W3C markup validation service. I have tried to edit it and also add it to the .css file but it still won't work! Also, there is an issue with the "Height" and "Background" attributes, but I have no idea what the issue is?? I am terribly confused. I have also been instructed not to use javascript, but the template has javascript in it, I was wondering if there is anyway to get rid of the java so that the tables will still line up properly. Here is the file, if anyone can help I would really really appreciate it! Thanks. Here is the file Hello, I am pretty new to the whole html world so forgive me if this is a simple problem. I have look all over for a post explaing this problem but i haven't found anything. I am making a site for a friend using Dreamweaver. I know i know, i regret not coding it from scratch but its too late now. Anyways I have a pretty good page layout going now but I have ran into a problem with loading my images. On my home page an image in a table nested inside another table will load when viewing in safari but seems to disappear in firefox. What is going on? Its a pretty simple piece of code. I place; <img src="Pictures/RDV couplepalm.jpg" width="200" height="" style="float:right; padding: 8px; margin-left:10px; margin-bottom: 10px" / inside of a paragraph in a row of a table. I have rewritten the code for this image, copied it from a working image and screwed around with the table heights (although I wasn't too sure what i was doing). What else should I try? I have attached screen shots of the site in both browsers a copy of the problem jpeg aswell as a copy of the html. Any information anyone could givee me would be REALLY appreciated! Thank you. I have a L shaped image that I want to put into a table as a whole rather than cut into to two oblongs. As I am not an expert I wondered if this would mean that the space surronding the L shapped image will not be accesble when place in the table.. I want to put txt into the recess against the right angle formed by the L I think that the <td><img src="Lshape"/></td > way that the table structure works that the L will have a rectangle around it and that this will prevent things butting close to it.. is there a way around it.. Apart from cutting the L shape into two pieces and putting a table within a table thanks Larry Has anyone heard of this software?: http://www.table2css.com/ I've been told that my site at http://www.ColoradoProcessServers.net was done with tables, and they're late 90's era stuff, which is why I'm having such trouble trying to get rid of white space above and below the row of logos on my page. Or would it be very hard for me to learn how to do a proper job of this myself, without attending college? ( don't have time or money ) Or might it not cost much to pay someone to work with me? I could send them code from the style.css and each page, and they could send it back converted without the tables, then I test it? |