Re: [css-d] odd space appearing in IE8
Actually, the blue line looks like a nice design element. Check whether it really does look nicer without it :-) Ted On 08/07/2012 07:05 PM, Angela French wrote: http://sbctc.edu/indexTESTAD.aspx There is an odd gap under the blue div that has the text in it that reads One System. 34 Colleges. You can see the grid image that is a background image for the content grid. I can fix it by dropping the same gradient that is in my blue div in the content div also, but I'd rather figure out what is causing the gap. It does not appear in IE7 or other browsers. Thank you for your help. Angela French Internet Specialist State Board for Community and Technical Colleges 360-704-4316 afre...@sbctc.edu http://www.checkoutacollege.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/ __ 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] Value naming, Forms
On 08/03/2012 03:04 PM, Tedd Sperling wrote: On Aug 3, 2012, at 1:44 PM, John j...@coffeeonmars.com wrote: In creating a form with a pull-down menu, and naming the various entries ( select shown below), are there best practices for the number of characters in value=name ? The tutorial I followed went with 2- and 3-character names. Can I use 4, 5, 6 characters if that will help me to keep everything straight? Thanks! John select option value=appApples/option option value=oraOranges/option option value=lemLemons/option /select John: I don't really see the question/problem here. Do you think by keeping the string values the same length that you accomplish something? Well, you don't. The value is simply what is reported after the user picks their selected and submits the form, nothing more. Here's a link to a demonstration of how to get what the user picked via a selection option control: http://sperling.com/php/select/ As you can see, the length of the value string is not relevant, nor is this css related. Cheers, tedd _ t...@sperling.com http://sperling.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/ I'm an old programmer who believes in one abbreviation: 'no' for number. That's it. The next programmer will thank you and you'll thank yourself, too; six months later when you have to revise the code. When best practices sacrifice readibiity, go with what works. Having said that, dig into best practices enough to know whether you're breaking any of its rules and you may pick up a few pointers. Ted __ 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] CSS3 101
On 05/12/2012 08:08 PM, Isabel Santos wrote: Hi Ted, first of all, you use the tags that make sense for your content, not because it is css-ish. If your data should be presented in a list, because for instance, it constitutes a list of items, thats ok. If it is tabular data, it should go on a table. Thanks so much for the reply...even at this level I have to read it a couple of times. The pointer to a web search will be helpful. Ted __ 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] CSS3 101
On 05/12/2012 10:27 PM, David Laakso wrote: Thanks so much for the reply...even at this level I have to read it a couple of times. The pointer to a web search will be helpful. Ted Putting your page on a public server and providing a clickable link to it in your post to the list may get you some replies of a more immediate and practical nature Best, David Laakso Good idea! I'll clean it up a bit (I was trying different borders...) and put it on my server. Um, ..., after I upgrade the operating system... so it won't be immediately. Ted __ 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] CSS3 101
I've lurked on this list, but the level of expertise required to understand posts is beyond my level. I've been to CSS3 design sites (w3school and others). I have 5 (may increase) boxes for data entry. Right now they'er vertically aligned. I'm using ul rather than table because that seems more CSS-ish. How can I (if possible) have the boxes align in left-to-right columns and as many rows as needed? The variable alignment is for different platforms. Do I have one big div that contains one div for each data-entry box? There is some CSS code in CSS files. Can I start fresh and use only CSS on the page without having the CSS in the files interfering? Ted -- GPG/PGP public key: 0xB07F9AAE __ 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] Internet Explorer
I'm retired. You've made it all come back. FWIW, my employer (large insurance company) recently upgraded it's official corporate browser ... from IE6 to IE7. What is this IE8 you speak of? ;-) -- GPG/PGP public key: B07F9AAE __ 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] Internet Explorer
I know that in some cases this not possible, but if someone reports issues with IE, I'd politely ask whether they have tried late versions of Firefox or Chrome :-) Ted -- GPG/PGP public key: B07F9AAE __ 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] menu in separate page?
Write it as PHP and include the PHP file is how I do it. You can have this: whatever.php: ?php ? Boilerplate html code In the calling module: html . . . ?php include('whatever.php); ? . . . /html There's probably more elegant solutions. I'm looking forward to seeing them. On Thu, Feb 2, 2012 at 14:34, john j...@coffeeonmars.com wrote: Can somebody point me to a tutorial that shows how to put a menu into it's own page, the advantage that you edit/adjust once, and all pages are updated, rather than editing the menu on each page. I am googling for this, but not finding anything that exactly deals with this, at least doesn't look like it to me..lots of the search results are from years ago ( like, 2007 ) and others say It can't be done! thank you for any clues about this! John __**__**__ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/**mailman/listinfo/css-dhttp://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.**com/http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/**policies.htmlhttp://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_**support_evolt/http://www.evolt.org/help_support_evolt/ -- GPG/PGP public key: B07F9AAE __ 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] css measures - em grid system makes sense ?
I've used mm because it's neither geeky nor is it jargon and you can use a tape measure to measure it. For typefaces you'd probably have to try different values to make it look nice, but we do that with px and/or em. px: computers, geeky; em: printers, jargon. You can have fractions of a mm down to a px or em, too. Ted On Wed, Nov 9, 2011 at 08:35, mem talofo.l...@gmail.com wrote: Hello all, On my css layouts, I tend to use *em* for font size and *px* for all the rest. However, I wish not to follow this path any longer, since I wish to embrace the *em* for [almost] all the development. Problem: we use a *960px grid* for styling most of our pages, so the margin or paddings and widths are given on px, and if we convert those, sometimes, we will get weird stuff like: 0.345 em. Question: Will it make sense to create a grid based on *em* ? The point is to allow us to start drawing more user friendly measures like .5em or .4em and avoid .453 em stuff. What do you think ? Note: This is just a question, if it does make sense to you, just tell me and explain me why so that I could understand and I can leave with that. K. Regards, mem __ 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/
Re: [css-d] Centering an entire page in the available window.
You're almost there. First, you don't need text-align: center. That's extra. But you do need a width on the body. By default, it's 100% of the browser, but looking at the stuff inside, it only needs to be 885px. Once you give the body a width, it'll center itself up. body { margin: auto; width: 885px; } ---Tim or, width: 234mm; or, width: something%; Would these be possible? I prefer mm; I can measure it with a tape measure, but percentages are less rigid. __ 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] [OT] Why no HTML
I just performed a test with a short message: Unadorned: This is yellow. This is Garamond typeface. This is Comic Sans typeface. This is BOLD. This is italicized. This is underlined. This is in a different size. Note emoticon --- Adorned: This is yellow. *This is underlined.* This is Garamond typeface *this is bold.* * This is italic.* This is another size. The unadorned source file is 167,567 bytes, while the marked up file is 167,240 bytes. (Could be shorter because there's less text in it.) Both are bloated. Any size difference is, IMHO, academic. Ted -- +-+ | 3.14159 26535 89793 23846 26433 83279 50288 May the Spirit | | 41971 69399 37510 58209 74944 59230 78164 of pi spread | | 06286 20899 86280 34825 32411 70679 82148 around the world. | | 08651 32823 06647 09384 46095 50582 ...PI VOBISCUM!| +-+ __ 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] Fwd: Newbie has big CSS AND cross browser issues
FWIW, I use mm. That way I can take out my tape measure and measure it. mm vs. px? We guess at both until it looks right. Ted -- +-+ | 3.14159 26535 89793 23846 26433 83279 50288 May the Spirit | | 41971 69399 37510 58209 74944 59230 78164 of pi spread | | 06286 20899 86280 34825 32411 70679 82148 around the world. | | 08651 32823 06647 09384 46095 50582 ...PI VOBISCUM!| +-+ __ 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] [OT] Why no HTML
sigh Here is the usual course of these conversations: People fight about something trivial (However, I don't believe this issue is trivial!) All leave the list forever for two weeks. Then come back and ignore each other. ... Ted, almost 70, and appreciates the ability to change type faces/sizes in the web preferences. -- +-+ | 3.14159 26535 89793 23846 26433 83279 50288 May the Spirit | | 41971 69399 37510 58209 74944 59230 78164 of pi spread | | 06286 20899 86280 34825 32411 70679 82148 around the world. | | 08651 32823 06647 09384 46095 50582 ...PI VOBISCUM!| +-+ __ 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] Which approach is best?
I've not coded CSS or JavaScript much at all, but I'm getting pleasing results with CSS. I'm developing an application that reads a database and has a text field next to the DB-generated data. I wish to have the application go to the next (PHP) menu when text is entered into any of the fields (only one should be populated) and the user hits Enter. There must be a best practice method of doing this, but I don't know whether it would be HTML, CSS, or JavaScript --- or a combination of these. I suspect that it's a FAQ with an easy solution. What to do? Ted -- +-+ | 3.14159 26535 89793 23846 26433 83279 50288 May the Spirit | | 41971 69399 37510 58209 74944 59230 78164 of pi spread | | 06286 20899 86280 34825 32411 70679 82148 around the world. | | 08651 32823 06647 09384 46095 50582 ...PI VOBISCUM!| +-+ __ 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] Multiple webfonts
Newbie question: Would having the language declaration at the html level mean that there must be two HTML pages? html lang=zh-tw /html html lang=en /html -- +-+ | 3.14159 26535 89793 23846 26433 83279 50288 May the Spirit | | 41971 69399 37510 58209 74944 59230 78164 of pi spread | | 06286 20899 86280 34825 32411 70679 82148 around the world. | | 08651 32823 06647 09384 46095 50582 ...PI VOBISCUM!| +-+ __ 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] Multiple webfonts
Thank you! On Sat, Jul 9, 2011 at 4:20 PM, Jukka K. Korpela jkorp...@cs.tut.fi wrote: 2011-07-09 22:44, Ted Rolle Jr. wrote: Would having the language declaration at the html level mean that there must be two HTML pages? html lang=zh-tw /html html lang=en /html No, you would use html lang=... to specify the overall (main) language of the page and lang attributes in other elements to specify that their language is different, e.g. html lang=en [...] blockquote lang=zh-TW.../blockquote If you additionally use a class attribute, to make styling possible on old browsers not supporting language-related selectors, you would write e.g. html lang=en class=en [...] blockquote lang=zh-TW class=zh-TW.../blockquote A simple selector like .zh-TW would suffice if you just have e.g. elements containing Chinese inside a document otherwise in English, with no such complications as Chinese text containing English. -- Yucca, http://www.cs.tut.fi/~**jkorpela/http://www.cs.tut.fi/%7Ejkorpela/ __**__**__ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/**mailman/listinfo/css-dhttp://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.**com/http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/**policies.htmlhttp://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_**support_evolt/http://www.evolt.org/help_support_evolt/ -- +-+ | 3.14159 26535 89793 23846 26433 83279 50288 May the Spirit | | 41971 69399 37510 58209 74944 59230 78164 of pi spread | | 06286 20899 86280 34825 32411 70679 82148 around the world. | | 08651 32823 06647 09384 46095 50582 ...PI VOBISCUM!| +-+ __ 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/