NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: David on September 10, 2008, 12:54:45 PM

Title: NetTalk Browse Template - Blank Space After Heading
Post by: David on September 10, 2008, 12:54:45 PM
On the NetTalk Browse Template, there is a checkbox to add a blank line after the Heading.  If checked, then I get 2 blank lines.  Unchecked gives me 1 blank line.  I have attached screen shots showing this.  Is this behaviour a mistake or intentional?

I am trying to add a image as the background for the header using a custom css file.  However, I then get the blank line between the header and the browse table.


[attachment deleted by admin]
Title: Re: NetTalk Browse Template - Blank Space After Heading
Post by: Mike Grigsby on September 10, 2008, 04:43:58 PM
The code <br></br> looks like one line to me.
Title: Re: NetTalk Browse Template - Blank Space After Heading
Post by: David on September 15, 2008, 04:28:03 PM
Correct, there is just one <br></br>

However, I have unchecked the Blank Line After Heading.  So I should not have a <br></br>.  If I check the Blank Line After Heading, then I get:

<br></br>
<br></br>

2 blank lines.  So my question is why the 1 blank line if I uncheck Blank Line After Heading?  Shouldn't there be 0 <br>'s?
Title: Re: NetTalk Browse Template - Blank Space After Heading
Post by: Bruce on September 16, 2008, 01:22:17 AM
Hi David,

Think of <br /> (or <br></br>) as an "end of line" character.

So with "no gap" you'll still have 1 of these because the heading line needs to "end".

If you turn on the "blank line after heading" then you should see it twice.

So the _html_ is right, but is there something else that is the real problem?

Cheers
Bruce

Title: Re: NetTalk Browse Template - Blank Space After Heading
Post by: David on September 16, 2008, 06:14:47 AM
So something else is the problem... If I only use text, then the header is directly above the table.  When I add an image as a background to the header, I get white space between my header and my table.  Thanks for clarifying the <br>.  I will have to play with the my css.