Re: [css-d] rollover with images

2006-01-26 Thread Matthew Levine
ways shows the -current images, even if there is an tag. Mike, Try adding .mystory_menu a { display: block; }. You might also need to fiddle with the dimensions to get it to fill the entire , but that should get the background to show up.

Re: [css-d] Is redefining a property within CSS appropriate?

2006-01-24 Thread Matthew Levine
te- CSS? Lynda, I agree -- I think it does make more sense to define it your way. What you've done is certainly *valid*. The validator just issues a *warning* to let you know that you might have unintentionally overridden a property. No worries though: I think it's completely

Re: [css-d] how to vertically align text?

2006-01-24 Thread Matthew Levine
for me, too. I'd play around with the padding, height, line-height, and vertical-align of the list items. However, I usually resort to adding a few rows of transparent pixels to the top of my bullet images. -- Matthew Levine (http://

Re: [css-d] Calling a class within a class

2006-01-23 Thread Matthew Levine
t be a good tool if you're concerned about the way repetition can impact maintainability: http://www.shauninman.com/plete/2005/08/css-constants -- Matthew Levine, (http://www.infocraft.com/) __ css-discuss [EMA

Re: [css-d] using display:table-cell blows up in IE

2006-01-22 Thread Matthew Levine
on't know the width of the parent div; but I assume you know the width of the centered div. Is there a reason you're not using the following: Some content... #centered { width: 600px; margin: 0 auto; } This will work regardless of the width of the parent element, or even if there

Re: [css-d] Collumn Divider for Liquid Multi-column Layout, any Column Longest

2006-01-20 Thread Matthew Levine
of the page, no matter which column is tallest. Unfortunately, there's a bug with Opera 8.5's overflow: hidden, but you can work around this (see the URL above) or trust Opera users to upgrade to 9.0. -- Matthew Levine (http://www.infocraft.com/)

Re: [css-d] Spacing/text size question

2006-01-16 Thread Matthew Levine
nt size for your document like this: body { font-size: small; } And then modifying the elements using ems or percentages, like this: h2 { font-size: 1.5em; } or h2 { font-size: 150%; } Hope that helps! -- Matthew Levine (http://www.infocraft.com/)

Re: [css-d] Overiding text size.

2006-01-16 Thread Matthew Levine
nits (percentages or ems), IE has trouble resizing them. As a result, it is usually suggested that you avoid absolute units for accessibility reasons. -- Matthew Levine (http://www.infocraft.com/) __ css-discuss [EMAIL P

Re: [css-d] target attribute of anchor

2006-01-15 Thread Matthew Levine
ndards "What's This?" link, which brings up a helpful explanation in a small popup. For this, a bit of unobtrusive Javascript is almost definitely the best way to go, so target is again unnecessary. -- Matthe

Re: [css-d] stuck on the last bits of validation.

2006-01-14 Thread Matthew Levine
le improve their pages, regardless of what tool they're making them with, you're doing a Good Thing too, and you have my support. I'll just have to be better about framing my offhand remarks in the future :) -- Matthew Levine (http://www.infocraft.com/)

Re: [css-d] stuck on the last bits of validation.

2006-01-14 Thread Matthew Levine
rgins, i.e.: style="margin-top: 3px" That should do the trick. I'll refrain from the obligatory comment on the irony of using valid CSS with a page that showcases FrontPage tips... Whoops. Good luck! -- Matthew Levine (http://www.infocraft.com/)

Re: [css-d] Spread words evenly.

2006-01-10 Thread Matthew Levine
} * html .even-words { height: 1%; } This will make the act as a normal block-level element; no need to worry about its floating contents. Hope that helps! -- Matthew Levine (http://www.infocraft.com/) __ css-disc

Re: [css-d] default margins

2006-01-10 Thread Matthew Levine
specificity rules from the CSS spec: http://www.w3.org/TR/CSS21/cascade.html#specificity Specificity is a great tool I use constantly in my work. Glad it helped out! -- Matthew Levine (http://www.infocraft.com/) __ css

Re: [css-d] default margins

2006-01-10 Thread Matthew Levine
ve (or a link), and I'll try to do a better job of explaining it :) -- Matthew Levine (http://www.infocraft.com/) __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://

Re: [css-d] Link states getting confused

2006-01-09 Thread Matthew Levine
olor: #ff; text-decoration: none; } .footer a:hover, .footer a:active { color: #ff; text-decoration: underline; } That should do the trick. Good luck! -- Matthew Levine (http://www.infocraft.com/) _

Re: [css-d] perspective diff in firefox/ie

2006-01-08 Thread Matthew Levine
wser stats". Unless you're getting a significant number of visitors using Konqueror, it shouldn't be a problem. The same goes for Safari, Opera, IE5.5, IEMac, etc (although supporting Opera and Safari usually aren't too much, if any, extra work). Cheers, Matthew Levine (htt

Re: [css-d] Full Page Height

2006-01-08 Thread Matthew Levine
#x27;ve tried). You can use the "incredibly tall but clipped" concept on the container from the One True Layout (http:// www.positioniseverything.net/articles/onetruelayout/equalheight). It would look something like this: #main { padding-bottom: 1001em; } body

Re: [css-d] Boxy in Foxy...

2006-01-07 Thread Matthew Levine
ake sure that the footer has clear: both on it. Second, you could auto-clear the #middlebox. This is a bit of a hack, but the formula is straightforward: #middlebox:after { content: ""; display: block; height: 0; clear: both; visibility: hidden;

Re: [css-d] Site check Please

2006-01-07 Thread Matthew Levine
links. From an accessibility perspective, it's a good visual cue that you're correctly targeting the link, particularly for users with limited vision or mobility who might otherwise have trouble telling when they're able to click. Cheers, Matthew Levine ([EMAIL PROTECTED])

Re: [css-d] CSS newbie books

2006-01-06 Thread Matthew Levine
e got the basics down. He walks you through dozens of projects, with practical examples, advice, and tips throughout: http://www.amazon.com/gp/product/073571245X/ (Eric Meyer on CSS) http://www.amazon.com/gp/product/0735714258/ (More Eric

Re: [css-d] Button Style

2006-01-06 Thread Matthew Levine
online here: http://www.infocraft.com/examples/buttons.html The effect works in Safari and Firefox; I didn't test elsewhere. If there's a problem with another browser, it's most likely due to lack of support for inset and outset borders, in which case you could set the colors ex

Re: [css-d] move scrollbar to far right

2006-01-06 Thread Matthew Levine
ers */ html > #header { position: fixed; } html > #footer { position: fixed; } Check out this article on tagsoup for more info: http://tagsoup.com/-dev/null-/css/fixed/ Good luck! - Matthew Levine (http://www.infocraft.com/) __

Re: [css-d] CSS and RSS Feeds

2006-01-06 Thread Matthew Levine
;s the reason for the extraneous markup, like the spans inside the divs and the extra divs at the bottom. These basically just give the designers an extra element to work with when they're writing their style sheets. I wouldn't recommend using inside in all of your work, though :)

Re: [css-d] Layout Consultation/Analysis

2006-01-06 Thread Matthew Levine
: http://glish.com/css/7.asp I also happen to be working on a version of this layout that achieves the same effect with more flexibility and less markup. I'm preparing it for publication now, but if you're interested in an advance copy