PDA

View Full Version : CSS Headache


oast
2007-01-03, 06:56 PM
OK, I've tried all day without any success and my head hurts, so it is over to the board for HELP!!

I have a webpage that has an included html page on it. The only lines in the included file are:<li><a href="link.url">Link Name</a></li>
<li><a href="link.url">Link Name</a></li>
<li><a href="link.url">Link Name</a></li>
<li><a href="link.url">Link Name</a></li>
<li><a href="link.url">Link Name</a></li>

The file is 'included on the page as such:
<h2>Friends of My Site</h2>
<ul>
<?php include('folder/file.html');?>
<br>
<li><a href="trade.link" title="Webmasters, click here to trade links with us">Trade Links</a></li>
</ul>

Everything works perfectly in FireFox however, god damn fucking Microsoft's shit heap called Internet Explorer makes the links invisible! When I scroll down and back up again, they appear... until I mouse-over a thumb; then the whole list disappears again! |banghead|

I'll put the link to the page here. If an admin wants to remove it as spam, then you will have to PM me for the address.

I have three strands of hair left, so I would appreciate someone looking ASAP!

tyvm

The page is here (http://hcporn.com/). The list in question is the top list in the menu.

Cleo
2007-01-03, 07:04 PM
Page looks fine in Safari. :)

I have no idea why it is giving you trouble in Internet Exploder.

Maj. Stress
2007-01-03, 07:05 PM
Take a look at the errors w3 returned for your css and see if that might help
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fhcporn.com%2F&warning=1&profile=css21&usermedium=all

I just went back and looked at your style sheet in my editor. Line 125-129 what in the world is that? You might comment that out quick and see if that helps :)

oast
2007-01-03, 07:14 PM
Page looks fine in Safari. :)I somehow thought it might. :) Thanks for taking a look.


I just went back and looked at your style sheet in my editor. Line 125-129 what in the world is that? You might comment that out quick and see if that helps :)That is the image fading mouseover. I tried it without that and the only difference is that the links don't disappear when you pass the mouse over the thumbs. I still had to scroll down and then up again to see the list.

Maj. Stress
2007-01-03, 07:54 PM
I just copied your source and css and it works fine for me. I haven't tried to upload it on my server yet. Maybe there is something in your js causing the problem.

oast
2007-01-03, 08:00 PM
Thanks for looking
I'll try removing the JS and let you know.

The bit that is troubling me the most is why just the links from the included file and not the rest?!

Maj. Stress
2007-01-03, 08:39 PM
I've narrowed it down but don't know for sure what is causing it. I took out the <ul><li></li> from the entire page and it works. Looks terrible but works.
The puzzling thing is ie7 reports an error line 2 char 1 and there is no error there or before. hmmmmmm

Edit: I see you found the problem. |bananna|

oast
2007-01-03, 09:04 PM
I've narrowed it down but don't know for sure what is causing it. I took out the <ul><li></li> from the entire page and it works. Looks terrible but works.
The puzzling thing is ie7 reports an error line 2 char 1 and there is no error there or before. hmmmmmmYes, I figured it was something to do with the <li>, but why just that section, I have no idea.
Edit: I see you found the problem. |bananna|No |cry| , I couldn't work out what the problem was, so I resorted to using line breaks instead of a list.