Need help to remove blank line in output

Support for IntegraMOD 141

Moderator: Integra Moderator

Need help to remove blank line in output

PostAuthor: .QUACK.Major.Pain » Tue Apr 03, 2007 2:09 pm

<p><a>
<img> <font>WOlfmAN </font></a></p>
<p><a>
<img> <font>scottscnd</font></a></p>
<p><a>
<img> <font>Major.Pain</font></a></p>


Need help with this. The outcome puts everything on every second line.
What needs to be changed to get the lines together without the blank line in between?

I tried posting to show the outcome, but it ended all screwed up, so I disabled html.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Need help to remove blank line in output

PostAuthor: .QUACK.Major.Pain » Tue Apr 03, 2007 2:11 pm

<p><a>
<img> <font>WOlfmAN </font></a></p>
<p><a>
<img> <font>scottscnd</font></a></p>
<p><a>
<img> <font>Major.Pain</font></a></p>

This is outcome, but messed up in post. Works perfect in a IM Portal block other than the icons/name come out on every second line.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Need help to remove blank line in output

PostAuthor: Helter » Tue Apr 03, 2007 4:30 pm

[code]  <table>  <tr>   <td><a target="_blank" href="http]
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Need help to remove blank line in output

PostAuthor: .QUACK.Major.Pain » Tue Apr 03, 2007 4:48 pm

Thx.

Didn't quite work right. Wasn't showing the icon but rearranged it by moving border="0" to the front and removed the / before the > and that fixed it.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Need help to remove blank line in output

PostAuthor: Helter » Wed Apr 04, 2007 12:19 am

you must be using a wysiwyg editor such as Deamweaver, because all the code your writing is backwards. Almost ALL editors of this type write bad code.
you can validate your code [url=http]here[/url]

try this there too <img>

[code]  <DOCTYPE><html>   <head>     <title>Test</title>   </head>   <body><table>  <tr>   <td><a target="_blank" href="http]
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Need help to remove blank line in output

PostAuthor: .QUACK.Major.Pain » Wed Apr 04, 2007 4:56 am

Not using anything. I copied and pasted what you gave me in a IM Portal block.
The icon wouldn't appear so I had to edit what you gave me to get it to work.
If it's wrong format, then it's an issue with 141.

This is what I needed to get it to work:

<tr>
<td><a>
<img>
<font>__puterrrr</font></a></td>
</tr>
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Need help to remove blank line in output

PostAuthor: Helter » Wed Apr 04, 2007 2:13 pm

".=QUACK=.Major.Pain";p="23697" wrote:Thx.

Didn't quite work right. Wasn't showing the icon but rearranged it by moving border="0" to the front and removed the / before the > and that fixed it.


what im saying is that Im mot sure how doing this fixed it, because this is correct code. You had one other error that I didnt catch the first time around, but the fix is in my previous post

find
&
replace with
&

you are also using the <p> tag and since wysiwyg editors love this tag, i thought you had written the code from the first post with one. Personally, ive never used it. Ive always used <td> and <span> because different browsers display <p> so differently

The P tag is used to indicate paragraphs. The optional attribute ALIGN indicates the preferred alignment for the contents of this paragraph. Support for ALIGN=RIGHT is not as large as support for the other two. Note that ALIGN=LEFT is the default.
Some browsers render extra whitespace when multiple empty paragraphs are used in sequence. This is not required by the specs, so do not count on this to get vertical whitespace in your document.
When a paragraph has the ALIGN=CENTER or ALIGN=RIGHT attribute, some browsers do not use the default alignment for the next paragraph unless this paragraph is explicitly closed.
In the very first version of HTML, the P tag was an empty tag like BR. Some references and books still claim that this is the case. However, HTML 2.0 defines the P tag as a container, and there is no difference between a paragraph with and one without explicit alignment.
Despite the above, some browsers treat the closing tag as an opening tag - they insert an extra paragraph break there.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Need help to remove blank line in output

PostAuthor: .QUACK.Major.Pain » Wed Apr 04, 2007 2:47 pm

I got ya now...

The code I am using was written by one of our members who does this for a living, but he's never available. He maybe using the type of coding you suggestted above.
I had copied it into a IM Portal and it worked (but didn't like the double spacing)

What you gave me got me what I was looking for (single spaced but icon not showing)

Thx again
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Need help to remove blank line in output

PostAuthor: Helter » Wed Apr 04, 2007 3:11 pm

it is working for me

[web height=200:1mpvf1an]http://www.integrmod.com/html/test.html[/web:1mpvf1an]
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Need help to remove blank line in output

PostAuthor: .QUACK.Major.Pain » Wed Apr 04, 2007 3:40 pm

That wasn't the way it was to come out. It is missing the little green or red icon lits. Online or offline.
I tried my best to show you LOL - but I'm nothing close to you guys as programmers.

I tried to show it in a page, but you can see it in use on our forum: http://www.aaquacks.com/forum

[web height=350:1dk5ulqc]http://www.aaquacks.com/test.html[/web:1dk5ulqc]

Not my best results LOL - but you get the idea with the icon lits.
It works perfect in the forum.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]