This is a migrated thread and some comments may be shown as answers.

PageLayout - Space between columns.

1 Answer 137 Views
PageLayout
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 18 Jun 2015, 06:28 PM

It seems no matter what I do I end up with a space between columns of about 20px or so.  I have used the CSS below, which I found in another thread, to remove margins and padding.  This help a little but still some space.  How can I remove the space between columns?  I am very new to html, css, and asp.net so I am struggling a bit.

 

       html .content .t-col,
        html .content .t-container {
            padding: 0;
            margin: 0;
            
        }

        html .content {
            padding: 0;
            margin: 0;
        }  


1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 23 Jun 2015, 11:17 AM
Hello Richard,

I would suggest you to apply the zero margins and paddings to the body itself. For example, please consider the below implementation:

<style type="text/css">
        body {
            margin: 0;
            padding: 0;
        }
 
        .col, .header, .footer {
            background-color: #78a6ab;
            border: 1px solid #cccccc;
        }
       
        html .content .t-col,
        html .content .t-container {
            padding: 0;
            margin: 0;
        }
 
        html .content {
            padding: 0;
            margin: 0;
        
    </style>

Regards,
Nencho
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
PageLayout
Asked by
Richard
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or