Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > three columns with CSS

Reply
Thread Tools

three columns with CSS

 
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      01-28-2008
Bazley wrote:

> CSS is unbelievably unwieldy.


Only until you develop the mindset to use it.

Then you will wonder why you waited so long...

--
-bts
-Friends don't let friends drive Vista
 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      01-29-2008

"rf" <> wrote in message
news:Wwsnj.8401$...
>
> "A-OK-SITE" <> wrote in message
> news:583db7eb-f12b-424e-85bb-...


>> Why would you care,

>
> I would care because you are trying to palm off this pdf as usefull
> information to the OP and to this newsgroup at large.


Hmmm. I must have offended Mr Site. He appears to have removed his posts in
this thread from googles archive, picked up his bat and ball and gone home.

Little does he know that these posts remain on usenet servers around the
world for months to come

--
Richard.


 
Reply With Quote
 
 
 
 
usenet.sucks@gmail.com
Guest
Posts: n/a
 
      01-29-2008
On Jan 28, 6:24 pm, "rf" <r...@invalid.com> wrote:
> "rf" <r...@invalid.com> wrote in message
>
> news:Wwsnj.8401$...
>
>
>
> > "A-OK-SITE" <aoksi...@gmail.com> wrote in message
> >news:583db7eb-f12b-424e-85bb-...
> >> Why would you care,

>
> > I would care because you are trying to palm off this pdf as usefull
> > information to the OP and to this newsgroup at large.

>
> Hmmm. I must have offended Mr Site. He appears to have removed his posts in
> this thread from googles archive, picked up his bat and ball and gone home.
>
> Little does he know that these posts remain on usenet servers around the
> world for months to come
>
> --
> Richard.


Mr. Site thinks you are a stupid prick. He also thinks usenet sucks.

usenet.sucks
 
Reply With Quote
 
asdf
Guest
Posts: n/a
 
      01-29-2008

"Bazley" <> wrote in message
news:e06cf3dc-7a01-4ead-89ae-...
> CSS is unbelievably unwieldy. All I want to do is have a page with
> three columns. The left and right columns should be fixed width and
> the central column should adjust its width to fill in the remaining
> space. Such a simple concept is, I believe, virtually impossible to
> code. If anyone can do it I would be very impressed.


Ok, here goes....

I've given the center column a background colour, and the two outer columns
a border so you can see how it fills the space. You need to play around with
margins and paddings to suit your application, but this should point you in
the general direction ok...

Two minute job:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>3 Column CSS layout</title>
<style type="text/css">
<!--

#leftcol, #rightcol {
width: 150px;
border: 1px solid #E0DFE3;
}
#leftcol {
float: left;
}
#rightcol {
float: right;
}
#centercol {
margin-left: 150px;
margin-right: 150px;
background-color: #E0DFE3;
border: 1px solid #E0DFE3;
}
-->
</style>
</head>

<body>
<div id="leftcol">Here's your left column </div>

<div id="rightcol">Here's the right column</div>
<div id="centercol">Here's the middle bit.</div>
</body>
</html>


 
Reply With Quote
 
Nik Coughlin
Guest
Posts: n/a
 
      01-29-2008
"Jukka K. Korpela" <> wrote in message
news:%Psnj.288428$ ti.fi...
> Scripsit Nik Coughlin:
>
>> "Bazley" <> wrote in message
>> news:e06cf3dc-7a01-4ead-89ae-...
>>> CSS is unbelievably unwieldy. All I want to do is have a page with
>>> three columns. The left and right columns should be fixed width and
>>> the central column should adjust its width to fill in the remaining
>>> space. Such a simple concept is, I believe, virtually impossible to
>>> code. If anyone can do it I would be very impressed.

>>
>> http://www.nrkn.com/3ColEqualPositioned/

>
> I think the page nicely demonstrates what Bazley wrote, at least the
> "unwieldy" part. It uses fairly complicated tricks to achieve a simple
> layout that virtually anyone familiar with HTML basics could code in a
> minute using a simple HTML table. Which approach is easier to apply?
> Easier for maintenance? Easier to understand when you're reading someone
> else's code?


That's true Jukka, if a table is easier if you want equal height columns.
However, non-equal height columns of the type Bazley needs are trivial. I
intended to point that out as well, but I got distracted by work so ended up
leaving my post as above.

> (Besides, the page cheats by using IE-specific quite nonstandard CSS
> features, which are effectively kind of client-side scripting.)


Yes, yes it does. Unfortunate that.

 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      01-29-2008
A-OK-SITE <> morphed to and
wrote:

> Mr. Site thinks you are a stupid prick. He also thinks usenet sucks.
>
> usenet.sucks


NNTP-Posting-Host: 70.233.163.11

Google Groups sucks a whole lot more...

--
-bts
-Friends don't let friends drive Vista
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      01-29-2008
In article <7nunj.8451$>,
"rf" <> wrote:

>
> "rf" <> wrote in message
> news:Wwsnj.8401$...
> >
> > "A-OK-SITE" <> wrote in message
> > news:583db7eb-f12b-424e-85bb-...

>
> >> Why would you care,

> >
> > I would care because you are trying to palm off this pdf as usefull
> > information to the OP and to this newsgroup at large.

>
> Hmmm. I must have offended Mr Site. He appears to have removed his posts in
> this thread from googles archive, picked up his bat and ball and gone home.
>
> Little does he know that these posts remain on usenet servers around the
> world for months to come


