Page 1 of 1

help with html position

Posted: 03 May 2010, 19:50
by neuropass
hey guys i need to set two object in the same line, this is the case of a coliris wall. but i want to have two walls together in the center.

Like the column bbcode... :?

this is my code:

the wall start with <img tag. so what edit should i do to have the two walls?

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
{$C_BLOCK_H_L}<dt>Wall of Fun</dt>{$C_BLOCK_H_R}
	<ul class="topiclist bg1">
		<li><dl>
			<div style="text-align:center">
            <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.11NXC/bT*xJmx*PTEyNzI5MDg1MDg2ODMmcHQ9MTI3MjkwODUxMTUxOCZwPTkwMjA1MSZkPSZnPTEmb2Y9MA==.gif" /><object id="ci_55474_o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="348"><param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><param name="bgColor" value="#121212" /><param name="flashvars" value="z=niLhgXDkvc28" /><param name="wmode" value="opaque" /><embed id="ci_55474_e" type="application/x-shockwave-flash" src="http://apps.cooliris.com/embed/cooliris.swf" width="600" height="348" allowFullScreen="true" allowScriptAccess="always" bgColor="#121212" flashvars="z=niLhgXDkvc28" wmode="opaque"></embed></object>
			</div>
		</dl></li>
	</ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->

Re: help with html position

Posted: 03 May 2010, 20:00
by cisco007
have you tried adding the other one after </object> to see how it looks!?

Re: help with html position

Posted: 03 May 2010, 20:14
by neuropass
yes it works, but there is basically no space between the two...

Re: help with html position

Posted: 03 May 2010, 20:23
by cisco007
find this:

Code: Select all

border=0
and increase the number little by little see if it helps!

Re: help with html position

Posted: 03 May 2010, 22:50
by neuropass
thanks cisco, but nothing happened...

Re: help with html position

Posted: 03 May 2010, 23:27
by Steve
there is no attribute border=0 it would be border="0" its not valid html with in a <div> element, so its invalid html .
you need to create a table:

Code: Select all

<table width="100%" cellpadding="2">
<tr>
<td style="width:50%;" valign="top">
content here.
</td>
<td style="width:50%;" valign="top">
content here1.
</td>
</tr>
</table>
change the cellpadding too suit your width.

in the img src you provided all this is invalid

Code: Select all

border=0 width=0 height=0
this works:

Code: Select all

 width="0" height="0"
but then that code for coliris wall. script/code is bad coding. :mrgreen:

Re: help with html position

Posted: 03 May 2010, 23:30
by cisco007
i have been working on this, and the only way to make it look nice is like Steve said using a table!

Re: help with html position

Posted: 17 May 2010, 02:01
by neuropass
Steve© » 03 May 2010, 23:27 wrote:there is no attribute border=0 it would be border="0" its not valid html with in a <div> element, so its invalid html .
you need to create a table:

Code: Select all

<table width="100%" cellpadding="2">
<tr>
<td style="width:50%;" valign="top">
content here.
</td>
<td style="width:50%;" valign="top">
content here1.
</td>
</tr>
</table>
change the cellpadding too suit your width.

in the img src you provided all this is invalid

Code: Select all

border=0 width=0 height=0
this works:

Code: Select all

 width="0" height="0"
but then that code for coliris wall. script/code is bad coding. :mrgreen:

i just saw your reply, thanks Steve... i see now..