Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Friday, December 05, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Toolbar
Forum for discussing the Toolbar module. Questions, comments, reviews and configurations.
Subject: Toolbar CSS Match the DNN Menu bar?
You are not authorized to post a reply.
 
Author Messages
mlarsen
Welterweight
Posts:49

05/06/2006 8:49 AM Alert 
I realize this is not a Toolbar issue but I thought I'd see if you might have any ideas.

What I'm trying to accomplish is to match the toolbar CSS to the the same classes as the SolPart Menu bar so when skins are changed the menu bars in the application will change to match the site automaticaly.

Using the event viewer sample toolbar I assigned the table to the class=skingradient and the toolbar button normal class=MainMenu_MenuItem and the hover class=MainMenu_MenuItemSel.

The skingradient looks fine but the button normal class adds lines and the hover class causes a shift in the text.

Have you ever tried this. I'm not sure why the same CSS classes are displaying differently for the menu table/row than they would for the Toolbar menu table/row.

Do you have any thoughts on this?

Thanks
kevinmschreiner
Please Wait...
Posts:749

05/08/2006 9:36 AM Alert 
The reason you will see different results from the Toolbar and the SolPartMenu is simple, the SolPartMenu and Toolbar share completely different HTML structures, and therefore, will not render properly using CSS configured specifically for one on the other. This is solely due to the way CSS works, and that applying CSS to a link within a div will result in a different look and feel than when applied to a Link with a TD. This is based on both the way specific browsers translate (or ignore) the CSS standards, as well as the affect specific CSS format attributes have on specific types of elements.

Kevin M Schreiner

Business Intelligence Force, Inc. (bi4ce)
mlarsen
Welterweight
Posts:49

05/08/2006 1:59 PM Alert 
Thats too bad that would have been two simple.. Thanks for the CSS tutorial
kevinmschreiner
Please Wait...
Posts:749

05/08/2006 2:53 PM Alert 
Yeah, sorry for the confusion. Navigator was developed so that it would adhere to with a little more intelligence to the client runtime, so that it would operate faster, with less friction, more user ease, and specific emphasis on Search Engine Optimization. Unfortunatly, these are all things which cause the SolPartMenu CSS to be a poor option set for the class assignment. With that said, you CAN use the same classes, but you need to be wary of the specific attributes it uses. Especially border lines and the like. While our Navigator can (and often does) employ borders between entities, the object to which that border applied is the key.

Kevin M Schreiner

Business Intelligence Force, Inc. (bi4ce)
You are not authorized to post a reply.
Forums > Bi4ce.Modules > Toolbar > Toolbar CSS Match the DNN Menu bar?



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation