ID:277131
 
NOTE - This is note for BYOND, but a friends band. This third table wont go to the right... :(
Code:
<html>
<head>
<title>
MADSIC, YO!
</title>
</head>
<body background='darkblue.bmp'>
<table border="1" width=500>
<tr>
<td background='darkblue.bmp' width=300><img src='madsic.bmp'></td>
</tr>
</table>
<table border="4">
<table align="left" border="1">
<tr>
<td bgcolor="#AAAAFF" width="180">
CONCERT INFO OR SUMTHIN
</td>
</tr>
<tr>
<td background='darkblue.bmp' width="180">
<tt>
INFO

INFO

INFO
INFO
INFO
INFO
INFO
INFO
INFO
INFO
INFO
INFO
INFO
INFO
INFO
</tt>
</td>
</tr>
</table>
<table border="1">
<tr>
<td bgcolor="#AAAAFF" width ="30">
UPDATES
</td>
</tr>
<tr>
<td background='darkblue.bmp' width="20">
<tt>
UPDATE

UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
UPDATE
</tt>
</td>
</tr>
</table>
<table>
<tr>
<td bgcolor="#AAAAFF" width="2">
LINKS, SPONSORS, ETC..
</td>
</tr>
<tr>
<td background='darkblue.bmp' width="2">
<tt>
LINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINKLINK
LINK
</tt>
</td>
</tr>
</table>




</table>

</center>
</table>
</body>
</html>


Problem description:

The page is supposed to look like this -
|-----------------|
|-----------------|
| | | | |
| | | | |
| | | | |
|_|_____|_____|___|

But it looks like this...

|-----------------|
|-----------------|
| | | |
| | | |
| | | |
|_|_____| |
| | |
| | |
| | |
| | |
|_____|___________|

Those are supposed to be tables, the boxes are.
But the third box is always under the other two...why?
Code Problems is for BYOND code, period. Moved.

Lummox JR
I'd make it all one table with div tags in it. It'd be much easier to do that. I'd also use a div tag around madsic.bmp picture. For the table, I'd give the columns fixed, but fluid lengths. You can do this by using percentages in td width.

Another thing, you should incorporate some CSS onto that page to design it. It'd be much easier, especially if you're going to use the same layout for every page. I for one like to keep websites with a constant theme for every page.
Dead_Demon wrote:
background='darkblue.bmp'
img src='madsic.bmp'

No use BMP on web. Use PNG.
Dead_Demon wrote:
The page is supposed to look like this -
|-----------------|
|-----------------|
| | | | |
| | | | |
| | | | |
|_|_____|_____|___|

Those are supposed to be tables, the boxes are.
But the third box is always under the other two...why?

mostly because the table layout was futzed badly. i've stripped out the stuff not needed. here is an example that will give you the above layout:
...
<body>
<table border="1" width="500">
<tr>
<td width="300">image here</td>
</tr>
</table>
<table border="4" width="500">
<tr>
<td bgcolor="#AAAAFF" width="50">
CONCERT INFO OR SUMTHIN
</td>
<td width="250">
INFO
</td>
<td bgcolor="#AAAAFF" width ="150">
UPDATES
</td>
<td width="50">
LINKS, SPONSORS, ETC..
</td>
</tr>
</table>
</body>
...


you will need to change the sizes ofthe table cells to your liking of course.
In response to Crispy
Crispy wrote:
Dead_Demon wrote:
background='darkblue.bmp'
img src='madsic.bmp'

No use BMP on web. Use PNG.

no side-tracking the request for help with 'soapbox' righteousness. try actually *helping* to solve the problem first. then harp on the minor issues like his choice of image format later.

In response to digitalmouse
I think his choice of BMP format is major. It's a bandwidth consumer, bad for the dialup user and high-speed user alike, and can cost him more money to keep up. I think the layout is the minor problem.
In response to CaptFalcon33035
no, the layout was the reason behind the post to begin with. his choice of image format, while improper for the web, was not what he was asking help on.

we are not helping anyone by pointing fingers with 'waaa! you use wrong format! u suxxor!'-type commentary. more than likely that either scares the guy off, or he returns with a counter-retort that begins a flame.

solve the problem first, *then* rag on his choice of image format.
In response to digitalmouse
digitalmouse wrote:
no, the layout was the reason behind the post to begin with. his choice of image format, while improper for the web, was not what he was asking help on.

You are right there, but I still think the layout was a minor problem. It's a matter of opinion.
In response to digitalmouse
You're quite right, I should have attended to the question before mentioning that problem (though it did need to be said). My apologies.
In response to digitalmouse
Thanks, Digital. :)
In response to CaptFalcon33035
CaptFalcon33035 babbled:
You are right there, but I still think the layout was a minor problem. It's a matter of opinion.

gah! are you trying to be a troll deliberately?

hello brainstem? the layout was the problem that was requested in the thread to begin with! opinion doesn't enter into it at that point.

anything else (his bad choice of image format, his mix of single or double (or no) quotes, his choice of using deprecated tags, etc. - the list is fairly long with all the things wrong with his layout) is secondary to the thread's topic, end of story, do not pass GO, do not collect $200, *buzz* wrong- but thanks for playing!
Heh, think tables are frustrating? Wait until you view your DIV-based website in IE... You'll be pulling out your hair if you use W3C standards.
In response to digitalmouse
digitalmouse wrote:
his choice of using deprecated <tt> tags

If you are referring to the <tt> tag being deprecated(being what I would assume as you included it without closing it, dispelling belief in its use as an element of emphasis but rather implying that you merely forgot to include it in such a way that it would display as <tt> rather than emphasizing your text), then I would like to know what you're looking at! As can be viewed clearly from W3Schools and the W3C, the <tt> tag is indeed not deprecated. In fact, the only deprecated tag I recall seeing was his use of </center>, of which he alternatively broke the web standards by providing no opening tag.

On the other hand, he did resort to miscompliance elsewhere, and such cases were numerous in quantity. Again referring to the W3C, you may note that many attributes, such as background, bgcolor and width(<td>), are indeed deprecated. Beyond those are syntactical errors and miscompliances in such high quantity that I dare not delve into.

Hiead
In response to digitalmouse
Blah whatever dude. Just because his primary problem was the layout does not mean that the image format he wanted to use was not major. Y'know, I'm pretty sure he fixed his layout. Why is it such a crime that someone suggest he use a better image format? It should have just been left alone.

By the way, I've been meaning to confront you about some message thing that would show up everytime I tried to post talking about suggesting that that dude was Hikato is roughage at best, or whatever. How was it "roughage"? It was a simple question at best.
In response to CaptFalcon33035
CaptFalcon33035 wrote:
By the way, I've been meaning to confront you about some message thing that would show up everytime I tried to post talking about suggesting that that dude was Hikato is roughage at best, or whatever. How was it "roughage"? It was a simple question at best.

If you wish to discuss moderation issues, please contact the moderator in question privately or take it to the support form. The forums are not the place for it. Thanks.
In response to Crispy
Well, I'd love to. It was an issue from way back, but I don't know where digi hangs out.