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 - Ligning Up the DIVS...CSS - Ligning Up the DIVS...
Previous
 
Next
New Post
4/20/2007 3:02 AM
 

RockyMoore wrote

For a week or so, I worked on a tableless skin and it worked fine, except when you would enter any oversized content with can happen if you ever let a user enter anything that is not checked to see if it is out-of-bounds.  As an example, if you use a long string of text without any breaking characters, it will, either pop your div out of place (wrap the div or some other appearance) or it will crop the content and not display the overflow.

For me this is the biggest issue with tableless skinning, all the nice things you can do with floating layouts like e.g. faux columns result in a very bad looking page when the (inexperienced) webmaster adds an image that is 1px too wide...

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
4/20/2007 7:50 AM
 

I agree that css skins are breakable, but aren't they all, more or less?  When quoting conversions of web templates I'm constantly pointing this out to prospective clients.  Many templates have main content areas designed to be 600 pixels in width... this creates a problem on some of the Admin screens, even with table-based skins!

If you go out and research, really study the resources you might notice there is very little published knowledge on integrating HXTML/CSS with dynamic content.  Most all the examples use little or no graphics, only a background color or in some cases a repeating graphic for "faux columns", etc. and in my opinion seem to be made only for static content.  Many are downright ugly.  Even the better designer templates from BoxedArt and TemplateMonster - those are at least graphically rich, but once you get inside there's no provision for the expansion/contraction necessary in a CMS.  I learned pretty quickly that anything that is absolutely positioned will be thrown out as soon as the Admin control panel is engaged!

So, are we ready for XML/CSS skinning?  Not yet, but we take a step at a time, do our diligence, learn and experiment some more. Hopefully the core code and modules are being modified in this manner as well, and some point in the future DNN will have this capability.

A related question... in your opinion, should it be necessary for a DNN site to validate while in Admin mode, or not?

 
New Post
4/20/2007 8:23 AM
 

SamTanner said-

A related question... in your opinion, should it be necessary for a DNN site to validate while in Admin mode, or not?

 

In my opinion, this would be very very low on the priority list. 


DotNetNuke Modules from Snapsis.com
 
New Post
4/28/2007 11:45 PM
 

Sam, the skin you mentioned has serious problems if you narrow the browser window.  In IE7 and FF, the sitemap/login section wraps to under the menu as you drag and the login part will be remain wrapped.  The container titles to not stay in their area as the text overlaps into hte next container.  On various resizing, the Sitemap/Login will remain wrapped under the menu.   Most of this could be fixed with a minimum width statement to make sure it does not get into that situation of being too small, but not all browsers support minimum width.

This is the problem with CSS, it is not built for overflowing content.  It seems those who defined the standard did not think content should control its parent.  Big mistake, huge!  You should have an option to allow the bounding box to expand if content requires it, but I guess that is one of the reasons tables are so popular.

As long as you have full control on everything displayed and you plan to stay inside the content boundaries, CSS can still make a nice site.  But if a person has any dynamic data on a site such as a blog, forms, guestbook, ect, then there is a chance a site will look hosed if someone adds too wide of content, or they switch to a font size the pushing the text outside of its boundaries.

From what I can see though, it is just safer to build skins with a table layout and make sure to count on the frame possibly stretching.  Makes it easy to generate skins and much less headache.  Once things like CSS 3 comes out and is implemented by all the major browsers, things might be different, but as is, with the current state of CSS and browsers, it is a hard road.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS - Ligning Up the DIVS...CSS - Ligning Up the DIVS...


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