Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Floating

 
Thread Tools Search this Thread
Old 08-18-2006, 06:11 AM   #1
Default Floating


Hello,
I have one <div> on the left which is floating and I want another <div> to
be positioned on its right.
The problem is that when I resize the window the margins of the <div>
container on the right touch the container on the left
(do you talk about collapsing margins, by the way?)
The <div> on the left is used for a menu and the <div> on the right for a
list of content or table of contents.
All that on the page
https://www.scaiecat-spa-gigi.com/it/svezia.html
If I use clear:left;
the list of contents is placed after the menu but I want it to be positioned
on its right when the window is large.


--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/index.php
ä½*在什么时候早é¥*了 ?






Luigi Donatello Asero
  Reply With Quote
Old 08-18-2006, 10:43 AM   #2
dorayme
 
Posts: n/a
Default Re: Floating

In article <QZbFg.13606$>,
"Luigi Donatello Asero" <> wrote:

> Hello,
> I have one <div> on the left which is floating and I want another <div> to
> be positioned on its right.
> The problem is that when I resize the window the margins of the <div>
> container on the right touch the container on the left
> (do you talk about collapsing margins, by the way?)
> The <div> on the left is used for a menu and the <div> on the right for a
> list of content or table of contents.
> All that on the page
> https://www.scaiecat-spa-gigi.com/it/svezia.html
> If I use clear:left;
> the list of contents is placed after the menu but I want it to be positioned
> on its right when the window is large.


Why would you think to use clear when what you want is precisely
the very opposite? Do you use things that have names and when
there is any sort of problem, you look around and see what other
names are usually mentioned in association with the things you
are having trouble with and just think, I will try to introduce
these other things, who knows what they do, I might get lucky.

There is an extremely fine analogy going around alt.html at the
moment likening making a website to baking a cake. You hear cooks
go on about "a pinch of salt" with so many cakes; you are having
trouble with a cake; you haul the wreck out and make a few holes
and introduce salt and stick it back in the oven... Why not? It
was mentioned in association with cakes.

If you want the div on the right not to touch the div floated on
the left, you need to decide if it is going to have a width,
perhaps best. And maybe margin and padding. You then have to add
these up. Then probably best to give the right div a left margin
sufficient to contain the float and some... And make with a few
margins and padding on it till you get what you want. Play in FF
with its extensions which let you see the effect of experiments
on the css immedietely. But you can give IE special instructions
inside certain hacks.

But IE will send you crazy. However you can give IE special
instructions. But first things first.

--
dorayme
  Reply With Quote
Old 08-18-2006, 04:21 PM   #3
Luigi Donatello Asero
 
Posts: n/a
Default Re: Floating


"dorayme" <> skrev i meddelandet
news:doraymeRidThis-...
> In article <QZbFg.13606$>,
> "Luigi Donatello Asero" <> wrote:
>
> > Hello,
> > I have one <div> on the left which is floating and I want another <div>

to
> > be positioned on its right.
> > The problem is that when I resize the window the margins of the <div>
> > container on the right touch the container on the left
> > (do you talk about collapsing margins, by the way?)
> > The <div> on the left is used for a menu and the <div> on the right for

a
> > list of content or table of contents.
> > All that on the page
> > https://www.scaiecat-spa-gigi.com/it/svezia.html
> > If I use clear:left;
> > the list of contents is placed after the menu but I want it to be

positioned
> > on its right when the window is large.

>
> Why would you think to use clear when what you want is precisely
> the very opposite? Do you use things that have names and when
> there is any sort of problem, you look around and see what other
> names are usually mentioned in association with the things you
> are having trouble with and just think, I will try to introduce
> these other things, who knows what they do, I might get lucky.
>
> There is an extremely fine analogy going around alt.html at the
> moment likening making a website to baking a cake. You hear cooks
> go on about "a pinch of salt" with so many cakes; you are having
> trouble with a cake; you haul the wreck out and make a few holes
> and introduce salt and stick it back in the oven... Why not?


Exactly, why not?
You find out things by experimenting and as long as you do not experiment
dangerous things, it is safe, isn´t it?
It
> was mentioned in association with cakes.



> If you want the div on the right not to touch the div floated on
> the left, you need to decide if it is going to have a width,
> perhaps best. And maybe margin and padding. You then have to add
> these up. Then probably best to give the right div a left margin
> sufficient to contain the float and some... And make with a few
> margins and padding on it till you get what you want. Play in FF
> with its extensions which let you see the effect of experiments
> on the css immedietely.

I think that I had already tried it.

But you can give IE special instructions
> inside certain hacks.
>
> But IE will send you crazy. However you can give IE special
> instructions. But first things first.

I have not tested it only only on IE.
it seems ok on Opera and Firefox as well.



--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it/svezia.html
ä½*在什么时候早é¥*了 ?



  Reply With Quote
Old 08-19-2006, 01:45 AM   #4
dorayme
 
Posts: n/a
Default Re: Floating

In article <oWkFg.13633$>,
"Luigi Donatello Asero" <> wrote:

> "dorayme" <> skrev i meddelandet
> news:doraymeRidThis-...
> > In article <QZbFg.13606$>,
> > "Luigi Donatello Asero" <> wrote:


