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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS validation errorsCSS validation errors
Previous
 
Next
New Post
9/21/2010 2:23 PM
 
Hi all you creators.

In some of the skins from the Skinning Contest is there in the style sheets used this code:

input, button, textarea, select { *font-size:100%;} 
body { font: 13px/1.231 arial, helvetica, clean, sans-serif; *font-size:small;*font:x-small;}
Validating the portal with W3C CSS Validator generates Parse Error's every time the *font is used. I have googled for any explanation on what the * is for, but havent found anything. W3C CSS documentation, both version 1 and 2, havent anything about it.

So can anyone tell me why it is used ?

There are other validation errors, but they are easy to fix.

Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
New Post
9/25/2010 4:33 PM
 
I think it's a typo
 
New Post
9/27/2010 8:24 PM
 

It is not a typo :)

The css you see are hacks for different browsers "*" targets IE 6 and IE7, "_" targets IE6 only etc

A lot of designers and web developers put CSS Reset Style at the beginning of the css file to make sure the site displays correctly across various browsers.

DotNetNuke Super Style Sheets include this code as well, you can find super style sheets in resource folder >>shared>>style sheets within the DNN source code package.




 
New Post
9/28/2010 2:57 AM
 
OK, I didn't see the star hack used that way before... I did use it as * html
My reference has been this:
http://www.webdevout.net/css-hacks
But I'm not using any CSS hacks anymore as I prefer to inject an extra CSS file for IE to keep the main CSS clean using either the core styles skin object or my own style helper skin object.
 
New Post
9/28/2010 2:24 PM
 

Everyone has their own favourites :)

Another option to consider is to use conditional styles - see the blog post by Joe Brinkman at
http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2812/DotNetNuke-Tips-and-Tricks-21-Conditional-Styles.aspx
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS validation errorsCSS validation errors


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