Author Topic: code monkey needs help  (Read 5110 times)

Listener

  • Hipparch
  • ******
  • Posts: 3186
  • I place things in locations which later elude me.
    • Various and Sundry Items of Interest
on: February 29, 2008, 08:22:30 PM
If anyone reading this is good with CSS and Javascript, please go here:

http://www.dynamicdrive.com/forums/showthread.php?p=132982

If you can help me with my little problem, I would be very grateful.

Thanks.

"Farts are a hug you can smell." -Wil Wheaton

Blog || Quote Blog ||  Written and Audio Work || Twitter: @listener42


eytanz

  • Moderator
  • *****
  • Posts: 6104
Reply #1 on: February 29, 2008, 09:02:07 PM
I tried using the html and css files you provided and it works without the red bar (though after a few clicks IE crashes). I looked at the problem HTML page and noticed you are calling several other CSS files; the problem may lie in one of those.

I would recommend that you supply a full set of the complete CSS files, rather than just a snippet. It's really hard to troubleshoot something with only partial information.



Listener

  • Hipparch
  • ******
  • Posts: 3186
  • I place things in locations which later elude me.
    • Various and Sundry Items of Interest
Reply #2 on: February 29, 2008, 09:13:44 PM
That may be it, but these are all uniquely-named CSSes.

http://www.11alive.com/includes/css/wxia3.css
http://www.11alive.com/includes/css/initial.css
http://www.11alive.com//specials/widgets/tabcontent2.css

The last one is the one where all the tab content stuff is.

Does that help?

"Farts are a hug you can smell." -Wil Wheaton

Blog || Quote Blog ||  Written and Audio Work || Twitter: @listener42


eytanz

  • Moderator
  • *****
  • Posts: 6104
Reply #3 on: February 29, 2008, 09:21:47 PM
Yup - at least, at the moment I can confirm that the problem comes from wxia3.css.

I'll investigate further and let you know if I figure out how to solve it.



Listener

  • Hipparch
  • ******
  • Posts: 3186
  • I place things in locations which later elude me.
    • Various and Sundry Items of Interest
Reply #4 on: February 29, 2008, 09:24:43 PM
Awesome.  Thank you.

"Farts are a hug you can smell." -Wil Wheaton

Blog || Quote Blog ||  Written and Audio Work || Twitter: @listener42


Listener

  • Hipparch
  • ******
  • Posts: 3186
  • I place things in locations which later elude me.
    • Various and Sundry Items of Interest
Reply #5 on: February 29, 2008, 09:31:58 PM
I removed that stylesheet and it works fine now.

Thanks for the help!

"Farts are a hug you can smell." -Wil Wheaton

Blog || Quote Blog ||  Written and Audio Work || Twitter: @listener42


eytanz

  • Moderator
  • *****
  • Posts: 6104
Reply #6 on: February 29, 2008, 09:34:05 PM
I figured out the problem - wxia3 defines ".selected" and gives it several properties, including the color red. This is then inherited by the selected class used in tabcontent2.css.

I'm assuming you can't easily modify wxia3 without screwing up a whole lot of existing stuff on your webpage, so I would rename ".shadetabs li.selected" to ".shadetabs li.selectedtab" or something like that (You'll also need to change tabcontent.js so that all references to the "selected" calss become "selectedtab" but you probably know that already).



eytanz

  • Moderator
  • *****
  • Posts: 6104
Reply #7 on: February 29, 2008, 09:39:22 PM
I removed that stylesheet and it works fine now.

Thanks for the help!

That'll work too.

Glad I could help.



Heradel

  • Bill Peters, EP Assistant
  • Hipparch
  • ******
  • Posts: 2930
  • Part-Time Psychopomp.
Reply #8 on: March 01, 2008, 12:12:02 AM
But does Code Monkey need Fritos?

I Twitter. I also occasionally blog on the Escape Pod blog, which if you're here you shouldn't have much trouble finding.


Listener

  • Hipparch
  • ******
  • Posts: 3186
  • I place things in locations which later elude me.
    • Various and Sundry Items of Interest
Reply #9 on: March 03, 2008, 08:51:36 PM
But does Code Monkey need Fritos?

Code Monkey like Fritos.

Actually, I used to sing that song and "Dance Soterios Johnson" to my daughter when she was a few months old.  She doesn't care for Coulton much anymore.

"Farts are a hug you can smell." -Wil Wheaton

Blog || Quote Blog ||  Written and Audio Work || Twitter: @listener42