vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   More Mozilla / Cross-Browser Madness, table mousovers (https://vborg.vbsupport.ru/showthread.php?t=122641)

Guest210212002 07-31-2006 01:32 PM

More Mozilla / Cross-Browser Madness, table mousovers
 
I've been working on my CMPS a bit today, just cleaning up some blocks and generally tidying up some of the navgation bits.

If you view my site, on the left side of the portal is a block titled "Reviews and Interviews". I put in some simple table cell mousovers, like so:

Code:

<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=1055"><ilayer><layer id="nav" bgColor="#444444" width="100%" onMouseover="this.bgColor='#555555';" onMouseout="this.bgColor='#444444';"><span class="portalnav">Steve Bello</span></a></layer></ilayer></td></tr>
I'm using onMousover for IE, and ILAYER for (what I thought) Mozilla/Netscape. The actual mousovers work just fine in both browsers, but for some reason Firefox is leaving a small gray line under each of the actual links, like this:

http://www.sevenstring.org/chris/ff_hate1.jpg

This doesn't happen in IE, naturally.

What am I missing here? I really like the look of the new module, and I'm a sucker for mousovers - they're CSS and any movement on a page makes it a little more "organic" in my opinion. However the fact that Firefox does this makes it so that it's something I either have to fix or do without. My CSS for "portalnav" (the actual links) is as follows:

Code:

.portalnav
{
color:#FFCC00;
font: bold 10px verdana;
Text-Decoration: none;
}

Any insight would really be appreciated.

Pulling it outside of the main definition is the same result:

Code:

.portalnav
{
color:#FFCC00;
font: bold 10px verdana;
}

.portalnav a, .portalnav a:link, .portalnav a:visited, .portalnav a:hover, .portalnav a:active {text-decoration:none;};

[high]* Guest210212002 goes insane[/high]

Update 3: New code, no ilayers, global span call, underlines are gone, but so is my formatting.

[high]* Guest210212002 laughs maniacally
[/high]

Code:

<td class="alt1"><table border="0" width="100%" class="portalartist">
<tr><td align="center" width="170" style="background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=1055">Steve Bello</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?p=89657">Chris Broderick</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=375">Ben Carroll</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=1287">Rusty Cooley</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?p=164860">Doug Doppler</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=11640">St?phan Fort?</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=9282">End Theory</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=755">Francesco Fareri</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=1316">Rob Johnson</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=1202">Tom Kopyto</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=753">Vince LuPone</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=4806">Buz McGrath</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=9842">Nils Norberg</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=2459">Steve Smyth</span></a></td></tr>
<tr><td align="center" style="width:100%; background-color:#444444" onMouseover="this.style.backgroundColor='#555555';" onMouseout="this.style.backgroundColor='#444444';"><a href="http://www.sevenstring.org/forum/showthread.php?t=1733">Dave Weiner</a></td></tr>
</table></td>

Aaaand I got it.

Awright, got it if anyone cares.

I added this definition:

Code:


 .portalartist a, .portalartist a:link, .portalartist a:visited, .portalartist a:hover, .portalartist a:active {
 
text-decoration:none;
 
color: #2886B6;
 
font: bold 10px verdana;
 }

Plus the original portalartist:

Code:

.portalartist
{
color:#2886B6;
font: bold 10px verdana;
Text-Decoration: none;
}

And used a global class in the table call itself, rather than individual spans for the table (eg: table class="portalartist")


All times are GMT. The time now is 11:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01050 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete