14 replies [Last post]
simbala
Offline
Enthusiast
Last seen: 15 years 33 weeks ago
Timezone: GMT-5
Joined: 2006-04-20
Posts: 54
Points: 0

Hello,
Please find attached the markup and css for my web page.The page displays fine with IE/Win. But when it comes to FF, the side menu creeps into the main content area.Other then that everything else looks fine.Not able to figure out whats happening.

Please let me know on this.

Thanks.

drhowarddrfine
Offline
Leader
Last seen: 12 years 5 days ago
Timezone: GMT-6
Joined: 2005-05-21
Posts: 764
Points: 0

IE vs FF

Got link? Your files require editing on our part to view them.

One of the problems with these automatic code generators is they can throw code all over the place. For example, you have the xml prologue and xml namespaces which aren't even used in HTML but they are scattered throughout your page. It's a mess.

The general rule is, if it doesn't work in FF then there's something wrong with the code. Do not use IE as a reference.

IE7 is 10 years behind the standards or wrong.
But it works in IE!
IE is a cancer on the web -- Paul Thurott

simbala
Offline
Enthusiast
Last seen: 15 years 33 weeks ago
Timezone: GMT-5
Joined: 2006-04-20
Posts: 54
Points: 0

IE vs FF

I know the code looks messed up. Sorry about that.Other then those namespaces and prologue what could be the mojar factors that causing the page to break in FF. AS far as my knowledge goes th eproblem isnt with the namespaces and prologue...right?

Also,I have developed the page for IE...unfortunately.Now gotto make it work in FF.So,trying to figure out,th eissues with this.I appreciate your time and patience on this.Plese let me know on this.

ragamuffin
ragamuffin's picture
Offline
Leader
Iowa
Last seen: 12 years 38 weeks ago
Iowa
Joined: 2005-06-02
Posts: 691
Points: 0

IE vs FF

Question:

Quote:
I know the code looks messed up. Sorry about that.Other then those namespaces and prologue what could be the mojar factors that causing the page to break in FF. AS far as my knowledge goes th eproblem isnt with the namespaces and prologue...right?

Answer:

Quote:
Also,I have developed the page for IE...unfortunately.Now gotto make it work in FF.So,trying to figure out,th eissues with this.I appreciate your time and patience on this.Plese let me know on this.

- r

drhowarddrfine
Offline
Leader
Last seen: 12 years 5 days ago
Timezone: GMT-6
Joined: 2005-05-21
Posts: 764
Points: 0

IE vs FF

I can't take the time to go through all this. Can't say for sure what browsers will do with the extraneous text. Ignore it, create spaces, whatever.

Other problems, for example, include no quotes around id names and some of those names begin with and underscore which is illegal. It makes me wonder what else will be found as we dug deeper.

IE7 is 10 years behind the standards or wrong.
But it works in IE!
IE is a cancer on the web -- Paul Thurott

simbala
Offline
Enthusiast
Last seen: 15 years 33 weeks ago
Timezone: GMT-5
Joined: 2006-04-20
Posts: 54
Points: 0

IE vs FF

I appreciate your response on this. I did not get thi spoint...what do you mean by "extraneous text".Please let me know.

drhowarddrfine
Offline
Leader
Last seen: 12 years 5 days ago
Timezone: GMT-6
Joined: 2005-05-21
Posts: 764
Points: 0

IE vs FF

I mean you have two or more xml prologues and all the namespaces which, as I said, have no business being in a html document.

IE7 is 10 years behind the standards or wrong.
But it works in IE!
IE is a cancer on the web -- Paul Thurott

simbala
Offline
Enthusiast
Last seen: 15 years 33 weeks ago
Timezone: GMT-5
Joined: 2006-04-20
Posts: 54
Points: 0

IE vs FF

I dotn understand this properly.Sorry for that. Do you mean that, the prologues and namespaces should be mentioned somewhere else.Please clarify this.

Thanks.

jlhaslip
Offline
Enthusiast
Last seen: 12 years 28 weeks ago
Timezone: GMT-6
Joined: 2006-02-02
Posts: 199
Points: 0

IE vs FF

I think he means "you have two or more xml prologues and all the namespaces which, as I said, have no business being in a html document.".

So take them out.

I'm having a good day...so far.

ragamuffin
ragamuffin's picture
Offline
Leader
Iowa
Last seen: 12 years 38 weeks ago
Iowa
Joined: 2005-06-02
Posts: 691
Points: 0

IE vs FF

Simbala wrote:
I dotn understand this properly.Sorry for that. Do you mean that, the prologues and namespaces should be mentioned somewhere else.Please clarify this.

Hi Simbala,

What are you creating your site in? It seems that the app that you are using to create the site may be adding tags that do not need to be there. Your code looks similar to what I've seen VisualStudio produce.

The others are saying that the prologue and namespace tags could be causing the problems. Have you tried completely removing those and seeing if there is a difference. I think that is all they are suggesting. Please try that and let us know.

Thanks,
- r

simbala
Offline
Enthusiast
Last seen: 15 years 33 weeks ago
Timezone: GMT-5
Joined: 2006-04-20
Posts: 54
Points: 0

IE vs FF

I am designing my pages in Java Studio Creator. It porvides a kind of VB look where I can drag and drop components for the UI like buttons,text fields ...almost all the stuff I need. It produces the JSP page by itself. As far as the namespaces are concerned, I cant get rid of them because they are essesntial building blocks for the page.

For example the namespace "xmlns:f=http://java.sun.com/jsf/core" provides qualified names for JSF(java server faces ) tags which I make use of.

All in all the jsp is auto generatee and hence I have no control whatso ever on the markup that is generated.

ragamuffin
ragamuffin's picture
Offline
Leader
Iowa
Last seen: 12 years 38 weeks ago
Iowa
Joined: 2005-06-02
Posts: 691
Points: 0

IE vs FF

simbala wrote:
...As far as the namespaces are concerned, I cant get rid of them because they are essesntial building blocks for the page...All in all the jsp is auto generatee and hence I have no control whatso ever on the markup that is generated.

That is what I thought. Using Java Studio Creator, VisualStudio, etc can be tricky.

Ok, next question. Is it possible to see a live link and not files, so that we can see what is going on. I have a feeling that it has to do with the css.

Thanks,
- r

simbala
Offline
Enthusiast
Last seen: 15 years 33 weeks ago
Timezone: GMT-5
Joined: 2006-04-20
Posts: 54
Points: 0

IE vs FF

I cant send in a live link to the page. But I can send in a screenshot of the page, if you would liek to have a look at it.However the screenshot is 160KB in size and the forum doesnt allow to upload more then 64KB.Is there an alternative to this.

Thanks.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

IE vs FF

Simbala screen shots are not going to help much, I've had a look re-constructing your files and in all honesty it's a mess in FF, the code looks all over the place you simply must not ever code for IE as you now have a next to impossible task trying to work out where the problems are (float and absolute don't go together!).

If you really need help then you could help us as asked in the posting guides, produce a scaled down (stripped back) version of the page layout only, remove as much of the content that isn't pertinent to the actual layout structure and place the css in the head of the page for easy editing. This will make it a lot easier to fathom out the rules you're using. Are you following a particular layout here?

All the proprietary code is likely to cause problems as it's all thrown up as warnings.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

simbala
Offline
Enthusiast
Last seen: 15 years 33 weeks ago
Timezone: GMT-5
Joined: 2006-04-20
Posts: 54
Points: 0

IE vs FF

I appreciate the response on this.Itired weeding out as much content as possible. The header is not in there.I guess thats OK.I hope it would be easy to analyse things now.