return to tranceaddict TranceAddict Forums Archive > Main Forums > Chill Out Room

Pages: [1] 2 3 
I've got a (probably) simple html problem...
View this Thread in Original format
Gauss
So, there are two tables (Last.fm widgets), standing one beneath the other...
How do I make them stand one next to other instead?

Instead of this:

\\\\
\\\\
\\\\
||||
||||
||||

This:

\\\\ ||||
\\\\ ||||
\\\\ ||||
noikeee
If you can access them separately, put them in two different < div > tags. If you can't, use javascript to split them or something.
SimFox3
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>${table1}</td>
<td>${table2}</td>
</tr>
</table>
Gauss
quote:
Originally posted by noikeee
If you can access them separately, put them in two different < div > tags.

Not working...

quote:
Originally posted by SimFox3
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>${table1}</td>
<td>${table2}</td>
</tr>
</table>

That makes things quite messy since the codes for those tables themselves are rather... Advanced.
They end with < /a >< /td >< /tr >< /table >< /td >< /tr >< /table >, it it's of any help.
echosystm
You could use css to float one of the tables. I would do what SimFox said though.
noikeee
quote:
Originally posted by Gauss
Not working...


From what i remember, divs are pretty versatile, probably CSS can be used to give them fixed places in the website. There are a load of different CSS attributes for divs, there must be a combination that allows it like you want it.
d_bag
I think this might work:

Table with one row, 2 columns.








\\\\


\\\\


\\\\



||||


||||


||||





hope it helps :p
d_bag
Urgh it read it as html

never mind
Lira
quote:
Originally posted by noikeee
From what i remember, divs are pretty versatile, probably CSS can be used to give them fixed places in the website. There are a load of different CSS attributes for divs, there must be a combination that allows it like you want it.

<table style="float: left"> - just add that to the first <table> and it should work.
Gauss
quote:
Originally posted by Lira
<table style="float: left"> - just add that to the first <table> and it should work.

Not working either.

As for answers concerning CSS, I'm a noob for that stuff, so... :p

Akridrot
put the code in a pastebin or something so we can see ( http://pastebin.ca/ )
Gauss
Here it is, that's one table (out of two):

http://pastebin.ca/764625
CLICK TO RETURN TO TOP OF PAGE
Pages: [1] 2 3 
Privacy Statement