CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 1/19/2007 12:05:00 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 42 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
topgun1986
Asp.Net User
Plus/Minus images disappears in IE61/19/2007 12:05:00 PM

0/0

Ok this is a weird one, the CSSAdapter treeview works perfectly in IE7 and Mozilla Firefox but there's a bug in IE6.

If you select a item in a node, the node and the item gets selected with the proper colors but the plus and minus images in the node disappears so it makes it harder to see where you are.
I don't use themes only CSS, the plus and minus images is located in the images folder.
I have specified the location for the images in the CSS which looks like this:

.PrettyTree div.AspNet-TreeView .AspNet-TreeView-Collapse

{

background: url(../Images/minus.gif) 0 1px no-repeat;

width: 10px;

margin-top: 1px;

float:left;

cursor: pointer;

}

.PrettyTree

div.AspNet-TreeView .AspNet-TreeView-Expand

{

background: url(../Images/plus.gif) 0 1px no-repeat;

width: 10px;

margin-top: 1px;

float:left;

cursor: pointer;

}

In the treeview I have specified the location for the images also.

What can I do to solve this bug in IE6?


Thanks in advance! 

Russ Helfand
Asp.Net User
Re: Plus/Minus images disappears in IE61/24/2007 8:07:37 PM

0/0

This is going to sound wacky but... please try adding the following properties to each of your two CSS rules (above):

    font-family: Courier;
    font-size: large;
    line-height: 15px;

There is some subtle stuff going on here.  If my theory is right, you are running into a problem wherein IE6 is ignoring the width specified and, instead, is using the width of the actual textual content which is merely an nbsp. You can effectively fix that, however, in a standards compliant and safe way by explicitly telling the browser that you want that nbsp to have a particular size (by specifying something about its font-size and font-family).  The properties I gave above are not the only ones you could use.  You could, for example, play with a different font family or size to effectively widen or narrow the space in which the background image (the plus or minus) is drawn.  Remember, the plus/minus is merely a background to whatever space you've ultimately allocated for that area.  The plus/minus are not actually <img> tags.  So, if the browser ignores the explicit width you've given then you are obliged to force the width to be what you need it to be via making the nbsp as wide as necessary.

This is, of course, uncomfortably messy but it is reality for now.

If none of that works, you might play around with using position:relative on some of your classes... but that would be a guessing game and I hate to point you in that direction initially.

Good luck. Best regards,


Russ Helfand
Groovybits.com
topgun1986
Asp.Net User
Re: Plus/Minus images disappears in IE61/25/2007 9:30:13 AM

0/0

Thanks Russ it worked PERFECTLY!

Best regards
Jimmy

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Plus/Minus images disappears in IE6 - ASP.NET Forums Re: Plus/Minus images disappears in IE6. 01-24-2007, 3:07 PM. Contact ... Re: Plus/Minus images disappears in IE6. 01-25-2007, 4:30 AM. Contact ...
[#MDL-7493] Make sure standard themes are visible under "Windows ... I've added javascript to replace the plus/minus image on the fly when ... The screenshot shows Moodle Features on IE6/ Windows XP Pro in "Windows High ...
slideToggle not working correclty in i.e. - jQuery (English ... In Firefox the minus image is swaped immediately on the click function how it is desired and no flashing of the div before it disappears. ...
Opdicom: Frequently asked questions and answers for Opdi ... Additionally, the plus sign (+) or the minus sign (-) next to the OpdiTracker folder disappears. In some installations, the first time online help is ...
Expandable Property (TREENODE, TREENODETYPE) Microsoft Internet Explorer WebControls are not currently supported. ... Always A plus- or minus-sign image displays on a node (whether or not it has ...
HumanWare assistive technologies - Accessibility In Windows, using both Internet Explorer and Firefox, you can choose the View ... We have not implemented onscreen plus and minus buttons for resizing text ...
ActiveTreeView(TM) ActiveX(TM) Control Version 1.04.022 - March 4 ... 4714 - When using the url properties on an ASP page you can't add a node with an index into the images collection. 4711 - Plus/Minus Sign does not show up ...
When Sticky Notes disappear : North County Times - Californian Carol Tupper wrote to say all her "Yellow Sticky Notes" had disappeared ... Click a plus sign to open a folder and click its minus sign (-) to close it. ...
Dynamic Drive scripts help [Archive] - Page 47 - Dynamic Drive Forums Jason's Date Input Calendar · sub-menu disappears when going down · AnyLink Drop Down Menu ... Animated Collapsible DIV - Integrating Plus and Minus Images ...
Optelec - Accessibility We have implemented on screen, plus and minus buttons for resizing text on our ... In Windows, using both Internet Explorer and Firefox, you can choose the ...

Videos:
XML11: An Abstract Windowing Protocol Google TechTalks June 1, 2006 Arno Puder Arno Puder received his masters and Ph.D. in computer science and is currently working as an ...




Search This Site:










attributes and web user controls

ampersands in control attributes

suggestions for authenticating against an existing database

referencing a webusercontrol in asp.net 2.0

css not applied after authentication

tab control is it possible

image rotator

using asp.net to scan machines?

decryption error - obj reference.......

pack of language

geoip.dat

reset button does not clear pre-checked checkboxes

configuration error

server- and development environment

i need help

when is "ling to sql" available?

access masterpage id

how to: make "export to excel" always open excel in a separate window

are there any good shopping cart modules and/or hosting services with included shopping cart service?

when i deleted portalcfg.xsd,the portal starter kit can still work normally.then what is the use of portalcfg.xsd in portal starter kit?

how to get user id after login

what next???

first page load of the day speed optimization

httpwebrequests and httpwebresponse: manipulating webpage controls via code

can we control the appearance of text

internet explorer cannot open the internet site http://...

multiple web.sitemaps

link from a datagrid to a detailed page.

access control and approval

hiding/removing dnn's control

 
All Times Are GMT