Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

html help

This is where you can discuss your homework, family, just about anything, make strange sounds and otherwise discuss things which are really not related to the Lancer-series. Yes that means you can discuss other games.

Post Fri Mar 04, 2005 7:55 pm

html help

need help with html
on the b5tc forum here ive put a shoutbox at the bottom but it dont wanna align to the center properly here is my code

<iframe src="http://253895.myshoutbox.com/" width="650" height="140" frameborder="1" allowTransparency="true"> align=center</iframe>

can you see anything wroong with it?, please help

Post Fri Mar 04, 2005 8:29 pm

Be glad to help, but not sure what exactly you're asking for here. Do you want it aligned to the center or not? If so, consider using a table with one row and one column then align it within that table by either using the <center> shoutbox code </center> tag or just use percentages then play with the height/width settings. For some reason I can not view the coding of the site. The iframe tag isn't working like you want because there's no frame involved to invoke the setting.

I used a shoutbox in a fantasy football site and using that technique described above worked like a charm. The affiliates blog is aligned in the center so at least that is working fine.

Edited by - Stinger on 3/4/2005 8:31:30 PM

Post Fri Mar 04, 2005 8:34 pm

yes please can you give me a code to center it, ive been learning html but havnt got that far yet

Post Fri Mar 04, 2005 8:48 pm

Try...

<iframe align="center" src="http://253895.myshoutbox.com/" width="650" height="140" frameborder="1" allowTransparency="true"></iframe>

or...

<div align="center"><iframe src="http://253895.myshoutbox.com/" width="650" height="140" frameborder="1" allowtransparency="true"></iframe></div>

Post Fri Mar 04, 2005 8:52 pm

YES!
thanks bakedpotato

Post Fri Mar 04, 2005 8:55 pm

There are a couple of ways to do it. This is just one:


Module 1:
<TABLE WIDTH=100% BORDER=0>
<TR><TD VALIGN=TOP WIDTH=25%>

Module 2:
</TD><TD VALIGN=TOP WIDTH=50%>

Module 3:
</TD><TD VALIGN=TOP WIDTH=25%>

Home Page Message 4:
</TD></TR></TABLE>

Adjust the percentages to create the column widths you desire.
If you want a border around everything, change the border=1 or higher. The bigger the number, the thicker the border.

Add the home page modules you just created making sure they are in the correct order. Then insert the other home page module in between the home page messages to layout your page.

For example:

If you want to have the newest poll module and the most recent messages module in the right column, the Shout Box in the middle, and the pending trades on the right. Order the modules like this:

Module #1
Newest League Poll
5 Newest Message Board Posts
Module #2
Shout Box
Module #3
Pending Trades
Module #4




The trick here is to build the main table, then insert sub tables based on percentages that add up to 1--%, then insert whatever you want in-between the inserted tables. The example above is for a three column look so adjust what you need accordingly.

html is very logical and it doesn't take that long for the light bulb to go off.

Post Fri Mar 04, 2005 8:59 pm

ah, thanks for the help also stinger

Post Fri Mar 04, 2005 9:01 pm

bp's was a much simpler fix. But your welcome and have fun coding.

Post Fri Mar 04, 2005 9:46 pm


the wonders of html editing.........

Post Sat Mar 05, 2005 6:04 am

Hey guys while were on the subject of html does anyone know a good online guide for it?

Post Sat Mar 05, 2005 6:27 am

A site BP pointed me to is This and a program to create it is Notetab Lite

Edited by - Finalday on 3/5/2005 6:27:54 AM

Post Sat Mar 05, 2005 7:32 am

Also DSQrn there was an html guide (book) that Mr. F was talking about, you might want to ask him...

Unless of course he calls you a capitalist running dog and goes away

Return to Off Topic