|
Posted by Beauregard T. Shagnasty on 11/02/61 11:55
Cerebral Believer wrote:
> "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> wrote in message
> news:8NODg.245157$mF2.26138@bgtnsc04-news.ops.worldnet.att.net...
>> Cerebral Believer wrote:
>>
>>> I have chosen to make a basic template for a website I am creating,
>>> using a seriries of tables to control the layout of the page. <snip>
>>
>> Looks like you want a three column with footer. Look, no tables, and
>> no spacers necessary:
>> http://benmeadowcroft.com/webdev/csstemplates/3-column-with-footer.html
>
> Beauregard,
>
> I like the way the page you referenced works. I am a relative
> beginner in this, and am wondering how I can achieve exactly the same
> effects using CSS to format pages, rather than tables - if that makes
> any sense. I mean, if I have several objects on a page each holding
> text/images etc, and someone resizes text in their browser, or
> resizes their browser window, how can I form my HTML & CSS to ensure
> that the objects resize and move in proportion and relatively?
Put your images/text in paragraphs. You do not need table cells to
display images and text.
<p>This is some text.</p>
<p>Here is an image. <img src="..." ...></p>
> Using a table, this is fairly easy as long as the formatting isn't
> complicated, but then using <div> & CSS I assume, it all seems a lot
> more difficult, especially if yo uhave to code for several browsers
> because on incosistent interpretation of the code.
It is not more difficult (I think it is much *less* difficult), it is
just ... different.
S'far as I know, all modern browsers interpret basic CSS correctly. Note
that IE is not a modern browser, marches to its own drum, but if you
don't use really fancy stuff, it will work fine.
Look at this site of mine. Lots of text, a number of images, and the
only tables on the whole site contain .. what they were designed for ..
tabular data.
http://countryrode.com/
--
-bts
-Warning: I brake for lawn deer
Navigation:
[Reply to this message]
|