Reply to Re: CSS equivalent of single-cell table ?

Your name:

Reply:


Posted by BootNic on 11/07/07 00:31

dorayme <doraymeRidThis@optusnet.com.au> wrote:
news:doraymeRidThis-60A2DE.11182207112007@news-vip.optusnet.com.au:

> In article <Xns99E084A4BB118BootNic@216.168.3.70>,
> BootNic <BootNic@bounce.earthlink.net> wrote:
>
>> dorayme <doraymeRidThis@optusnet.com.au> wrote:
>> news:doraymeRidThis-1ED213.15200405112007@news-vip.optusnet.com.au:
>>
>>> In article <61ada$472e9262$40cba7c6$20756@NAXS.COM>,
>>> "Jonathan N. Little" <lws4art@centralva.net> wrote:
>>>
>>>> dorayme wrote:
>>>>
[snip]
>> Wrap the content of all the div.centring with an inline element.
>>
>> <div class="centring"><span>This is a centred shrink-to-fit div
>> box.</span> </div>

NOTICE: the content needs to be wrapped in a span.

>> Then add a bit of css to correct the display for IE.
[snip]
> I have made some adjustments and added a section and a new page
> to try to incorporate this idea, but it needs more work. I had
> various problems and have given up for a moment... See:
>
> http://tinyurl.com/32n6hm
>
> and the linked page. On my winbox in IE 6 the borders around the
> spans do not appear properly, nor the background colour nor is
> the text left-aligned - though the spans are nicely centered!
> Perhaps I have not implemented the idea properly?
>
> Damn IE!

It appears that you forgot to wrap the div content in a span.

--
BootNic Tuesday November 6, 2007 7:30 PM
If you can learn from hard knocks, you can also learn from soft
touches.
*Carolyn Kenmore*

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация