Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Edit code in DNN pageEdit code in DNN page
Previous
 
Next
New Post
7/17/2012 5:25 AM
 

hi

Is there any way of editing the code a DNN page i created.

i installed the jQuery cycle plugin and i can not align the module to be center in the module settings.

i would like to see i can add a "<div>" tag to the page where the jQuery code is to force it to be center.


Any suggestions 

 
New Post
7/17/2012 7:14 AM
 
Can you add an HTML module before and after the module and add a DIV tag to center it?

Mark
 
New Post
7/17/2012 8:07 AM
 

Do you have access to the skin? If so you should be able to set a width on the pane that the module lives in and then give it a margin of " margin: 0 auto; and it would center it via CSS.  You could also could add a <center> tag surrounding a pane, but most would do it using CSS.

If you don't have access to the skin, then in your module you may be able to drop some JQuery that would grab the id of the pane the module resides in and then modify the CSS through JQuery. 

 
New Post
7/20/2012 7:30 AM
 
Mark Eckeard wrote:
Can you add an HTML module before and after the module and add a DIV tag to center it?

Mark

 Hi Mark

i did add html module before and after the jquery module .... all in the content pain
in the top html module i put "<div style="text-align: center;">"
and in the bottom one i put "< /div>"

did not work... was this what you have in mind?

 
New Post
7/20/2012 1:05 PM
 
Yes but I don't think text-align aligns the div tag, just the text in it.

A cheap and easy way would be to try a "<center>" tag. See if that works although it's a bit of a work around and changing the module itself would be better.

Mark
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Edit code in DNN pageEdit code in DNN page


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out