24 replies [Last post]
binargs
Offline
Enthusiast
Last seen: 8 years 23 weeks ago
Timezone: GMT-4
Joined: 2005-07-21
Posts: 85
Points: 8

is there any known problems that cause something to look fine in IE but in Moz it will go offscreen and scrollbar won't even show?

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 9 years 10 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

Moz lookes messed up but ie is ok

Yes, several, most based around IE being in Quirks mode and not using the standard box model.
- Does your page have a proper doctype?
- Is there any text before the doctype?

In the standard box model, padding is added to width. In IE's quirks mode box model padding is included in width. So, if you have "width:100%; padding: 50px;" in the standard box model your element will be wider than the browser window by 100px (50px x 2).

Often, its not necessary to specify, width:100%; The default behaviour for inflow block elements is to fit snuggly within the available width - taking into account their margins, borders and padding.

binargs
Offline
Enthusiast
Last seen: 8 years 23 weeks ago
Timezone: GMT-4
Joined: 2005-07-21
Posts: 85
Points: 8

Moz lookes messed up but ie is ok

thanks. but i still don't understand why the overflow material won't have a scroll bar at the bottom of the broswer, and there is no overflow:hidden statement at all.

well here take a look at the following link. bewarned, the code will be absolute messy. because it is a provided service that no one have access to and the apperance is modified using write in css. i am using moz 1.7.12 and it looks real messed up. but fine in ie

i looked through the mod code and most padding is set at 0px; and the other values are fine..

http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=8458583

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

Moz lookes messed up but ie is ok

You might want to look at my link below "But it works in IE!" Not that you'll find the solution but, always remember, if it works in IE but not FF/Opera/etc. then there is something wrong with the code because of the huge number of bugs and quirks in IE. Never design using IE.

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

binargs
Offline
Enthusiast
Last seen: 8 years 23 weeks ago
Timezone: GMT-4
Joined: 2005-07-21
Posts: 85
Points: 8

Moz lookes messed up but ie is ok

drhowarddrfine wrote:
You might want to look at my link below "But it works in IE!" Not that you'll find the solution but, always remember, if it works in IE but not FF/Opera/etc. then there is something wrong with the code because of the huge number of bugs and quirks in IE. Never design using IE.

yeah i know that already, i know there is somehting wrong in ie that is actually making it display right. but i am interested in finding out what. and in my eyes, there isn't anything that stood out, maybe the trained eyes here can spot them

larmyia
Offline
Elder
London
Last seen: 13 years 11 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Moz lookes messed up but ie is ok

as chris suspected, you have no doctype and that is throwing IE into quirks mode. therefore, the things that you "think" are working, aren't. FF shows how your code is really working. and the code is wrong. it doesn't look like one specific thing, but a whole host.

if the code is a provided service it's one you need to get rid of asap as it's a krap provided service! and you're never going to sort out your probs until you get a doctype and validate.

larmyia

binargs
Offline
Enthusiast
Last seen: 8 years 23 weeks ago
Timezone: GMT-4
Joined: 2005-07-21
Posts: 85
Points: 8

Moz lookes messed up but ie is ok

not my code, all in provided. you can type in some css using the advantage of specificity to overwrite the original layout control. bad? yes. popular? yes too. plus it's a challenege to make something bad to appear right. it's just the scope of fixing in this case went beyong my abilities and i thought anyone on here can share a little wisdom.

larmyia
Offline
Elder
London
Last seen: 13 years 11 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Moz lookes messed up but ie is ok

binargs wrote:
not my code, all in provided. you can type in some css using the advantage of specificity to overwrite the original layout control. bad? yes. popular? yes too. plus it's a challenege to make something bad to appear right. it's just the scope of fixing in this case went beyong my abilities and i thought anyone on here can share a little wisdom.


hmmm..I guess we're going to have to agree to disagree on this one. I personally feel that if you're going to fix anything start with the xhtml (which I realise isn't yours, but you have supplied it to us).

I'm not sure you got my point tho...if you (as in the code you supplied) had a valid doctype and the code was validated and there were problems we'd be able to look at the code and hopefully offer help. however, when the code is this bad...the question is where do you start? you have nothing to base your assement on. no exact why to hunt for bugs, problems, etc.

it's like if you have a mouldy wall. you can't just paper over it. the mould will still come thru. paint over it? oh the mold comes thru again. no matter how much paint and paper you add, unless you attack the route of the problem (in this case the html) you're never going to get rid of the mould once and for all.

there are lots of problems out there in the world of web design to solve and I don't see this as the kind to waste time on. but, hey, if you've got so much free time, best of luck to you! Wink

Anonymous
Anonymous's picture
Guru

Moz lookes messed up but ie is ok

Bravo, larmyla, bravo!!! =D> =D> =D> =D> =D>

That was near poetic. Smile

binargs
Offline
Enthusiast
Last seen: 8 years 23 weeks ago
Timezone: GMT-4
Joined: 2005-07-21
Posts: 85
Points: 8

Moz lookes messed up but ie is ok

nah i get exactly what you are saying.
my website, for example, is designed and coded to complete w3 standards.... created only with notepad, and i credit this forum.
http://www.honestpc.com

on the second hand, what should we do about the ones that we do not have complete access to? my analogy is that if a child is born cripple, do you let it rot or invent a wheel chair so it can make an attempt to move like the norm?

granted, there is no reason why myspace should have horrid code like this, but due to its immense popularity, until it redesign the code, it is impossible to be tank like. but for end user like me who attemp to design the thing, the only thing we can do is to patch up its weakness as much as we can. there are hundreads of generator sites out there that does not generate good code, but they guarantee to the point that it works under ie

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 7 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Moz lookes messed up but ie is ok

binargs wrote:
but for end user like me who attemp to design the thing, the only thing we can do is to patch up its weakness as much as we can.

That's not the only thing - you could go elsewhere, particularly as you seem to have an understanding of the limitations of the service. So why put up with it?

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 7 years 39 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Moz lookes messed up but ie is ok

What's mould?

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 7 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Moz lookes messed up but ie is ok

wolfcry911 wrote:
What's mould?

Something that only occurs in the UK due to it being so damp over there all the time.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 7 years 39 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Moz lookes messed up but ie is ok

I wonder if it's anything like the mold we get here from time to time? Smile

binargs
Offline
Enthusiast
Last seen: 8 years 23 weeks ago
Timezone: GMT-4
Joined: 2005-07-21
Posts: 85
Points: 8

Moz lookes messed up but ie is ok

because for a few reasons:
1. myspace is the largest networking site there is
2. people have come up with amazing designs for it. the basic things that poeple are able to manipulate through specity (eg. td.text table table table td { display: none; direction: ltr; } on top of color combinations are amazing. from a lousy default look, some of the personal profiles easily tops some of the more generic design featured on css zen garden.... in my mind, it's a good place to excises on working with the given. except i am still relatively new to css (8 month) and hoping if one of you are either bored or just looking for a challenge, help me figure the originally posted problem as it is somewhat commonly seen from css codes that is generated from a online coder.

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

Moz lookes messed up but ie is ok

We always like to help people write good code. We are never interested in bad code. So I don't think you will have any luck getting help with that here.

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

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 21 hours 47 min ago
Joined: 2004-06-30
Posts: 9679
Points: 815

Moz lookes messed up but ie is ok

binargs wrote:

2. people have come up with amazing designs for it. the basic things that poeple are able to manipulate through specity

Good: http://www.myspace.com/toolpp

Generic: http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=56999848

Bad: http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=56925579

Verschwindende wrote:
  • CSS doesn't make pies

binargs
Offline
Enthusiast
Last seen: 8 years 23 weeks ago
Timezone: GMT-4
Joined: 2005-07-21
Posts: 85
Points: 8

Moz lookes messed up but ie is ok

briski
briski's picture
Offline
Elder
London
Last seen: 9 years 24 weeks ago
London
Timezone: GMT+1
Joined: 2004-02-16
Posts: 1066
Points: 0

Moz lookes messed up but ie is ok

Tyssen wrote:
wolfcry911 wrote:
What's mould?

Something that only occurs in the UK due to it being so damp over there all the time.

I resent this libelous remark Sad

Have you ever been to Ireland, they have PLENTY of damp there as well you know Wink

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 7 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Moz lookes messed up but ie is ok

briski wrote:
Have you ever been to Ireland, they have PLENTY of damp there as well you know Wink

Yeah, but as luck would have it, it was always sunny when I went.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 21 hours 47 min ago
Joined: 2004-06-30
Posts: 9679
Points: 815

Moz lookes messed up but ie is ok

binargs wrote:
hey pine apple you have one?

No, I don't follow net fads. Except for Gmail, and a blog, which I haven't updated in months.

Verschwindende wrote:
  • CSS doesn't make pies

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

Moz lookes messed up but ie is ok

You mean I've been reading the same stuff over and over?!!!

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

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 21 hours 47 min ago
Joined: 2004-06-30
Posts: 9679
Points: 815

Moz lookes messed up but ie is ok

New content on my blog is restricted to huge amounts of spam and the odd comment from readers.

Verschwindende wrote:
  • CSS doesn't make pies

larmyia
Offline
Elder
London
Last seen: 13 years 11 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Moz lookes messed up but ie is ok

binargs wrote:
in my mind, it's a good place to excises on working with the given. except i am still relatively new to css (8 month)


I'm sorry, but then you are giving ppl an excuse to continue to write bad code. it's like ppl who argue that we should only code to ie because it's the most used browser. if we all do that, then yes, it will probably continue to be such, but if we make ppl aware of its faults et al, and make clients realise that we have to spend more time and they have to spend more money to get a site to work "correctly" in ie.

if you "fix up" their bad html with good css (but unecessarily complex css) then you're giving them an argument to say "why should we clean up our code when you can make fantastic profiles with it???"

if you have such a fondness for this myspace thing, then I assume you are pestering the creators to sort out their coding inadequacies.

Quote:
and hoping if one of you are either bored or just looking for a challenge, help me figure the originally posted problem as it is somewhat commonly seen from css codes that is generated from a online coder.


I think I'm pretty safe in saying that most regulars here don't/wouldn't go to places which are created from such bad coding practices.

in addition, when ppl do give their precious time it is to help people further their own personal eduction, not to patch up bad code.

I do understand your intentions, I guess I just feel it's wasted in this instance and could be put to better use.

larmyia

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

Moz lookes messed up but ie is ok

Quote:
huge amounts of spam and the odd comment from readers.
Yeah, that would be me.

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