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, ...Content canContent can't change colume automatically?
Previous
 
Next
New Post
9/30/2006 2:31 AM
 

I tried to write a skin with <div> and <span> only. And only using CSS to do the webpage's layout.

But I found the content will over my content pane's region and will not change colume automatically?

ex: I use

<div class = contentpane id = contentpane  runat = server />  as content pane.

and

.contentpane
{
    background-color: Transparent;
    width: 320px;
    height: 506px;
    margin: 83px 0px 0px 334px;
    padding: 1px;
    vertical-align: top;
    text-align: left;
}

as it's style.

But the text I inputed like

"QAZWSXEDCRFVTGBYHNUJMIKOLQAZWSXEDCRFVTGBYHNUJMIKOLqazwsxedcrfvtgbyhnujmikolp"

This is obviously over 320 px. But in the content pane it just display as what I type and doesn't change colume automatically. I expect it will become something look like:

"QAZWSXEDCRFVTGBYHNUJMIKOLQAZWSXEDCRFVTGBYHNUJMIKOL

qazwsxedcrfvtgbyhnujmikolp"

 

Does anybody know what I am missing would cause this happened?

 
New Post
10/6/2006 2:49 AM
 
What you want is just not in the HTML definition, it will not hyphenate words.
By the way when will you ever use a word that long?
You can set the overflow of the div to either hidden or auto to prevent the box size to change if somebody might use a word this long.

Example:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
  <HEAD>
    <TITLE></TITLE>
    <STYLE type="text/css">
        .scroll
            {
            background-color:#FFF000;
            postion:absolute;
            width:320px;
            height:320px;
            overflow:auto;
            /*overflow:hidden*/
            }
    </STYLE>
  </HEAD>
  <BODY>
    <DIV class="scroll">
      QAZWSXEDCRFVTGBYHNUJMIKOLQAZWSXEDCRFVTGBYHNUJMIKOLqazwsxedcrfvtgbyhnujmikolp
    </DIV>
  </BODY>
</HTML>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Content canContent can't change colume automatically?


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