Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
Moderator(s): Prowler, jcokos
Member Message

tobstar
Joined: Jan 05, 2004
# Posts: 145

View the profile for tobstar Send tobstar a private message

Posted: 2005-Sep-02 13:27
Edit Message Delete Message Reply to this message

I'm cleaing my site and making it browser compatible.

What is with Mozilla/Operas text formatting? I can't seem to do anything that they like. It just bunches all the text up top of itself.

Tables dont work, paragraphs dont work so i dont see how i can how any text formatting flexibility, is there something i'm missing?



tobstar
Joined: Jan 05, 2004
# Posts: 145

View the profile for tobstar Send tobstar a private message

Posted: 2005-Sep-02 13:50
Edit Message Delete Message Reply to this message

i looks like i have to open and close a <p> on everyline.

That just seems stupid, and makes it looks rubbish in IE



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10465

View the profile for g1smd Send g1smd a private message

Posted: 2005-Sep-02 19:32
Edit Message Delete Message Reply to this message

Run the page through http://validator.w3.org/detailed.html and see what errors are flagged.

Mozilla is a standards compliant web browser, and has been downloaded by 80 million people. There are no major flaws in the rendering engine.

It has to be a problem with your code.



lizardz
Joined: Nov 12, 2004
# Posts: 1394

View the profile for lizardz Send lizardz a private message

Posted: 2005-Sep-04 03:36
Edit Message Delete Message Reply to this message

tobstar, starting to play with CSS perhaps? Don't listen when people say it's easy, it is in some ways, but it's also easy to make very serious mistakes. If you treat CSS like a new programming language, you were a coder in the past if I remember right?, you'll have good luck. Study the syntax, pick up Eric Myer's book, Cascading style sheets, on O'Reilly press. Read up on the box model etc.

Create validating code. This is often proclaimed as the end all of html coding, but usually for the wrong reason. You don't create error free pages so that the validator says you have an error free page, you create error free pages so you can more quickly and accurately detect and resolve display bugs. With buggy html there are too many variables involved in the debugging process. Especially make sure to validate the css, css bugs act pretty much like programming bugs, you have to pinpoint them, I often comment out one block of css after another until I find the specific offending css declaration.

First trick, stop testing primarily in IE, test in Firefox. IE allows massive errors to display. And of course IE has the most css bugs of any major browser out there. That's a fun combination to debug. That's why you don't develop in IE, you don't want a page that works with bugs and errors, you want a correct page, that you then tweak slightly to make up for the MSIE bugs.

"i looks like i have to open and close a <p> on everyline.

That just seems stupid, and makes it looks rubbish in IE"

No, that's not 'stupid', that's creating validatable, forward and backward compatible code. It's actually 'smart' to create good code, it's much easier to work with. All block level elements must be closed, in html 4.01, all tags except <meta..>, <link...>, <br>, <img...> need to be closed. If every line is a paragraph, then yes, it needs to be opened and closed. But that wouldn't cause the display issue you're seeing, html 4 doesn't actually require td, p etc to be closed, it's just good coding practice to do so, makes the code readable, makes tables, lists etc easier to debug. Once you start validating the page, you'll see the display issues magically start vanishing. Then if you're still getting big display irregularities, you have a css problem.



tobstar
Joined: Jan 05, 2004
# Posts: 145

View the profile for tobstar Send tobstar a private message

Posted: 2005-Sep-05 10:56
Edit Message Delete Message Reply to this message

could you sense the frustration in my posts? Well it was there in abundance, anyway thanks for the tips



tobstar
Joined: Jan 05, 2004
# Posts: 145

View the profile for tobstar Send tobstar a private message

Posted: 2005-Sep-05 12:27
Edit Message Delete Message Reply to this message

ok so after much pain and suffering it was a random line of code in my CSS file putting major spanner in the works.

I kind of like the way Firefox highlights bad coding. Thats the last time i test in IE



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10465

View the profile for g1smd Send g1smd a private message

Posted: 2005-Sep-05 20:05
Edit Message Delete Message Reply to this message

>> Thats the last time i test in IE <<

Pass that message on!!


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions