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

ListView with an extra 1px around it

1 Answer 17 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 17 Jul 2012, 11:39 PM
Hi All:

I am implementing a horizontal ListView with a title-bar across the top.
http://www.telerik.com/community/forums/aspnet-ajax/listview/code-for-yahoo-weather-user-control-webpart.aspx
In Asp.Net controls it worked just fine, but with Kendo UI, I seem to have an extra one pixel around the whole Listview.  Is this a bug or can I style this away.

Phil

1 Answer, 1 is accepted

Sort by
0
Phil
Top achievements
Rank 2
answered on 25 Jul 2012, 12:34 AM
Hi All:

I have to fix my own problems:
<div id="wthrPanel" class="wthrPanel">
    <div class="wthrTitle">@(ViewBag.WeatherDescription)</div>
    <div id="listView" style="border: 1px solid #5c87b2;"></div>
</div>
I placed a 1px around the list view and now it looks OK.
Phil

Tags
ListView
Asked by
Phil
Top achievements
Rank 2
Answers by
Phil
Top achievements
Rank 2
Share this question
or