Re: CSS puts in extra space ... why?
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Fri, 03 Aug 2007 11:07:49 +1000
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
.
- Follow-Ups:
- Re: CSS puts in extra space ... why?
- From: RichardL
- Re: CSS puts in extra space ... why?
- From: RichardL
- Re: CSS puts in extra space ... why?
- References:
- CSS puts in extra space ... why?
- From: RichardL
- Re: CSS puts in extra space ... why?
- From: dorayme
- Re: CSS puts in extra space ... why?
- From: RichardL
- CSS puts in extra space ... why?
- Prev by Date: Re: CSS puts in extra space ... why?
- Next by Date: Re: CSS puts in extra space ... why?
- Previous by thread: Re: CSS puts in extra space ... why?
- Next by thread: Re: CSS puts in extra space ... why?
- Index(es):
Relevant Pages
|
Loading