Re: [css-d] nav bar: how to move one item all the way to the right?
Thanks for the suggestions. I ended up solving it by taking the link out of the unordered list in the nav bar and position it manually at the right side. - Koen. On Jul 23, 2011, at 9:17 AM, Chetan Crasta wrote: Try nav { position:relative; padding-right: 30px;} nav a.rightitem { postition: absolute; right: 0; } Make sure the padding-right on nav is sufficient. Regards, Chetan Crasta On Sat, Jul 23, 2011 at 6:29 PM, Koen van der Drift koenvanderdr...@gmail.com wrote: Hi, I have a working nab bar and want to move the right most item all the way to the right. I tried the following: nav ul li…. [insert links here] lia href=../rightlink.html class=rightitemallright/a/li /ul /nav nav ul { margin: 0; /* reset */ padding: 0; /* reset */ list-style-type: none; /* no bullets */ overflow: hidden; } nav li { display: inline; float: left; } nav a.rightitem { float: right; } But that doesn't do what I am looking for. Any suggestions? Thanks, - Koen. __ css-discuss [css-d@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-discuss [css-d@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] Zachary Uram added your name to the Academia.edu directory of academics
Hi Css, Zachary Uram added your name to Academia.edu, the global directory of academics and graduate students. We checked your department directory, and it looks like you are an academic/graduate student. You are currently listed as an 'unknown' academic/graduate student: resolve your 'unknown' status by following one of the links below: Yes, I am an academic/graduate student: http://academia.edu/Yes-Css-List--css-d-at-lists.css-discuss.org--is-an-academic-or-graduate-student No, I am not an academic/graduate student: http://academia.edu/Remove-Css-List--css-d-at-lists.css-discuss.org--from-the-directory-of-academics Stephen Hawking, Richard Dawkins, Paul Krugman, Noam Chomsky and Steven Pinker have all confirmed their membership of their departments on Academia.edu. Thanks, The Academia.edu Team __ css-discuss [css-d@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] ADMIN: Zachary Uram added your name to the Academia.edu directory of academics
Really? REALLY? I admit there was a powerful temptation to click the Yes, I am an academic/graduate student link and then block all future mails from the service, but I settled for clicking No, I am not an academic/graduate student and then blocking all future mails from the service. (I hope.) Remember, folks, every time you let a social service harvest your address book, God kills a baby lemming. So don't do it. The baby lemmings have a hard enough life as it is. -- Eric A. Meyer (http://meyerweb.com/eric/), List Chaperone CSS is much too interesting and elegant to be not taken seriously. -- Martina Kosloff (http://mako4css.com/) __ css-discuss [css-d@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] 100% height issue, and graphic placement q's
On Jul 22, 2011, at 7:17 AM, Alan Gresley wrote: Delete the whole declaration block of _body:after_ and amend these two style blocks. .livebar { width: 770px; min-height: 100%; overflow: auto; margin: 0px auto; background-color: #626862; } * html .livebar { height: 1%; /* For IE6 since overflow: auto does not trigger hasLayout */ } Alan: if you don't mind, a few questions about this code? I've been tinkering and entering what you supplied above a line at a time to get a feel for what each bit does. Why'd you go with width: 770px? I was thinking my smallest likely monitor would be 1024, and if they had a larger monitor and could widen that, THEN they'd see the lighter background to either side. Just wondering if yours was an aesthetics decision or had some other code-based reason? Also, the *html .livebar bitthat is IE-specific, I'm getting, but how does one even know what to drop in there? I guess years of getting knuckles scraped by Explorer? Or, is there a repository of such things? Thank you and the others for helping me on this problem. It's been a huge education! John __ css-discuss [css-d@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] Zero unit for this CSS3 example: Is it needed?
I never specify a unit for zero values, but some of the online CSS3 tools will add units to the generated code: http://www.colorzilla.com/gradient-editor/ http://css3generator.com/ For example: ... background: -moz-linear-gradient(top, #ffa443 0%, #ff7300 100%); ... I assume that I can safely remove the percentage unit (%) from the zero value, correct? I assume that for any zero value, no matter the CSS3 context, the unit can be omitted? Are there any corner cases? Thanks, Micky __ css-discuss [css-d@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] Zero unit for this CSS3 example: Is it needed?
On Jul 26, 2011, at 8:53 AM, Micky Hulse wrote: I never specify a unit for zero values, but some of the online CSS3 tools will add units to the generated code: http://www.colorzilla.com/gradient-editor/ http://css3generator.com/ For example: ... background: -moz-linear-gradient(top, #ffa443 0%, #ff7300 100%); ... I assume that I can safely remove the percentage unit (%) from the zero value, correct? I assume that for any zero value, no matter the CSS3 context, the unit can be omitted? Not really. The unit identifier can only be omitted if the value is a length http://www.w3.org/TR/CSS21/syndata.html#length-units [quote] After a zero length, the unit identifier is optional. [/quote] or CSS3 values (editor draft): http://dev.w3.org/csswg/css3-values/#ltlengthgt If '0' is an e.g. an angle, the unit identifier is requried. In case of your gradients example, we're talking about a color-stop, which is basically a length http://dev.w3.org/csswg/css3-images/#color-stop-syntax so you can omit it, I think. Philippe -- Philippe Wittenbergh http://l-c-n.com/ __ css-discuss [css-d@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] Zero unit for this CSS3 example: Is it needed?
Thanks Philippe! You ROCK :) I owe you many micro brews. Cheers, Micky __ css-discuss [css-d@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/