Re: [css-d] ul - li width being ignored
Some correspondence have passed outside this list, and I have no idea whether my responses got through or not. Not really my problem. So, just to make this thread a bit more complete... A simple and well-working solution is provided by Cem Meric... -- Add some well-placed spaces in long, otherwise unbreakable, lines to allow them to break where you want them to. -- You may also look at the CSS option demonstrated here... http://www.brunildo.org/test/IEbreak-word.html ...which should work well in IE/win. A bit more on the subject for IE/win... http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/wordwrap.asp I sometimes use a method I have described here... http://www.gunlaug.no/homesite/main_8_3.html ...because it works the same in almost all browsers. It's a bit complex and ugly though. regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] ul - li width being ignored
On 18.03.2006 20:14, TMH Design wrote: If someone could look at this page - http://www.shopthevitaminstore.com/index.php See the categories down the left margin? The titles in the li extend over and out of the specifed width of the ul and I can't figure out why? The reason is, that the specification of CSS2.1 define it this way: http://www.w3.org/TR/2005/WD-CSS21-20050613/visudet.html#the-width-property http://www.w3.org/TR/2005/WD-CSS21-20050613/visufx.html regards, Uwe Kaiser __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] ul - li width being ignored
If someone could look at this page - http://www.shopthevitaminstore.com/index.php See the categories down the left margin? The titles in the li extend over and out of the specifed width of the ul and I can't figure out why? First link doesn't have any space between the words. Try this instead Allergy /Asthma /Breathing /Lung -- Cem Meric | http://www.kalkadoon.net/ Kalkadoon Corporate Solutions __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] ul - li width being ignored
If someone could look at this page - http://www.shopthevitaminstore.com/index.php See the categories down the left margin? The titles in the li extend over and out of the specifed width of the ul and I can't figure out why? First link doesn't have any space between the words. Try this instead Allergy /Asthma /Breathing /Lung Yes, that _is_ the problem - unless the browser happens to be Opera. No reason to count on that. Another minor css-related problem that should get some attention... http://www.gunlaug.no/tos/alien/vitamin-firefox.png http://www.gunlaug.no/tos/alien/vitamin-ie6.png http://www.gunlaug.no/tos/alien/vitamin-opera.png ...since it is present regardless of browser, and may be relevant to a number of visitors to such a store. regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] ul - li width being ignored
Gunlaug Sørtun wrote: [...] Another minor css-related problem that should get some attention... http://www.gunlaug.no/tos/alien/vitamin-firefox.png http://www.gunlaug.no/tos/alien/vitamin-ie6.png http://www.gunlaug.no/tos/alien/vitamin-opera.png ...since it is present regardless of browser, and may be relevant to a number of visitors to such a store. regards Georg Hi TMH-design, I should have a look at the validators too. The HTML-validator reports, apart from a lot of unescaped 's (and still empty href=), there are img-width's with a ';' in it: ... width=100px;. Browsers don't recognise the unity 'px;'. The css-validator is going down for an html-error. When repaired, I guess the validator will warn for the 'UNKNOWN { height: auto; }', being not a class, nor an ID. (in the page itself, 'UNKNOWN' is heavily unknown in the code). ;-) Greetings, francky __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/