Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

A reliable 3-column layout with CSS

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Next:  Client goes independent  
Author Message
www

External


Since: Jun 29, 2003
Posts: 720



(Msg. 1) Posted: Mon Nov 17, 2003 12:33 pm
Post subject: A reliable 3-column layout with CSS
Archived from groups: alt>www>webmaster (more info?)

The following example, adapted from one in the book "Cascading Style
Sheets The Designer's Edge" by Molly E. Holzschlag, published by Sybex
(ISBN 0-7821-4184-6, is a reliable and stable three-column layout
using CSS.



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>

<style type="text/css">

#left {
  position: absolute;
  left:10px;
  top: 50px;
  width: 100px;
}

#center {
  margin-top: 50px;
  margin-left: 200px;
  margin-right: 300px;
}

#right {
  position: absolute;
  right: 10px;
  top: 50px;
}
</style>

</head>

<body>

<div id="left">
......
</div>

<div id="center">
....
</div>

<div id="right">
....
</div>

</body>
</html>


Matt Probert<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
spamblocked1

External


Since: Sep 19, 2003
Posts: 3499



(Msg. 2) Posted: Mon Nov 17, 2003 12:39 pm
Post subject: Re: A reliable 3-column layout with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matt Probert wrote:
 > The following example,

very interesting - thanks. I'll check it through when I get a minute.

--
William Tasso - <a style='text-decoration: underline;' href="http://WilliamTasso.com" target="_blank">http://WilliamTasso.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
user162

External


Since: Jul 31, 2003
Posts: 67



(Msg. 3) Posted: Mon Nov 17, 2003 12:43 pm
Post subject: Re: A reliable 3-column layout with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Matt Probert" <www DeleteThis @probertencyclopaedia.com> wrote in message
news:3fb894af.9659250@news.ntlworld.com...
 > The following example, adapted from one in the book "Cascading Style
 > Sheets The Designer's Edge" by Molly E. Holzschlag, published by Sybex
 > (ISBN 0-7821-4184-6, is a reliable and stable three-column layout
 > using CSS.

<snipcode/>

Not, IMHO a good example.

Hard coded pixel sizes for the columns. What if I change my font size. The
width of the colums should be specified in ems.

And why, these days, code to the transitional DTD?

Cheers
Richard.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
technohippie1

External


Since: Sep 26, 2003
Posts: 407



(Msg. 4) Posted: Mon Nov 17, 2003 2:27 pm
Post subject: Re: A reliable 3-column layout with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matt Probert wrote:

 > The following example, adapted from one in the book "Cascading Style
 > Sheets The Designer's Edge" by Molly E. Holzschlag, published by Sybex
 > (ISBN 0-7821-4184-6, is a reliable and stable three-column layout
 > using CSS.

heh ... got one for 2 or 3 col with a top box that will display
correctly in IE without goofy fixes that I don't fully understand so I'd
rather not use???

huh???

Judy<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
www

External


Since: Jun 29, 2003
Posts: 720



(Msg. 5) Posted: Mon Nov 17, 2003 3:46 pm
Post subject: Re: A reliable 3-column layout with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 17 Nov 2003 09:43:23 GMT "rf" <making.it.up.TakeThisOut@the.time> broke
off from drinking a cup of tea at BigPond Internet Services to write:

 ><snipcode/>
 >
 >Not, IMHO a good example.

Then post a good example! I liked it, it works and it's simple!

 >
 >Hard coded pixel sizes for the columns. What if I change my font size.

Try it and see what happens. It resizes for me okay (within reasonable
limits).

 >The width of the colums should be specified in ems.

Or you could use percentages. This is just a simple example, not a
full-blown commercial web site.


 >And why, these days, code to the transitional DTD?

You mean the doctype? Just a bit of code I cut and paste. As I said,
this is an example of a stable three-column layout using CSS.

Matt<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
www

External


Since: Jun 29, 2003
Posts: 720



(Msg. 6) Posted: Mon Nov 17, 2003 3:48 pm
Post subject: Re: A reliable 3-column layout with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 17 Nov 2003 09:39:40 -0000 "William Tasso"
<SpamBlocked.TakeThisOut@tbdata.com> broke off from drinking a cup of tea at href=" <a style='text-decoration: underline;' href="http://www.WilliamTasso.com/" target="_blank">http://www.WilliamTasso.com/"> William Tasso </a> to write:

 >Matt Probert wrote:
  >> The following example,
 >
 >very interesting - thanks. I'll check it through when I get a minute.
 >

<g> You guessed!

I thought it might be useful to other people as well, and that book is
really worth looking at.

Matt<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
spamblock

External


Since: Jul 01, 2003
Posts: 82



(Msg. 7) Posted: Mon Nov 17, 2003 8:49 pm
Post subject: Re: A reliable 3-column layout with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matt Probert wrote:

 > The following example, adapted from one in the book "Cascading Style
 > Sheets The Designer's Edge" by Molly E. Holzschlag, published by Sybex
 > (ISBN 0-7821-4184-6, is a reliable and stable three-column layout
 > using CSS.

Hmmm. Haven't considered getting that book yet. Came out the same time as
"Eric Meyer on CSS".

And:
<a style='text-decoration: underline;' href="http://css-discuss.incutio.com/?page=ThreeColumnLayouts" target="_blank">http://css-discuss.incutio.com/?page=ThreeColumnLayouts</a>



--
Iso.
FAQs: <a style='text-decoration: underline;' href="http://html-faq.com" target="_blank">http://html-faq.com</a> <a style='text-decoration: underline;' href="http://alt-html.org" target="_blank">http://alt-html.org</a> <a style='text-decoration: underline;' href="http://allmyfaqs.com/" target="_blank">http://allmyfaqs.com/</a>
Recommended Hosting: <a style='text-decoration: underline;' href="http://www.affordablehost.com/" target="_blank">http://www.affordablehost.com/</a>
Web Design Tutorial: <a style='text-decoration: underline;' href="http://www.sitepoint.com/article/1010" target="_blank">http://www.sitepoint.com/article/1010</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
spamblocked1

External


Since: Sep 19, 2003
Posts: 3499



(Msg. 8) Posted: Tue Nov 18, 2003 4:25 am
Post subject: Re: A reliable 3-column layout with CSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

TechnoHippie wrote:
 > Matt Probert wrote:
 >
  >> The following example, adapted from one in the book "Cascading Style
  >> Sheets The Designer's Edge" by Molly E. Holzschlag, published by
  >> Sybex (ISBN 0-7821-4184-6, is a reliable and stable three-column
  >> layout using CSS.
 >
 > heh ... got one for 2 or 3 col with a top box that will display
 > correctly in IE without goofy fixes that I don't fully understand so
 > I'd rather not use???

two columns + top-box - see sig for trivial implementation

slightly moded so navigation markup is after content: <a style='text-decoration: underline;' href="http://apelme.co.uk" target="_blank">http://apelme.co.uk</a>
and <a style='text-decoration: underline;' href="http://newdirect.co.uk" target="_blank">http://newdirect.co.uk</a>

--
William Tasso - <a style='text-decoration: underline;' href="http://WilliamTasso.com" target="_blank">http://WilliamTasso.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: A reliable 3-column layout with CSS 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]