> > There is an extremely fine analogy going around alt.html at the
> > moment likening making a website to baking a cake. You hear cooks
> > go on about "a pinch of salt" with so many cakes; you are having
> > trouble with a cake; you haul the wreck out and make a few holes
> > and introduce salt and stick it back in the oven... Why not?

>
> Exactly, why not?


Because your chances of getting it right if you are just trying
"clear" without finding out what it means from the specs are
slim. And your chances of making an impending disaster of a cake
better by hauling it out of the oven and shoving salt in it
because you have heard the word salt in association with cakes in
the past are even slimmer.

How slim is this latter? Let me tell you: slimmer than the
chances that you will ever acknowledge the meaning and
implications of anything said here without misunderstanding over
50% of it.

But it's ok. Eliza. It is not your fault. Where is that original
Basic programmer...?

--
dorayme
  Reply With Quote
Old 08-19-2006, 05:59 PM   #5
Luigi Donatello Asero
 
Posts: n/a
Default Re: Floating


"dorayme" <> skrev i meddelandet
news:doraymeRidThis-...
> In article <oWkFg.13633$>,
> "Luigi Donatello Asero" <> wrote:
>
> > "dorayme" <> skrev i meddelandet
> > news:doraymeRidThis-...
> > > In article <QZbFg.13606$>,
> > > "Luigi Donatello Asero" <> wrote:

>
> > > There is an extremely fine analogy going around alt.html at the
> > > moment likening making a website to baking a cake. You hear cooks
> > > go on about "a pinch of salt" with so many cakes; you are having
> > > trouble with a cake; you haul the wreck out and make a few holes
> > > and introduce salt and stick it back in the oven... Why not?

> >
> > Exactly, why not?

>
> Because your chances of getting it right if you are just trying
> "clear" without finding out what it means from the specs are
> slim. And your chances of making an impending disaster of a cake
> better by hauling it out of the oven and shoving salt in it
> because you have heard the word salt in association with cakes in
> the past are even slimmer.
>
> How slim is this latter? Let me tell you: slimmer than the
> chances that you will ever acknowledge the meaning and
> implications of anything said here without misunderstanding over
> 50% of it.
>
> But it's ok. Eliza. It is not your fault. Where is that original
> Basic programmer...?


I do not share your opinion.
You do not need send any e-mail, ok
(unless you are really interested in something concerning my website and/or
one-man business)

--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/index.php
ä½*在什么时候早é¥*了 ?

  Reply With Quote
Old 08-19-2006, 06:09 PM   #6
Jonathan N. Little
 
Posts: n/a
Default Re: Floating

Luigi Donatello Asero wrote:
<snip>
> I do not share your opinion.
> You do not need send any e-mail, ok
> (unless you are really interested in something concerning my website and/or
> one-man business)
>


You only sell men singly? Aren't they cheaper by the dozen?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Reply With Quote
Old 08-19-2006, 06:47 PM   #7
Neredbojias
 
Posts: n/a
Default Re: Floating

To further the education of mankind, "Jonathan N. Little"
<> vouchsafed:

> Luigi Donatello Asero wrote:
> <snip>
>> I do not share your opinion.
>> You do not need send any e-mail, ok
>> (unless you are really interested in something concerning my website
>> and/or one-man business)
>>

>
> You only sell men singly? Aren't they cheaper by the dozen?


Hell, I'd _give_ myself away under the right circumstances...

--
Neredbojias
Infinity has its limits.
  Reply With Quote
Old 08-19-2006, 11:33 PM   #8
dorayme
 
Posts: n/a
Default Re: Floating

In article <HrHFg.13690$>,
"Luigi Donatello Asero" <> wrote:

> > "Luigi Donatello Asero" <> wrote:

>
> I do not share your opinion.
> You do not need send any e-mail, ok
> (unless you are really interested in something concerning my website and/or
> one-man business)


I have never ever sent you an email. I am intensely interested in
your one-man business. Sorry if I was rude to you old boy...
Don't take it too badly...

--
dorayme
  Reply With Quote
Old 08-19-2006, 11:34 PM   #9
dorayme
 
Posts: n/a
Default Re: Floating

In article <de2e8$44e7459c$40cba7a8$>,
"Jonathan N. Little" <> wrote:

> Luigi Donatello Asero wrote:
> <snip>
> > I do not share your opinion.
> > You do not need send any e-mail, ok
> > (unless you are really interested in something concerning my website and/or
> > one-man business)
> >

>
> You only sell men singly? Aren't they cheaper by the dozen?


!

--
dorayme
  Reply With Quote
Old 08-20-2006, 04:22 PM   #10
Luigi Donatello Asero
 
Posts: n/a
Default Re: Floating


"dorayme" <> skrev i meddelandet
news:doraymeRidThis-...
> In article <HrHFg.13690$>,
> "Luigi Donatello Asero" <> wrote:
>
> > > "Luigi Donatello Asero" <> wrote:

> >
> > I do not share your opinion.
> > You do not need send any e-mail, ok
> > (unless you are really interested in something concerning my website

and/or
> > one-man business)

>
> I have never ever sent you an email.

Fine.


I am intensely interested in
> your one-man business.

In which way?


--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it/svezia.html
ä½*是æ„大利人马 ?



  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump