just had a look at
http://www.aria.co.uk/DealforToday.asp
in firefox.....notice anything wrong ?
i do
just had a look at
http://www.aria.co.uk/DealforToday.asp
in firefox.....notice anything wrong ?
i do
nope... any clues ?
[edit]
Well. i have never visited in IE so don't know what its "supposed to/has been butchered by IE" to look like..
In Opera all the boxes don't line up nicely as in IE _ I guess the same in Ff?
wait.. I see. images are not put in their divs correctly.
strange that be.. strange that be.
Originally Posted by killgORE
It looks better in opera than Ff then
coming to think of it.. this is a perculiar firefox error. My mate built a web site www.joejag.com and recently haxed the crap out of the css to make it a) use my colour scheme, or some derivative, but have the cool layout he came up with.
But I was looking at it and trying to get him to "fix" his busted divs that were like ^^^
I don't know exactly what the prob is... but he got it figured out. It turns out i saw the prob because my desktop resolution is a wee bit smaller than his and I had put the text size up by one when I started looking at his site. tis odd.
It's because they're using float:left which takes it outside the normal flow of the document and means that the div will only be as high as the content rather than the height of the image. Naturally IE ignores this rule and whilst it renders in the way the web developer wants to it's actually incorrect. In addition they have all their styles defined inline which is pretty poor in terms of maintainability and in the amount of HTML generated. Firefox is conforming to the way the CSS rules should work, it is not an error.
Last edited by killgORE; 15-07-2004 at 10:23 AM.
Originally Posted by Az
that explains it cheers az
any one else gto websites that are broke ?
not necessarily. they are likely generating the html through some scripting language - in which case they may well be pasting the css where necessary (similar to c++ inline function).Originally Posted by Az
dothan 745 @ 2.4ghz | 2gb Corsair XMS (2-3-3-6) | dual raptors (raid0) | ATI 9700pro | CM201 | dual lg 1810
They never specfied the document as conforming to html 4.0 transitional - neither have google.com, nor microsoft.com. its not "invalid" as they never claimed to be making a "valid" site!Originally Posted by killgORE
dothan 745 @ 2.4ghz | 2gb Corsair XMS (2-3-3-6) | dual raptors (raid0) | ATI 9700pro | CM201 | dual lg 1810
Exactly, in terms of maintainability my argument still stands, it's easier to update a CSS document rather than wade through any java, php, asp, coldfusion code to find the variable or instance where the CSS is set. It's all about separating design from content, something they haven't achieved here
There are currently 1 users browsing this thread. (0 members and 1 guests)