Mozilla/Internet Explorer

liunx

Guest
I have my website that I have been working on here (<!-- m --><a class="postlink" href="http://mjdimick.zacknetwork.net/index.php">http://mjdimick.zacknetwork.net/index.php</a><!-- m -->) and I have it all valid html and valid css and it looks fine in IE and almost looks fine in Mozilla Firefox but there is one problem. When viewing any one of my pages in Mozilla Firefox it adds a horazontal scrollbar but it shouldn't! The scrollbar isn't scrollable but just the fact that it is there is what worries me. I was wundering if you guys could go to my site in Mozilla Firefox and look at it and the source and maybe tell me why my pages are doing that! I would greatly appreciate it. :D<!--content-->:D :D maybe Firefox does not like abuse of tables..... :D :D<!--content-->Well I've tried the div way and it dosn't really give me the results I'm looking for. :(<!--content-->Originally posted by Vladdy <br />
maybe Firefox does not like abuse of tables.....Firefox isn't the only thing... :p<!--content-->If you could not do it it does not mean it can be done, especially with such a simple layout as yours....<!--content-->Well could you give me some examples? Like for instants my header uses a table to contain the logo and the links bar. How would I use divs to accomplish this same effect? I have been working with tables before up till now but I'm always open to new ideas. I would greatly appreciate the help! :D<!--content-->Read this: <!-- m --><a class="postlink" href="http://www.w3.org/TR/1999/REC-html401-19991224">http://www.w3.org/TR/1999/REC-html401-19991224</a><!-- m --><br />
and this: <!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS21/cover.html">http://www.w3.org/TR/CSS21/cover.html</a><!-- m --><br />
Then go for some CSS tutorials.<br />
Oh and you do not use divs to accomplish an effect. You use semantically meaningfull markup and then style it according to browser capabilities<!--content-->Ok, thanks. I'll look into those documents. I have another question. When is a good time to use tables? Like for example I have used tables before to line up form elements and their descriptions! Is it possible to do that same effect with divs?<!--content-->The only perfectly acceptable way to use tables is to present 2D tabular data.<br />
There are cases when form data can be considered tabular, but you do not use HTML elements to "line things up" since lining things up is presentation.<br />
Most forms are not tabular in nature and styling of <label> and corresponding form element allows to achieve the desired layout.<!--content-->Oddities like that are usually due to IE's invalid box model. Look closely at anything you have with width:100%.<!--content-->
 
Back
Top