HighDots Forums  

Problem with margins

alt.html alt.html


Discuss Problem with margins in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luigi Donatello Asero
 
Posts: n/a

Default Problem with margins - 09-09-2006 , 05:59 PM






Hello,
I do not want the <div> with pictures to touch the <div> with contents about
Sweden on the right on the page in the signature.
I tried to set some margins on the external cascading style sheet but it did
not work for some reason.
I do not want it to use "clear" either.
Any suggestion?

--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it/svezia.html
昨天下午天气真好吗 ?




Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 06:40 PM






In article <pPGMg.15896$E02.6029 (AT) newsb (DOT) telia.net>,
"Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote:

Quote:
Hello,
I do not want the <div> with pictures to touch the <div> with contents about
Sweden on the right on the page in the signature.
I tried to set some margins on the external cascading style sheet but it did
not work for some reason.
I do not want it to use "clear" either.
Any suggestion?
Try

#posizione-geografica.subsubsubsection
{margin-left:60%;margin-right:.5em}


as a tactical solution. Then apply it to all the divs in that
col.

Seriously Luigi, this is the most complex, most convoluted css to
control a page that I have ever seen. I could not conceive of
ever remotely making anything like it because I would never be
able to maintain it. Its design appears to me to be almost wholly
tactical and not strategic. It is a recipe for a nightmare of
maintenence.

--
dorayme


Reply With Quote
  #3  
Old   
Luigi Donatello Asero
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 06:51 PM




"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> skrev i meddelandet
news:VcHMg.15403$QM6.2860 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net...
Quote:
Luigi Donatello Asero wrote:

I do not want the <div> with pictures to touch the <div> with contents
about Sweden on the right on the page in the signature. I tried to
set some margins on the external cascading style sheet but it did not
work for some reason. I do not want it to use "clear" either.
Any suggestion?

Correct your errors.

#foto-svezia-meridionale.subsubsection {float:left;
width: 25%;
min-width: 200px;
min.height: 200px;
border: thin silver solid;
margin-top:0,5em;
margin-left:0,5em;
margin-right:2,5em;
margin-bottom:0,5em;

See all those commas instead of decimal points (or whatever you call
them in Sweden)? Change them to periods/dots.
Thank you. Now it works.

Quote:
margin-right:2.5em; gives you the margin you desire.

BTW, I wore out my mouse wheel scrolling to find what you where talking
about. Had you said "the margin at 5.B. In Svezia", it would have been
even simpler to find your error.
You are right.
--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it/svezia.html
昨天下午天气真好吗 ?






Reply With Quote
  #4  
Old   
dorayme
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 06:58 PM



In article
<VcHMg.15403$QM6.2860 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> wrote:

Quote:
BTW, I wore out my mouse wheel scrolling to find what you where talking
about. Had you said "the margin at 5.B. In Svezia", it would have been
even simpler to find your error.
I transferred the CSS to BBEdit from FF to use the better Search
functions there, in conjunction with watching the "current
element" names in FF. (Not that I solved his problem in the end,
though I found "a" solution to one of the paras in that col that
might have provided OP with a clue to go on?)

It was very hard to see things in the CSS in FF (FF has this
annoying limit on the width of the "Edit CSS" col... It would be
nice to be able to widen it more. That at least is the situation
on the Mac version.

--
dorayme


Reply With Quote
  #5  
Old   
Luigi Donatello Asero
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 07:27 PM




"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> skrev i meddelandet
news:fOHMg.92102$5i3.31160 (AT) bgtnsc04-news (DOT) ops.worldnet.att.net...
Quote:
dorayme wrote:

It was very hard to see things in the CSS in FF (FF has this annoying
limit on the width of the "Edit CSS" col... It would be nice to be
able to widen it more. That at least is the situation on the Mac
version.

Are you using Chris Pederick's Web Developer Toolbar? The Edit CSS panel
is stretchable. Drag the border wider, the one next to the displayed
page.

But for Luigi's page, you probably need a wide-screen monitor. <g
For
https://www.scaiecat-spa-gigi.com/it/svezia.html ?
Why?

--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it.../goeteborg.php
昨天下午天气真好吗 ?




Reply With Quote
  #6  
Old   
dorayme
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 07:34 PM



In article
<fOHMg.92102$5i3.31160 (AT) bgtnsc04-news (DOT) ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> wrote:

Quote:
dorayme wrote:

It was very hard to see things in the CSS in FF (FF has this annoying
limit on the width of the "Edit CSS" col... It would be nice to be
able to widen it more. That at least is the situation on the Mac
version.

Are you using Chris Pederick's Web Developer Toolbar? The Edit CSS panel
is stretchable. Drag the border wider, the one next to the displayed
page.

Well, yes... that is the extension I am complaining about in
respect to width. It is draggable but it reaches a miserable max
width on my Mac


Quote:
But for Luigi's page, you probably need a wide-screen monitor. <g
Well, exactly! It was so frustrating.

--
dorayme


Reply With Quote
  #7  
Old   
Luigi Donatello Asero
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 07:46 PM




"dorayme" <doraymeRidThis (AT) optusnet (DOT) com.au> skrev i meddelandet
news:doraymeRidThis-F8FFF5.09343010092006 (AT) news-vip (DOT) optusnet.com.au...
Quote:
In article
fOHMg.92102$5i3.31160 (AT) bgtnsc04-news (DOT) ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> wrote:

dorayme wrote:

Quote:
But for Luigi's page, you probably need a wide-screen monitor. <g

Well, exactly! It was so frustrating.
Are you sure that we are talkning about the same thing???
Ps.: there is already something which I do not understand in Chinese and
that is frustrating!


--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it.../goeteborg.php
昨天下午天气真好吗 ?




Reply With Quote
  #8  
Old   
dorayme
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 07:57 PM



In article <LnIMg.15899$E02.6192 (AT) newsb (DOT) telia.net>,
"Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote:

Quote:
Are you sure that we are talkning about the same thing???
Ps.: there is already something which I do not understand in Chinese and
that is frustrating!
Luigi... no one is ever sure when talking to you that everyone is
talking about the same thing. I could almost be an earthling on
this basis.

--
dorayme


Reply With Quote
  #9  
Old   
Luigi Donatello Asero
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 08:03 PM




"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> skrev i meddelandet
news:LuIMg.15672$QM6.6494 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net...
Quote:
Luigi Donatello Asero wrote:

"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> wrote:
dorayme wrote:

It was very hard to see things in the CSS in FF (FF has this
annoying limit on the width of the "Edit CSS" col... It would be
nice to be able to widen it more. That at least is the situation on
the Mac version.

Are you using Chris Pederick's Web Developer Toolbar? The Edit CSS
panel is stretchable. Drag the border wider, the one next to the
displayed page.

But for Luigi's page, you probably need a wide-screen monitor. <g

For
https://www.scaiecat-spa-gigi.com/it/svezia.html ?
Why?

http://k75s.home.att.net/show/svezia.jpg

Notice the scrollbar in the left pane. That is because some of your
selectors were composed with no line feeds, like:
#informazioni-generali.subsubsection or
#arredamento-articoli-da-regalo.subsubsection
..which is 270 characters wide.

Sorry, I am not sure I understand what you mean.


--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it.../goeteborg.php
昨天下午天气真好吗 ?




Reply With Quote
  #10  
Old   
Luigi Donatello Asero
 
Posts: n/a

Default Re: Problem with margins - 09-09-2006 , 09:46 PM




"dorayme" <doraymeRidThis (AT) optusnet (DOT) com.au> skrev i meddelandet
news:doraymeRidThis-0701D0.09571010092006 (AT) news-vip (DOT) optusnet.com.au...
Quote:
In article <LnIMg.15899$E02.6192 (AT) newsb (DOT) telia.net>,
"Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote:

Are you sure that we are talkning about the same thing???
Ps.: there is already something which I do not understand in Chinese and
that is frustrating!

Luigi... no one is ever sure when talking to you that everyone is
talking about the same thing. I could almost be an earthling on
this basis.
First of all, it is night here, quite the contrary in Australia, I guess...
Secondly while writing on the web I am also learning Chinese...
(there are some reasons for that but I want to cut a long story short)
Thirdly, I could finally look at the screen picture which he had sent the
link to and i saw that it displayed both
the CSS style sheet and the main page, that is
https://www-scaiecat-spa-gigi.com/it/svezia.html
So, when he is saying that the page is too wide, which page are we talking
about?
The page
https://www-scaiecat-spa-gigi.com/it/svezia.html or the external style
sheet this page makes use of ?
Or perhaps both?
Why does breaking the line in the style sheet prevent the page
https://www-scaiecat-spa-gigi.com/it/svezia.html
from having scrollbars in the menu?

--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it.../goeteborg.php
昨天下午天气真好吗 ?








Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.