How would I go about this layout

Associate
Joined
6 Feb 2003
Posts
1,105
Location
London
what I basically want is like those sites where they have a small interface directly in the middle of the page - im not sure if this is done through frames/iframes or whatever. Behold the ascii art..

Code:
_____________
|            |
|      ___   |
|     |   |  |
|     |___|  |
|            |
|____________|

:D
 
its done by using IFrames with table cells. You use tables to create your layout positioning then you can use Iframes within the cells. I use that for my site www.richard1973.co.uk (site is currently down today it seems, i just tried and i'm at work, grr at ntl hosting).
 
richard1973 said:
its done by using IFrames with table cells. You use tables to create your layout positioning then you can use Iframes within the cells. I use that for my site www.richard1973.co.uk (site is currently down today it seems, i just tried and i'm at work, grr at ntl hosting).

Perhaps that does work, but its possibly the worst way to design a layout.

Tables = bad, iframes = bad, so tables and iframes =...well you can imagine.

A relative positioned DIV will allow you to have a DIV in the centre of a larger DIV with a lot less crap code surrounding it all.
 
nothing wrong with tables, they display correct across all browsers and have been in existance since html began (probably). tables and iframes again for me work fine on netscape and IE with positioning, I've never had any problems. Sure tables do produce quite a bit of code once you start nesting them but they are reliable.

I'll have a look into DIV tags though out of curiosity as I've not used them before.
 
Nothing is wrong with tables for displaying tabular content, not for structuring layouts.

And they may have been in HTML for a long time, and probably will be for a long time to come. They have their place for showing football tables and recipes. Not for designing your entire website in.

Todays web standards revolve around xhtml and css based layouts, for clean accessibility, reliability and flexibility, something that tables simply cannot offer.
 
Back
Top Bottom