HTML editing help

Status
Not open for further replies.

B'z-chan

Banned
Hi guys and gals. I'm trying to get a website up and running. My frist time not using a quick site tool. And i really am having a problem with tables. Thing is my tables come out funky. Instead of being right by each other they are on top of each other. I'm trying to line both tables under a picture.

Like this:
tables_html_tryingtodo.jpg


The white area between the picture and two tables representing a background. Thank you for you time. And thanks for helping me the noob.
 
I'm not sure what you're asking for. But if you want your page to look like what you have there on the picture, you should use Frames.

Here's a quicky I made. Try it out and see if it's what you want.

<html>
<head><title>Hello</title></head>

<!--This is the frames settings-->

<frameset rows="20%,*">
<frameset cols=100%>
<frame src="http://www.ign.com" frameborder=0 marginwidth=0>
</frameset>
<frameset cols="15%,*">
<frame src="http://www.ga-forum.com" frameborder=0 marginwidth=0>
<frame src="http://www.globeandmail.com" frameborder=0 marginwidth=0>
</frameset>

</html>
 
coding whatever you want to call it. Both of my tables sit on top of each other. Leaving no space between for the background.

PS i've done this before with tables, but long since forgot how too. And i hate frames, evil frames.
 
I've not messed much with frames as beerbelly did, but here's how you could get a similar look with nested tables.

Code:
<html>
<table border width=100%>
  <tr><td colspan=2>PICTURE HERE</td></tr>
  <tr>
     <td width=30%><table border>
       <tr><td>MENU HERE</td></tr>
       </table></td>
     <td width=70%><table border>
       <tr><td>CONTENT HERE</td></tr>
       </table></td>
  </tr>
</table>
</html>
 
demi said:
BE A MAN AND USE CSS

exactly what i was going to say... i really wouldnt use frames.



there is also no need for nested tables::

simple tables:

Code:
<table border width=100%>

     <tr>

          <td colspan=2>PICTURE HERE</td>

     </tr>

     <tr>

          <td width=30%>MENU HERE</td>

          <td width=70%>CONTENT HERE</td>

     </tr>

</table>

that should work.

dont forget to add the html, head, and body tags.


EDIT

http://www.webmonkey.com has several easy to use html tutorials.

:: for tables:: http://webmonkey.wired.com/webmonkey/96/47/index3a.html
 
Leaving no space between for the background.

So you want space between the cells for the background? Try this:

<table width="300" border="0" cellspacing="5" cellpadding="0">
<tr>
<td width="300" colspan="2" bgcolor="#CCCCCC">Picture</td>
</tr>
<tr>
<td width="100" bgcolor="#CCCCCC">Menu</td>
<td width="200" bgcolor="#CCCCCC">Contnet</td>
</tr>
</table>

Edit: Whoops, I miss read you wanted NO space. Make sure you set cellspacing to 0 then.
 
Do you have 3 tables? Because you only need 1.

There is no way you can make Picture a table, Menu a table and Content a menu. This seems to be your problem, thats how you understand your noob Q.

Take a look at what ThirstyFly wrote, thats one table with cells that give you the shape you want. You can put tables inside the cells if that what you want, specialy for the menu.

Anyone know a good CSS tutorial?
 
beerbelly said:
I'm not sure what you're asking for. But if you want your page to look like what you have there on the picture, you should use Frames.

I realise this is a first offence, so I'm going to go easy on you this time.

But if you recommend use of frames on this forum again without an extremely well-made case for why they're necessary, then you will be banned.

It's for the good of humanity.
 
iapetus said:
Nice in theory, though only in practice if you can guarantee nobody with an old browser will want to see the page. CSS makes Netscape 4 explode. :)


so true, also well said on the frames thing...ugh frames.


You just need to mess around with the cell spacing in your table, as someone already said. But im repeating it in the hope that you dont resort to frames.
 
iapetus said:
Nice in theory, though only in practice if you can guarantee nobody with an old browser will want to see the page. CSS makes Netscape 4 explode. :)


People who use browsers as old as that make my head explode. PISS OFF WANKERS I SAY. EITHER SHAPE UP OR SHIP OUT.
 
iapetus said:
CSS makes Netscape 4 explode. :)
People who keep making code for Netscape 4 ensure that people keep using Netscape 4. I think it's less than 0.5% of typical browsing audience nowadays anyway.
 
Status
Not open for further replies.
Top Bottom