I don't know why its crashing, but simplify your life Paul.  Use inheritance
and the cascade to create a more efficient CSS.  That way when you start
trying to figure out where the problems are, it will be a heck of a lot
easier.

..chanpod :link,
..chanpod :visited{
        display: block;
        background-color: #454545;
        width: 580px;
        height: 121px;
        font-size: 11px; 
        font-family: Verdana,Lucida-Sans;
        font-weight:normal; 
        color:#FFFFFF;
        padding:0px 0px 0px 0px;
        margin-bottom: 5px;
        text-decoration:none;
        text-align:left;
}
..chanpod :link:hover,
..chanpod :visited:hover{
        background-color: #989898;
}

Sandra Clark
=============
http://www.shayna.com
Training and Consulting  in CSS and Accessibility
Team Fusebox

-----Original Message-----
From: Paul Henderson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 4:36 PM
To: CF-Talk
Subject: RE: CSS Refresh Crash in Firefox??

Its basically one div pod that is crashing, as in the txt style doesn't
apply and the div ends up appearing 3 times and one of the 3 is out of
place. I didn't post the code originally because I was hoping it was a
common bug, guess not.

Here is the css:

...chanpod a
{
display: block;
background-color: #454545;
width: 580px;
height: 121px;
font-size: 11px; 
font-family: Verdana,Lucida-Sans;
font-weight:normal; 
color:#FFFFFF;
padding:0px 0px 0px 0px;
margin-bottom: 5px;
text-decoration:none;
text-align:left;
}

...chanpod a:hover
{
display: block;
background-color: #989898;
width: 580px;
height: 121px;
font-size: 11px; 
font-family: Verdana,Lucida-Sans;
font-weight:normal; 
color:#FFFFFF;
padding:0px 0px 0px 0px;
margin-bottom: 5px;
text-decoration:none;
text-align:left;
}

And the actual HTML:

<div class="chanpod">
<a href="divtest2.cfm">
<h1>Header</h1>
<img src="images/img.gif" width="580" height="97" border="0"
alt=""/></a></div>

I'm trying to pull off a basic roll over affect so if the user rolls over
the graphic or header the header (background-color) will change.

Thanks in advance for any input.


-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 4:22 PM
To: CF-Talk
Subject: RE: CSS Refresh Crash in Firefox??

Can you be a little more clear as to what you mean by "CSS crash"?

Are you saying that the CSS doesn't work? Doesn't load? Do you have a site
we could look at?


andy 

-----Original Message-----
From: Paul Henderson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 1:35 PM
To: CF-Talk
Subject: CSS Refresh Crash in Firefox??

This isn't exactly a cf issue but its happening on a .cfm page so plase bare
with me. For some reason my css seems to partially crash, randomly on SOME
refreshes in Firefox only.. On avg 8 out of 10 times the code will load
fine. Is this a known Firefox bug? I'm a bit of a css rookie but I've tried
about 5 different approaches to the code and the same random refresh crash
happens. Any ideas?

 

Thank you,

-Paul

 









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284580
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to