This project is read-only.

<div id="ctl00_cphBody_divError" style="min-height: 2031px;"></div>

Topics: Themes
Jun 6, 2014 at 7:50 PM
Hi All,

BE with looking at post list with inspect element extension I see that BE is injecting this into the body of the posts:
<div id="ctl00_cphBody_divError" style="min-height: 2031px;"></div> Where can I change the min-height? or make it smaller?

Currently it is causing all of the posts to be pushed down 2031px
Jun 6, 2014 at 8:20 PM
I have this for my css trying to fix this issue:


min-height:2px initial; !important
border:3px dashed red;


border:4px solid white;

On load it seems to be ok, and then the posts are push down.

Seems like then it is injected with the min-height

Any ideal why this is happening?

Where is this being generated from?

Notice Post is doing the same thing:

<div id="ctl00_cphBody_PostList1_posts" class="posts" style="min-height: 1562px;">

Why is this happening?

This is only viewable from the generated HTML in DOM.

Viewing the Source from the web page does not show this.
Jun 7, 2014 at 2:43 AM
Hi All,

I just had downloaded the newest source version of BE: BlogEngine.NET

Still having same issue.

The theme is a Razor theme, does that have anything to do with it?
Marked as answer by kbdavis07 on 6/6/2014 at 8:13 PM
Jun 7, 2014 at 3:03 AM
All other themes including the Razor theme Garland-Revisited does not give this error.

The theme I am working on is based off of the Garland-Revisited theme.
Marked as answer by kbdavis07 on 6/6/2014 at 8:13 PM
Jun 7, 2014 at 4:14 AM
Found the issue:

It was a JavaScript in the theme causing the issue. Took it out and solve issue.