HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Why is this doing this?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#35564 (In Topic #8025)
Avatar

Fan in action

 http://ourussvoyager.com/tho/%20 is the url to my site, see how the front page is doing that? Here is the code, can someone help me fix this? The semihtml is in double brackets because it wouldn't show it in the code box and I didn't want an answer saying that it should be there when it is.


Code

[] [title=".5"]{$SITE_NAME}[/title][block=&quot;3&quot;]main_greeting[/block] <br />
 <div style="width: 48%; float: left;">[block]main_top_downloads[/block]</div><div style="width: 48%; float: right;">[block]main_iotd[/block]</div><div style="width: 48%; float: right;">[block]main_quotes[/block]</div><br /></div>[]

[block multiplier="0.5"]main_news[/block]
Back to the top
 
Posted
Rating:
#35566
Joe
Avatar

Honoured member

First of all, you have an extra </div> in the contents of your page.

Secondly, it'll be messy, but my best advise is adding multiple <br />'s before the main_news block.

Example:

Code

<br /><br /><br /><br /><br /><br /><br /><br /><br />[block multiplier="0.5"]main_news[/block]

In order to do this, you might want to wrap the entire contents of your page in a SEMIHTML tag. Add more <br />'s as needed too.

Back to the top
 
Posted
Rating:
#35584
Avatar

Fan in action

 

Joe said

First of all, you have an extra </div> in the contents of your page.

Secondly, it'll be messy, but my best advise is adding multiple <br />'s before the main_news block.

Example:

Code

<br /><br /><br /><br /><br /><br /><br /><br /><br />[block multiplier="0.5"]main_news[/block]
In order to do this, you might want to wrap the entire contents of your page in a SEMIHTML tag. Add more <br />'s as needed too.
 
Thanks for the help, I underlined this because I said that it was already done it just didn't show when I copied the code onto this forum and that wasn't the problem. It didn't have all of the extra lines before when it worked so why does it need it again?
Back to the top
 
Posted
Rating:
#35585
Avatar

Fan in action

I was able to make a few more changes. Now its continuing beyond the footer. http://ourussvoyager.com/tho/index.php?page=start

Here is what the code looks like now:

Code

[.semihtml][title=".5"]{$SITE_NAME}[/title][block=&quot;3&quot;]main_greeting[/block] <br />
 <div style="width: 48%; float: left;">[block]main_top_downloads[/block]</div><div style="width: 48%; float: right;">[block]main_iotd[/block]</div><div style="width: 48%; float: right;">[block]main_quotes[/block]</div><br />

<div style="width: 100%; float: right;">[block multiplier="0.5"]main_news[/block]</div></br />[./semihtml]
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: