Blank space between news and topic

Blank space between news and topic

by ricky matthews -
Number of replies: 4
Hi, I've got some white space above the 'site news' under the topic box at the top.. I've looked in the source and it appears to be caused by a <br /> .. anyone know what .php file it's in so I can remove it?

Example:

prev

Thanks
Average of ratings: -
In reply to ricky matthews

Re: Blank space between news and topic

by Russ Lymer -

in the folder moodle/course/format/topics/format.php

Russ

In reply to Russ Lymer

Re: Blank space between news and topic

by ricky matthews -
I removed all instances of <br /> in that php file, yet the blank space is still there, and still in the page source sad
In reply to ricky matthews

Re: Blank space between news and topic

by Russ Lymer -

will be in your style sheet and will be margin

body#site-index .headingblock, body#course-view .headingblock {
margin-bottom:9;

Set the margin-bottom:9; to = 0 and the space will dissapear.

Russ

In reply to Russ Lymer

Re: Blank space between news and topic

by ricky matthews -
That shifted it up by what looks like about 2 pixels.. I think the problem is the random <br /> that's still in the source code, so it's obviously being rendered somewhere?