473,249 Members | 1,822 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,249 software developers and data experts.

Help a Noob: Line Spacing in Mozilla

First time "designer" here. I've mostly used CoffeeCup Vis Designer (a WYSIWYG prog for those unfamiliar with it), and dropped in some code by hand here and there.

My problem is with the text in the three boxes on the default page of my site:

(I'm ignoring the other pages for now, since I haven't cleaned up some of the graphics on them yet.)

As you can see, the page looks fine in IE, but, of course, the line spacing is off in Firefox. However, I've tried putting code in two different places to keep the line height at 13px, to no avail.

My question is: Where should I paste the snippet of code to keep the line height at 13px? I've done so in the head and in the style code for each of the boxes.

If you know of a better way to make the text appear the same in IE and Firefox, I'm all ears.

Aug 31 '07 #1
1 2120
7,435 Expert 4TB
The problem is IE. Yes, I know you said it works in IE but apparently you designed using the buggy browser and, therefore, wrote buggy markup. Never, ever use IE as a reference for what works. It is old, buggy and nine years behind web standards. Always, always use a modern browser, such as Firefox, Opera or Safari to initially test your markup.

1) Your doctype is incorrect. This has thrown IE into "quirks mode" and IE messes up the box model. See the article about doctypes under Articles above.

2) You have 136 HTML errors and at least one CSS error. Validating your markup is something you should do early and often.

Until those two items are corrected, it will be difficult/impossible to fix things.
Aug 31 '07 #2

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

Similar topics

by: Hal Vaughan | last post by:
I'm testing a GUI app on a couple Linux boxen and one Win2k box. I'm using Java 1.4.2 on each (or the closest on Win2k -- whatever version comes close). On one Linux box and the Win2k box the...
by: Steven | last post by:
Hi, I have a function which reads all lines from an array and writes them with the required tags. This works fine with IE, but not with Mozilla. On...
by: Kim Scarborough | last post by:
Say I wanted to put a couple lines of asterisks between paragraphs, and have it stretch the spaces so that it spanned 100% of the text-width, like this: * * * * * ...
by: Rick DeBay | last post by:
I'm trying to create a layout table, where the spacing between rows varies. I've tried using setting margin-top and border-top for the rows I wan't spaced down from the one above, and I've also...
by: Danny | last post by:
I have a small <div> element which contains two text blocks - one within <h5> tags and the other within <p> tags. I don't want any extra line spacing between elements so use the display:inline...
by: Andrew Poulos | last post by:
If I have a text INPUT within a block of text how do I 'correct' for the line spacing. The line spacing above and below the INPUT is larger than the line spacing generally: <div...
by: charchap | last post by:
hello. I'm experiencing problems with my css code (once again) working with Firefox and not working with IE 6 or 7 I have a problem with my head_logo_inner not too sure what's going on . Here is...
by: John Nagle | last post by:
I'm having problems with excessive line spacing in FireFox. This seems to happen when "line-height" is set to "normal" when a large font is in effect, then there's a font change to a smaller font...
by: praveenb000 | last post by:
Hi, every one on this forum.... I am new to web designing (using HTML/CSS). i designed a web page using HTML, Css with dream weaver. Here is the code i used for the desinging. it appears well...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

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.