Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Ack! Ack! Ack!!!!!

Quote Reply
Ack! Ack! Ack!!!!!
I looked at my directory from AOL 3.0 and it looks all nice and fine and the way it should look. Then I look at it from MSIE and it looks like sh*t -- it's black letters on white background, ON the black background. What is wrong? Is it the style sheets? If so, what is wrong, becuase things look fine on one browser, according to the html, the way it SHOULD look!

Jesus, and I just announced the thing to 122 people! they are going to gross out. "New Look" indeed...*gag!*

Please help! It looks like crap!


------------------

--Sanguinarius
The Real Vampire Directory
www.sanguinarius.org/cgi-bin/links/pages/
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Tahnks profusely, it looks like it should now. Smile~

------------------

--Sanguinarius
The Real Vampire Directory
www.sanguinarius.org/cgi-bin/links/pages/
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Is your MSIE configured to use style sheets? I just looked at it in Netscape with style sheets turned off and it is all red letters on a black background. With styles sheets turned on, it is black letters on a white background.

Personally, I detest style sheets because of things like that.
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
I'm not even sure what style sheets are. All I know is that I edited the templates to look like red letters on a black background. And it sort of worked because in 1 browser I used, it's the way it's supposed to be.

How do I turn the style sheets off, to just use the templates to make it look the way it's supposed to look?

And will it work and look right then, in other people's browsers?

------------------

--Sanguinarius
The Real Vampire Directory
www.sanguinarius.org/cgi-bin/links/pages/
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Find, hunt down and kill if you have to, your links.css in the ../pages directory.

Life will be better off.

Feel free to then remove any 'class' tags in your templates Smile

Style sheets have a long way to go.

Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Well yes it does and no it doesn't. Since my browser is set to use style sheets, your page displays an error message that it cannot find the /cgi-bin/links/pages/links.css file and so, won't display the page at all. So you need to delete the reference to that file from your script as well.

If you are not using templates, comment-out the following two lines at the top of site_html.pl:

Quote:
$dtd = '!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"';

$css = qq~link rel=stylesheet href="$build_css_url" type="text/css" title="webarchitects links style sheet"~;

If you are using templates, then remove the following two lines from the top of each template file:

Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<link rel=stylesheet href="<%css%>" type="text/css" title="style sheet">

That should do it.
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
No, Brad, it is actually true! They've had a patent since january.

See:
http://www.w3.org/.../02/Patent-Statement

http://www.wired.com/...ogy/story/17741.html

http://www.webstandards.org/patent.txt

http://webreview.com/.../05/style/index.html

http://webreview.com/...05/style/index2.html

http://www.newsbytes.com/online/125854.html

"I'm confident that Microsoft will do the right thing and simply ignore the existence of this patent," was Tim Bray's comment to the patent. It seems they and everyone else have ignored it, fortunately. I just tried to search in AltaVista on +patent +stylesheet +Microsoft and didn't get any results of a more recent date.

John

Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Just checked the agent-logs on some commercial sites running here.
46% Netscape 4.xx
25% IE 4.xx ( incl AOL etc )
8.4% IE 5.xx
The remaining 20% are Netscape 3.xx, 2.xx and even some 1.xx and lynx :-)

Have a nice day
Helmut
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
OK, I changed the top line to:

h

and removed:

h

And rebuilt my pages. Can someone go and check it out to make sure that it looks like it should now?

------------------

--Sanguinarius
The Real Vampire Directory
www.sanguinarius.org/cgi-bin/links/pages/
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
It looks OK in MSIE5.

John
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
OK, I changed the top line to:
h

and removed:

h

-----------------
*laughing like an idiot and feeling stupid* I forgot to paste in the lines. "h" was just a placeholder till I went back and pasted them. JEEEEZ!

--UNSIGNED!!!! (You think I'm gonna sign my name to this after THAT boneheaded thing?!?! HA! NOT!)
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
To Bobsie's fix:

It is correct that some browsers (Netscape) is making a style sheets life a misery ... (gee, guess why? Microsoft has a patent on style sheets!)

Removing the reference to the style sheet is important if you want to get rid od style sheets. The Doctype statement, however, should be kept in place, since it defines what kind of document you are dealing with.

It could be changed to:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

No big deal if you don't care about doing thing right in the formal way (most browsers don't care). But your documents are only validatable with a Doctype statement.

Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Good point on the Doc Type declaration gotze...transitional should be used for any page that doesn't adhere to HTML 4 precisely (trust me, VERY few pages do). Its worth pointing out that at this time doc type is only used by validators so commenting it out won't technically hurt anything.

Quote:
Microsoft has a patent on style sheets
?huh? Are you just being facetious?
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Looks good in Netscape Navigator v4.07.
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
I am having similar browser challenges with Netscape 4.6. It seems something in the stylesheets for Links 2.0 crashes the Netscape browser. My site is very simple and even validates against the W3C/CSS.

Please any comments or suggestions are welcome: START Internet Bookmarks < http://www.osn.net/start/ > the Cool links will crash your browser instantly < http://www.osn.net/start/Cool/ >.

Everything works great with MSIE 4.0+

Frustrated,

Justin W. Hitt

------------------
Open Systems Networking, Inc.
START Internet Bookmarks-- http://www.osn.net/start/
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
First off...it took an eternity for your server to return pages and I connected from the T1 at my office.

One potential answer: I notice that your < li > tags (in the link listings) don't have closing tags. Although not required in HTML, style sheets always perform better when ALL tags are closed. Try adding the closing list tag to the link.html template and test again.

I also note that you are importing two style sheets, not just the links sheet. Double check that they don't have contradictory info in them that may be confusing NS.
Quote Reply
Re: Ack! Ack! Ack!!!!! In reply to
Try setting DOC TYPE to HTML4. As your site is now, it doesn't validate.