473,405 Members | 2,294 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,405 software developers and data experts.

formatting options?

luminary4him
Yes, like most everyone else here I am also building a site. ;) I am used to formatting with tables just because that's what I learned. However, I'm realizing that my formatting methods are not appreciated in FF like they are in IE. (My solution to something slightly off is to insert a "margin-left: -2px;" or something like that and I'm beginning to think that's not such a good idea...)

Does anyone have any suggestions as far as methods of formatting your page. I know it is done, but obviously I'm not getting it.

the page I'm working on can be viewed at http://www.healthy-connections.org/index2.php

Thanks!
Elizabeth
Aug 12 '06 #1
1 1245
Banfa
9,065 Expert Mod 8TB
The problem is that your DOCTYPE is wrong it should be

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

because it is wrong IE is working in quirks mode and interpreting your CSS values differently to everyone else.

Fix this first.

Then go to

http://validator.w3.org/

and validate you html and correct any errors.

Then you may be able to get you page working correctly in IE and Firefox and everyone else.
Aug 14 '06 #2

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

Similar topics

3
by: Dan Sommers | last post by:
Hi, I have a class whose objects represent physical quantities including uncertainties and units, and I would like more control over the way they print. I have a __str__ method which outputs...
0
by: sonic_soul | last post by:
silly, but i thought i disabled auto formatting in Options > Text Editor > HTML/XML > Format > Apply automatic formatting. after creating a huge aspx page maticulously formatted i switch to...
6
by: James | last post by:
Hi Folks, I plan to implement some report generation using Formatting objects on the ..NET platform. Does Microsoft have a built in version? .Or What are my options? are there any free ones which...
12
by: Jacob Crossley | last post by:
Please tell me there is a way to prevent this annoyance ; - ) I'm into writing perfectly indented html, but the .net dev environment is being overzealous and messing up my html formatting. for...
2
by: raj chahal | last post by:
Hi there I have a text area within a form that collects user data and enters this into access db. Later this text is pulled out and put onto a page. What I want to achieve is some formatting...
2
by: D. Shane Fowlkes | last post by:
The Smart Indenting "feature" is driving me absolutlely crazy in VWD. Problem: VWD in Code View insists on tabbing a lot of my code over to it's own liking and effects mainly my comments in the...
1
by: Russell Mangel | last post by:
I am using VS2005. When I paste source code into the code window, VS2005 formats like the following: public MsgRecipientReader() : base() { }
4
by: Ken Wigle | last post by:
All, I would be very grateful for any help on this question. I have an application in asp.net 2.0 where I dynamically create a datatable and then bind that to a gridview. Unfortunately, the...
6
by: Brian Schwartz | last post by:
Quick question related to Visual Studio's automatic code formatting. Often I like to write my variable declarations with spacing to line them up, like this (not sure if this spacing will come out...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
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,...
0
isladogs
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...

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.