Well that is good because I was getting pretty tired of his
idiotic attacks on people he did not understand.

He was about to be introduced to Jerry Stuckle in my killfile.
And my killfile is not like any other. I have a vast store of
personal experience about these and have found loopholes and
flaws in their design that have enabled me to settle in very
comfortably, to study quietly with all the things one needs for
solitary and productive reflection in them all.

Armed with such experience, I designed my own kf with no
loopholes, no comforts, and terrible plumbing.

--
dorayme
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      01-29-2008

"dorayme" <> wrote in message
news:doraymeRidThis-...
> In article <7nunj.8451$>,
> "rf" <> wrote:
>
>>
>> "rf" <> wrote in message
>> news:Wwsnj.8401$...
>> >
>> > "A-OK-SITE" <> wrote in message
>> > news:583db7eb-f12b-424e-85bb-...

>>
>> >> Why would you care,
>> >
>> > I would care because you are trying to palm off this pdf as usefull
>> > information to the OP and to this newsgroup at large.

>>
>> Hmmm. I must have offended Mr Site. He appears to have removed his posts
>> in
>> this thread from googles archive, picked up his bat and ball and gone
>> home.
>>
>> Little does he know that these posts remain on usenet servers around the
>> world for months to come

>
> Well that is good because I was getting pretty tired of his
> idiotic attacks on people he did not understand.


I had only started to notice him before he had a go at me for having a go at
his pdf.

Just noticed that he has taken his list of pdfs down, including a page that
was about C++. Must have been really cranky, especially to morf into the
usenet.sucks troll. Can you see him stalking me across usenet?

That actually bears clarifying. A-OK-SITE (aka ) has
morfed into .

--
Richard.


 
Reply With Quote
 
owo.dod@gmail.com
Guest
Posts: n/a
 
      01-29-2008
On Jan 28, 8:01 pm, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> In article <7nunj.8451$421.4...@news-server.bigpond.net.au>,
>
>
>
> "rf" <r...@invalid.com> wrote:
>
> > "rf" <r...@invalid.com> wrote in message
> >news:Wwsnj.8401$...

>
> > > "A-OK-SITE" <aoksi...@gmail.com> wrote in message
> > >news:583db7eb-f12b-424e-85bb-...

>
> > >> Why would you care,

>
> > > I would care because you are trying to palm off this pdf as usefull
> > > information to the OP and to this newsgroup at large.

>
> > Hmmm. I must have offended Mr Site. He appears to have removed his posts in
> > this thread from googles archive, picked up his bat and ball and gone home.

>
> > Little does he know that these posts remain on usenet servers around the
> > world for months to come

>
> Well that is good because I was getting pretty tired of his
> idiotic attacks on people he did not understand.
>
> He was about to be introduced to Jerry Stuckle in my killfile.
> And my killfile is not like any other. I have a vast store of
> personal experience about these and have found loopholes and
> flaws in their design that have enabled me to settle in very
> comfortably, to study quietly with all the things one needs for
> solitary and productive reflection in them all.
>
> Armed with such experience, I designed my own kf with no
> loopholes, no comforts, and terrible plumbing.
>
> --
> dorayme


Kill files are for morons like you.
 
Reply With Quote
 
owo.dod@gmail.com
Guest
Posts: n/a
 
      01-29-2008
On Jan 28, 8:33 pm, "rf" <r...@invalid.com> wrote:
> "dorayme" <doraymeRidT...@optusnet.com.au> wrote in message
>
> news:doraymeRidThis-...
>
>
>
> > In article <7nunj.8451$421.4...@news-server.bigpond.net.au>,
> > "rf" <r...@invalid.com> wrote:

>
> >> "rf" <r...@invalid.com> wrote in message
> >>news:Wwsnj.8401$...

>
> >> > "A-OK-SITE" <aoksi...@gmail.com> wrote in message
> >> >news:583db7eb-f12b-424e-85bb-...

>
> >> >> Why would you care,

>
> >> > I would care because you are trying to palm off this pdf as usefull
> >> > information to the OP and to this newsgroup at large.

>
> >> Hmmm. I must have offended Mr Site. He appears to have removed his posts
> >> in
> >> this thread from googles archive, picked up his bat and ball and gone
> >> home.

>
> >> Little does he know that these posts remain on usenet servers around the
> >> world for months to come

>
> > Well that is good because I was getting pretty tired of his
> > idiotic attacks on people he did not understand.

>
> I had only started to notice him before he had a go at me for having a go at
> his pdf.
>
> Just noticed that he has taken his list of pdfs down, including a page that
> was about C++. Must have been really cranky, especially to morf into the
> usenet.sucks troll. Can you see him stalking me across usenet?
>
> That actually bears clarifying. A-OK-SITE (aka aoksi...@gmail.com) has
> morfed into usenet.su...@gmail.com.
>
> --
> Richard.


You ever think it is you with the problem. You seem to be a real punk.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Three Mobile --> Skype on three (Non-three [Symbian - Nokia] handsets) Harry Stottle UK VOIP 0 01-05-2010 08:59 AM
CSS Problem: How to combine three columns with round corner box? loudking HTML 1 06-04-2007 12:57 PM
Treeview with three columns Koen Hakvoort ASP .Net 1 01-06-2006 08:22 PM
CSS columns problem - faux columns don't work henrybranson@hotmail.com HTML 4 11-24-2005 10:05 AM
convert rows to columns and columns to rows helpful sql ASP .Net 0 05-19-2005 06:03 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57