You need to Register for free and Login to post a message in the forum.

Forum

CSS Question
Last Post 2010-01-19 09:52 PM by Lee Sykes. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Colby DeesUser is Offline
Posts:20
Avatar

--
2010-01-19 08:57 PM
    I'm "learning" to develop DNN skins in a pure CSS style. -Rather than tables- I went through the nine videos offered on this site which helped a lot. I believe I’m getting close, but I have a few issues that seem small, but I can't seem to get them to work. If someone would kindly look at my CSS and attachments I would appreciate the feedback. I'm sure I'm doing something obvious as I'm much more a designer than developer. Thanks! ~See the attached images~ Here is my CSS:

    body
    {
    margin: 0;
    padding: 0;
    line-height: 1.1;
    font: small Verdana, Arial, Helvetica, sans-serif;
    background-image: url(images/sponge_blu.gif);
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed;
    } #wrap
    {
    width: 75%;
    margin-left: 10%;
    margin-right: 10%;
    min-width: 600px;
    max-width: 800px;
    padding: 0 5px 0 5px;
    background-color: #741415;
    border: 2px solid #FFFFFF;
    }
    .tagline
    {
    float:right;
    clear: both;
    width: 10%;
    padding-left: 25px;
    }
    #loginlinks, a:link, a:active, a:visited
    {
    float: right;
    width: 90%;
    text-align: right;
    color: #FFFFFF;
    margin-right: 2%;
    }
    #loginlinks a:hover
    {
    color: #CCCCCC;
    text-decoration: none;
    }
    #logo
    {
    float:left;
    clear: both;
    }
    #content
    {
    clear: both;
    width: 95%;
    background-color: #FFFFFF;
    padding: 10px 10px 10px 10px;
    margin-left: 2%;
    margin-right: 2%;
    }
    #menubar
    {
    float: left;
    width: 95%;
    padding: 5px 10px 10px 0;
    margin-left: 2%;
    margin-right: 2%;
    }
    #footer, a:link, a:active, a:visited
    {
    float: none;
    width: 44%;
    padding: 10px 10px 0 8px;
    margin-left: 2%;
    margin-right: 2%;
    font-family: small Verdana, Arial, Helvetica, sans-serif;
    font-weight:bold;
    color: #FFFFFF;
    }
    #footer a:hover
    {
    color: #CCCCCC;
    text-decoration: none;
    }
    .asscap
    {
    float: none;
    clear: both;
    }

    111957542871.jpg
    111957549654.jpg

    - Colby Dees -

    I have not failed, I have just found 10,000 ways that won't work.
    -- Thomas Edison
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2010-01-19 09:52 PM
    Hello,

    Check out the code from this skin Andreas 01

    To center we use in the body and #wrap:

    margin:0 auto;

    For the others, it's hard to work it out without looking at it live, what I would suggest is viewing this tutorial:
    Troubleshooting DotNetNuke Skins

    It outlines the techniques I would use to work out those problems.

    One of the first things I would check is the widths that you have assigned to the various elements, that's usually why you get wrapping occurring


    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Thanks for the reply joe this is my portalalias table entries 2 0 localhost/tradeupgrade -1
    RE: "Good" hosting providers by ejcullen rene
    informative!!!
    RE: URL Master Module doesn't work on IHostASP hosting by ejcullen rene
    informative!!!
    RE: shared web hosting by ejcullen rene
    informative!!. i got hosting service from http://www.thewebpole.com/ my hosting company offers you
    RE: iPhone website logo in DNN root directory by JohnnieD
    I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
    iPhone website logo in DNN root directory by JohnnieD
    I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
    RE: Fixed size container by Joseph Craig
    Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
    Fixed size container by Aggiedan97
    I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
    RE: DNN 6.1 app_offline.htm by Joseph Craig
    If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
    RE: DNN site automatically redirects to a different domain name. by Joseph Craig
    Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
    DNN 6.1 app_offline.htm by Dave Hassall
    Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds