![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
|
|
#3 |
|
Posts: n/a
|
"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 ä½*在什么时候早é¥*了 ? |
|
|
|
#4 |
|
Posts: n/a
|
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 |
|
|
|
#5 |
|
Posts: n/a
|
"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 ä½*在什么时候早é¥*了 ? |
|
|
|
#6 |
|
Posts: n/a
|
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 |
|
|
|
#7 |
|
Posts: n/a
|
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. |
|
|
|
#8 |
|
Posts: n/a
|
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 |
|
|
|
#9 |
|
Posts: n/a
|
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 |
|
|
|
#10 |
|
Posts: n/a
|
"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 ä½*是æ„大利人马 ? |
|