Re: CSS puts in extra space ... why?



In article
<1186067163.714583.28370@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
RichardL <RichardDummyMailbox58407@xxxxxxxxxxxxxxxxxxx> wrote:

On Aug 2, 12:33 am, dorayme <doraymeRidT...@xxxxxxxxxxxxxxx> wrote:
In article
<1186026420.586605.273...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,


Hi again,

Great advice. Below is my attempt to follow it. I have just three
problems with it.

1. The menu is not left justified.
2. Background-color is not honored, though I've got it working in my
real code (which, BTW, generates the menu from an array of arrays by
stuffing it into the UL's innerhtml)
3. The content appears to be affected by the text present in the menu,
i.e. the first two content lines are indented.

If you have any further guidance, I'd be grateful to receive it.

My test code is presented below. I explained my personal-web-space
problem to Beauregard above, but I'll try to get that resolved soon.

There are some errors in your markup, you do need to be careful.
Your background is not showing because your way is not supported
by the doctype. Best to put all in css. Your problem in (1) is
probably because you did not implement my suggestion about
padding and margins, you need to zero the ul to be rid of the
defaults that browsers supply.

Here are a couple of urls with some of your code and fixed up to
suit my eye better. First the basic one:

http://netweaver.com.au/test/test.html

Now, if you do put a background colour in to the left menu, it
does not always look good, it is dependent on the amount of text
in the menu and padding and such. It does not 'go to the bottom'
as a column. (There are all sorts of tricks and things to work
around this.) It can look ok not going to the bottom, but it is a
design difficulty. Frankly, often best not to bother to have
different colours.

This url gives a slightly different approach and is more eye
pleasing imo:

http://netweaver.com.au/test/test1.html

Honestly, if you want columns and colours from top to bottom,
there is nothing simpler than a 2 col table. See the advice I
gave previously about this option.

Finally, I put these test pages up at

http://dorayme.150m.com/test.html

and

http://dorayme.150m.com/test1.html

so you can see how you can get a free web hosting. The cost being
crappy ads and a bit of an eyesore. But better than posting code
quite often. I mention this to address your problem about
uploading urls...

About my name, it is ok, I can forgive an imaginative rendition
of it - as yours was! What upsets me is when complete and utter
schmucks follow wooden rules and just capitalize it and refuse to
bend to my will and threats and emissaries.

--
dorayme
.



Relevant Pages

  • Re: CSS puts in extra space ... why?
    ... real code (which, BTW, generates the menu from an array of arrays by ... in the menu and padding and such. ... It does not 'go to the bottom' ... This url gives a slightly different approach and is more eye ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Freedom of Academic Speech -- Freedom of Open Discussion
    ... If you want a medical opinion or advice, ... natural and fundamental eye. ... children in the use of the plus lens for prevention. ... reason I consult with professionally qualified, scientists, ...
    (sci.med.vision)
  • Re: HappyDay (Keep it happy but, dont be blinded to reality please)
    ... that my advice may be worth no more than the questioner paid for it. ... Tact, like beauty, exists mostly in the eye of the beholder. ... Mangalarga Marchador: Uma Raça, Uma Paixão ...
    (rec.equestrian)
  • Re: Book on Pre-MATH for cryptography and cryptanalysis.
    ... Do not conclude a advice! ... Just now, go play a degree! ... Dianna never devotes until GiGi excuses the pale constable irritably. ... Abdul, past statements handicapped and bottom, wonders by means of it, ...
    (sci.crypt)
  • Re: Cataract Surgery Advice?
    ... before you could safely ride again? ... thanks in advance for any advice you might have regarding the ... you about the eye surgery that one of my horses had. ... I don't know if cataract surgery may be similar, healing-wise, but my ...
    (rec.equestrian)

Loading