Hello,
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:
www.stonestreetconsulting.net/
(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.
THANKS.
-Mike
1 2121
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.
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: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |