Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Verdana Font Size 3 Doesn't Show Up Correctly
Previous Previous
 
Next Next
New Post 3/15/2006 9:04 AM
User is offline Jody Vangor
6 posts
10th Ranked


Verdana Font Size 3 Doesn't Show Up Correctly 

I've noticed that whenever I change the Font in a Text/HTML module to Verdana, it shows the default font size as 3.  This is great except that the size doesn't show up in the HTML code. Also, when I click on Update and then look at the live site, the font definitely isn't size 3 in the final version.  The only time this doesn't happen is if I put text into a table.  Then, the HTML codes show up correctly and the final version displays the text correctly. (I've changed the text in this message to Verdana size 3 to demonstrate the problem.)

Any suggestions on why this might be happening?

Thanks,

Jody

 
New Post 3/15/2006 10:08 AM
User is offline michael jackson
172 posts
Brillnat.com
9th Ranked


Re: Verdana Font Size 3 Doesn't Show Up Correctly 

Jody,

I haven't checked but this may be due at least in part to pet peeve of mine.  The core text/html module (and others) wrap everything in a span tag and gives it a class=normal. 

It is more problematic in links module where you don't have flexibility to assign classes to your content.  DNN needs to separate the content from the presentation more.  The core framework (or modules for that matter) should never hard code classes.  Mine don't.  It should allow the user to define what styles are used for data.  I would suggest that they make everything template driven.  Where each module allows you to define the arrangement and style classes for the content.  The modules and the core should be responsible to deliver the content.  Give the user complete control of the presentation.  Then a blog module could truly be cusomized to look and feel like anyone would want. 


Michael Jackson
Brillnat.com
Custom module development
Database access tokenized HTML modules
 
New Post 3/15/2006 12:43 PM
User is offline Jody Vangor
6 posts
10th Ranked


Re: Verdana Font Size 3 Doesn't Show Up Correctly 

Thanks for your insite.  If that is the case, the problems I've run into seem to make sense. We'll continue to work around them for now.

Jody

 
New Post 3/15/2006 7:05 PM
User is offline Nik Kalyani
706 posts
www.dotnetnuke.com
7th Ranked








Re: Verdana Font Size 3 Doesn't Show Up Correctly 

You can still have complete control by using one of the various CSS selectors. For instance, knowing that there is a <span class="Normal"> wrapper, you could use a hierarchical class selector to override any or all attributes of Normal in Text/HTML:

.Normal.MyClass { color: #ff9900; }

Also, descendant and child selectors work well for such situations:

span div.MyClass { ... }

or

span > div.MyClass { ... }

Nik

 


Nik Kalyani
Co-founder
DotNetNuke Corp.
Blog | FriendFeed | FaceBook
 
New Post 3/15/2006 10:46 PM
User is offline michael jackson
172 posts
Brillnat.com
9th Ranked


Re: Verdana Font Size 3 Doesn't Show Up Correctly 

Yes there are ways around the "normal" wrapper of the module.  But why put it there to begin with?  The text/HTML module is for placing HTML on a page.  Why assume that the context of the content is the same there as the wrapper around the links module.  If you look at most skins that really try to make things look good.  You will see that there is significant code in there to undo all this stuff that the modules put in place. 

We need to separate content and presentation and leave all the presentation stuff to the CSS and skin.  I have nearly completeda module that has CSS classes defined for everything and then I allow each class to be renamed in the settings of the module so that the user has complete flexibility on presentation.  That is just my 2 cents.

sorry I rambling on a bit.

mj


Michael Jackson
Brillnat.com
Custom module development
Database access tokenized HTML modules
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Verdana Font Size 3 Doesn't Show Up Correctly
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com
Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP