[css-d] Hi...Sidebar not scaling.....
http://imdserver.infj.ulst.ac.uk/B00344398/index.html Hi. My sidebar is not scaling in the browser with the rest of the content the way it should be, can anyone please help? -- Mike :-) __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Scroll hidden in IE7
On http://www.pressureswitch.com/index.php, a site I didn't develop personally, but I'm launching, the vertical scroll is invisible and therefor nonoperational on IE7. I've searched around and don't seem to find the fix for this. I tried a variety of overflow: scroll; or overflow: visible; on the body tag as well as the #body-container div. If possilble, please help me troubleshoot, or point me in the right direction. Thanks, Mario. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Hi...Sidebar not scaling.....
Michael Forker wrote: http://imdserver.infj.ulst.ac.uk/B00344398/index.html My sidebar is not scaling in the browser with the rest of the content the way it should be, can anyone please help? Main cause is that pixels don't scale, and your pixel-sized side-paddings are added to width. So, don't mix percentages and pixels for dimensioning in such a layout. Fixed height don't scale either, so don't declare height on scaling elements - especially not if they contain text. body isn't an ID on a div - body is an element and it is missing in your page... http://validator.w3.org/check?uri=http://imdserver.infj.ulst.ac.uk/B00344398/index.html ...along with a few other details. Font-size in pixels will create problems for some users who don't know how to use their browser (IE). All browsers can override font size no matter what unit it's declared in, and thereby create problems for inflexible layouts. Better try something that is slightly more in line with web standards, and that actually works across browser-land, like so... http://www.gunlaug.no/tos/alien/mf/test_09_0209.html http://www.gunlaug.no/tos/alien/mf/test_09_0209_files/portfoli.css I left most details the validator is complaining about to you. regards Georg -- http://www.gunlaug.no __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Scroll hidden in IE7
MarioMerino wrote: On http://www.pressureswitch.com/index.php, a site I didn't develop personally, but I'm launching, the vertical scroll is invisible and therefor nonoperational on IE7. In the http://www.pressureswitch.com/css/IE-bugfix.css you have this... /* the Fixed bug for the TOP button*/ html, body { height: 100%; overflow: hidden; } #container { height: 100%; overflow: auto; position: relative; z-index: 2; } ...which probably is an attempt on applying position: fixed in IE6 and older. Simply delete all the above and IE7 will scroll just fine. If you want to simulate position: fixed in IE6, then use proper styles to that effect and make sure IE7 and later versions never sees them. regards Georg -- http://www.gunlaug.no __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Is there a way to get lists to use decimal points?
Benjamin Hawkes-Lewis wrote: On 5/2/09 23:17, Sandy wrote: Do screen readers not read generated list counters? JAWS and Window-Eyes do not currently read text inserted with the content property, although they do reflect list-style-type values. How would you let a screen reader know that you are in a list if you are using real numbers? [snip] Is there another reason than accessibility that numbers as real text are what we need? Well, if the numbers are part of the content (e.g. certain legal documents), then they belong in the content layer (HTML) not the skinning layer (CSS). Remember a user isn't necessarily seeing your skin; they might be applying their own CSS or viewing with a user agent that doesn't support CSS. There's no satisfying way of doing this, but the following are all viable approaches: ul li1. foo/li li2. bar/li /ul p1. foo/p p2. bar/p dl dt1./dt ddfoo/dd dt2./dt ddbar/dd /dl h21./h2 pfoo/p h22./h2 pbaz/p Personally, I'd normally go for the first option. I would avoid: ol li1. foo/li li2. bar/li /ol since you could end up with the user being presented a confusing double-numbering of items (once from the ol and once from the text content of the li). -- Benjamin Hawkes-Lewis Benjamin, Tedd, Jukka, Georg, Thanks so much for taking the time to help me think about this, and for sharing your expertise. Benjamin - this was the sentence! Well, if the numbers are part of the content (e.g. certain legal documents), then they belong in the content layer (HTML) the numbers are part of a (you guessed it) legal document, so there they are in the content layer. http://www.caut.ca/ugfa/test/about/plan2intent.html This has the added advantage of making sense to me, unlike php (but thank you, Tedd)! Benjamin, JAWS and Window-Eyes do not currently read text inserted with the content property, although they do reflect list-style-type values. does this mean that if you have an ol that someone using a screen reader won't hear the list numbers? Thanks! Sandy __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/