CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 3/19/2008 10:53:57 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 49 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
shalan99
Asp.Net User
Vertical Menu not rendering in Firefox3/19/2008 10:53:57 AM

0/0

Hi everyone!

Ok, this issue has been troubling me for days now, and I just cant seem to get this right.  Using the CSS Adapters, I have a vertical Menu which renders fine usually, but as soon as I introduce some content directly beneath it, it gets messed up in Firefox - image below:

Menu in Firefox 

the same thing in IE 6 or IE7 works fine: 

Menu in IE7

I know this is a CSS issue, but I cant figure this out.  If someone has experienced this before, and has a solution, please let me know.  I didn't want to include my current styling here, but I will make it available along with my html markup if need be.

Thank you!

regards
shalan
 

MikeJ83
Asp.Net User
Re: Vertical Menu not rendering in Firefox3/20/2008 6:23:54 AM

0/0

You're images are not showing up, can you post the HTML and CSS?

shalan99
Asp.Net User
Re: Vertical Menu not rendering in Firefox3/20/2008 3:30:30 PM

0/0

@Mike:  sorry, don't know why the images aren't displaying. but problem sorted out!! and what a stupid error on my part. To help those who might experience this, let me explain the problem and then the solution

Problem (Firefox only):

  • CSS Adapted vertical menu, with sub-menu items
  • any element in HTML that is laid out below the a menu
  • when page renders, the bottom element apperears halfway underneath (literally) the menu

Problem in Firefox...

How it suppose to look... 

Reason:

Now I mentioned above that the bottom element appeared "halfway" underneath the menu...which is at the same point that my sub-menu items began.  So when I began digging into the adapter CSS more carefully, I realised that Sub-menu items have a css "float" property.  Therefore, in firefox, any block elements below any other element with a float property will not render properly.

 

Solution:

This float needs to be "cleared" before any other element is written in markup. So if your markup was as follows:
 

1    <div id="menu">
2 /* --- menu stuff here -- */
3 </div>
4
5 <div id="bottom_element">
6 /* --- whatever goes here -- */
7 </div>
8

This will change to:
 

1    <div id="menu">
2 /* --- menu stuff here -- */
3 </div>
4
5 <div style="clear:both; float: none;"></div>
6
7 <div id="bottom_element">
8 /* --- whatever goes here -- */
9 </div>
10

Hope this helps someone!

Cheers!
shalan

 

 

 

 

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


Free Download:

Books:
Beginning DotNetNuke Skinning and Design: Skinning and Desing Authors: Andrew Hay, Nina Meiers, Shaun Walker, Pages: 432, Published: 2007
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Assistive Technology: From Virtuality to Reality : AAATE 2005 Authors: Alain Pruski, Harry Knops, Association for the Advancement of Assistive Technology in Europe, Pages: 781, Published: 2005

Web:
Vertical Menu not rendering in Firefox - ASP.NET Forums Problem (Firefox only):. CSS Adapted vertical menu, with sub-menu items; any element in HTML that is laid out below the a menu ...
CSS Drive forums | Horizontal List Menu Not Rendering Correctly in IE In one of the DIVs I am using a horizontal menu using LI (the particular ... It is rendering fine in Firefox and Netscape - but is not ...
Firefox 3's Internal Rendering CSS Is the th rendering in Firefox 3 broken? It seems that the th’s collapse to the width of text and do not line up correctly with the td’s below them. ...
Joomla! • View topic - Top menu not rendering properly. Feb 24, 2008 ... Post subject: Re: Top menu not rendering properly. Post Posted: Tue Dec 11, 2007 10:53 pm ... The only time I see this issue is in Firefox. ...
Gripes about Web Sites That Don't Work Well With Firefox The pause button and the Menu button did nothing. December 12, 2006. www.mercora .com worked with Firefox v1.5 but when used with Firefox v2 it does not ...
CSS Creator CSS drop down menu not rendering its tru position in IE. I built a CSS driven drop down menu. it works well in firefox but in IEwin the positioning is ... CSS drop down menu not rendering its tru position in IE. ...
Firefox Menu Issue with XDDesignAway - Free DNN SKINS for ... Jun 20, 2008 ... Prev Prev Next Next. You are not authorized to post a reply. ... this skin in Horizontal mode, the menu has an issue rendering in Firefox. ...
Rendering Issue in Firefox and IE - Ultimate Web Site Drop Down ... When the page is loaded in both Firefox and IE one of the menu items (Invitation .... You may not post new threads. You may not post replies ...
Spry Menu rendering improperly in Firefox - PLEASE HELP - HighDots ... I have a vertical spray menu with flyouts (CS3). ... Discuss Spry Menu rendering improperly in Firefox - PLEASE HELP in the Macromedia Dreamweaver forum. ...
Spry Menu rendering improperly in Firefox - PLEASE HELP ... I have a vertical spray menu with flyouts (CS3). Works great in IE, in Firefox, the flyouts go to the far right of the page. ...




Search This Site:










login control dosen't hide when visisblewhenloggedin is set to false

experimental datalistadapter w/ repeatcolumns fix

avoid rendering "hard-coded" menu control css classes

spacing problem

css adapter - adapterenabled property doesn't work completely

slowness how to remove

poor css decisions

style sheets

control adapter toolkit and vstudio 2008?

menu not showing in ie 6

securitytrimmingenabled treeview adapter

cssadapters and moss 2007, how to get it done?

sorting separators in gridview

css friendly adapters (beta3) can't find css file

gridview - adapter to render div for <table>, <tr> and <td>

treeview imagetooltip

menuadapter, "selected/active" help

background of currently selected page

adjustable tabs in css adapters menu

adding checkbox to the treeview

minor formviewadapter bug

does the css friendly gridview have problems showing selected rows?

do css freindly adapters work with asp.net 3.5

detailsview rendered as overlaped name and value

aspmenu adapter ie problem with fckeditor

overlay / zindex issue with menu and form controls

gridview prerender

i cant make it work

css adapted treeview control displaying all nodes on page load

onsendingmail

  Privacy | Contact Us
All Times Are GMT