 |
 |
What is wrong with the CSS here?
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2001
Status:
Offline
|
|
http://www.uglygreenchair.com/. What is wrong with the stylesheets that makes them display so horribly in Mozilla 0.9.9?
[ 03-14-2002: Message edited by: ThisGuy ]
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: somewhere in ohio
Status:
Offline
|
|
I dont think its the CSS, rather its Mozilla. I had a really sweet design that looked perfect in IE, but then viewing in Netscape 6.2.1 destroyed it. I tried Mozilla 0.9.9 and got the same thing.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2001
Status:
Offline
|
|
Originally posted by KaptainKaya:
<STRONG>I dont think its the CSS, rather its Mozilla. I had a really sweet design that looked perfect in IE, but then viewing in Netscape 6.2.1 destroyed it. I tried Mozilla 0.9.9 and got the same thing.</STRONG>
I wonder if it looks that crappy in Netscape 4.7?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: somewhere in ohio
Status:
Offline
|
|
Originally posted by ThisGuy:
<STRONG>
I wonder if it looks that crappy in Netscape 4.7?</STRONG>
Yep. Esp. if you use special tags for links, Netscape ignores them completely.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Feb 2002
Status:
Offline
|
|
Originally posted by KaptainKaya:
<STRONG>I dont think its the CSS, rather its Mozilla. I had a really sweet design that looked perfect in IE, but then viewing in Netscape 6.2.1 destroyed it. I tried Mozilla 0.9.9 and got the same thing.</STRONG>
Actually, it's most likely the other way around.
Make sure your HTML and CSS conform to the standards: http://validator.w3.org http://jigsaw.w3.org/css-validator/
If they don't, it's your fault and not the browser's.
--
fruit is good
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Location: Mtl. Can
Status:
Offline
|
|
no way. every broswer has compelete different support for html and css. even if it validates, it ain't always gonna look the way you meant it to me. IE goes 10000 extra miles to correct author errors which is, great.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Location: Mtl. Can
Status:
Offline
|
|
ThisGuy:
i don't know what you describe as your CSS problem, but if you're talking about how http://www.uglychair.com/index.html doesn't look proper when viewed in mozilla-ish browsers, then it's got nothing to do with CSS. the index.html doesn't even contain any important style sheets. The reason why there are table borders visible is because netscape/mozilla browsers don't support 'bordercolor'.
my suggestion for the index.html page would be the following.. it works both in ie and netscape/mozilla:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
<html>
<head>
<title>
blah
</title>
</head>
<body BGCOLOR=<font color = red>"#789c7a"</font>>
<table border=<font color = red>"<font color = blue>0</font>"</font> align=<font color = red>"center"</font> width=<font color = red>"<font color = blue>100</font>%"</font> height=<font color = red>"<font color = blue>100</font>%"</font> >
<tr>
<td align=<font color = red>"center"</font> valign=<font color = red>"middle"</font>><a href=<font color = red>"long.html"</font>>
<img src=<font color = red>"ugc2.gif"</font>></a>
</td>
</tr>
</table>
</body>
</html>
</font>[/code]
but if you're talking about how "long.html" doesn't look proper, then we go into having to reformat everything again.
hope this helped.
-ck
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally posted by taffy:
<STRONG>no way. every broswer has compelete different support for html and css.</STRONG>
Yes. You have the unethical practices of Microsoft (and the past unethical practices of Netscape, and the current irresponsible practices of Omni) to thank for that. This problem is getting fixed.
even if it validates, it ain't always gonna look the way you meant it to me.
No, but it'll most likely at least be legible. Content is what's important, even on a blog.
IE goes 10000 extra miles to correct author errors which is, great.
Au contraire; it's the reason the Web is so broken. No programming language would tolerate the kinds of errors we see in HTML pages. Browsers shouldn't be correcting this stuff; just refuse to render the page, so the designers have to... *gasp*... make the effort to write decent code. It's not hard to balance tags, people.
Ahem. Enough ranting. The problems with this page have to do with badly broken HTML, not CSS issues.
The short solution is to replace all your SPAN tags with DIV tags (attributes can remain the same; just change the tagnames). This doesn't repair the tagsoup, but it will get the design working pretty much.
After that, I'd suggest running the code through Tidy. I'm showing about thirty errors. Fix them.
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2001
Status:
Offline
|
|
Originally posted by Millennium:
<STRONG>
The short solution is to replace all your SPAN tags with DIV tags (attributes can remain the same; just change the tagnames). This doesn't repair the tagsoup, but it will get the design working pretty much.
After that, I'd suggest running the code through Tidy. I'm showing about thirty errors. Fix them.</STRONG>
i just want to set the record straight, it is not my design or my code. i was just wondering why it looked so bad, but thank you very much for the input. i can learn from my errors just as well as other people's.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|