|
Posted by dorayme on 12/22/06 21:50
In article <slrneon3pr.bl7.spamspam@bowser.marioworld>,
Ben C <spamspam@spam.eggs> wrote:
> On 2006-12-21, -Lost <spam_ninjaREMOVEME@REMOVEMEcomcast.net> wrote:
> >>>> Well, I don't design a lot of websites, but it seems to me that
> >>>> absolute positioning is better for this than floats.
> >>>>
> >>>> This way they'll always run right to the edge and never jump down:
> >>>>
> >>>> <style type="text/css">
> >>>> div
> >>>>
> >
> > Say what? In what browser does that work? Your code (all of it)
> > would create three *floating* DIVs. That is to say they do not reach
> > from one side to the other.
>
> Which code? The example HTML, or what you reconstruct from my
> abbreviated description of the alternative using floats?
>
> > In Internet Explorer 6 they are barely 30px wide. All positioned
> > elements should have a width specified if I remember correctly.
>
> Not necessarily, in many circumstances where leave the width as auto you
> get the "shrink-to-fit" width (which you also get for floats with auto
> width). Sometimes this is just what you want.
>
> In any case, as demonstrated, you can set left and right but not width.
>
> You may be right that some or all of this doesn't works in IE6, I don't
> know, I haven't tried it.
I tried Ben C's suggestions and played about with it (I adapted
it to the OP's page) and it worked fine as intended by Ben. There
was a restrictive height in it (to fit in with the OP desires).
Remove this restriction and complications come in re the look of
column lengths, borders. Which will be fun when I adapt it to
suit me (I am wanting to have at least one site that uses
absolute for the operation of the three cols but no fixed height
- just to add variety to my stable).
Ben, you owe it to the group to get an old PC and Windows to see
what is going on. You have been so helpful to so many people that
it is unfair to leave them dangling when it comes to the IE
browsers that almost seem to be the overwhelming choice of all
not on alt.html. Please go to eBay today and pick one up for a
song, turn it on just occasionally. Like me - feelings of guilt
that I have not for a while...<g>
--
dorayme
Navigation:
[Reply to this message]
|