Re: [css-d] how to select an element that does not, containanattrbite

2008-05-29 Thread Kenny Graham
> It has always been my assumption (from an accessibility) point of view > that headers (h1, h2 etc) should always read like a table of contents. > Hence h1 would be the name of the site, even if it is "hidden" and > preference given to an image logo or such. News stories should be, in > theory, h2

Re: [css-d] Help with dropdown in IE?

2008-03-25 Thread Kenny Graham
> Oops haha > > Here: http://www.trademarkads.org/healthstar > > Seems I need to get some coffee. OK I fixed the IE7 problem by stripping out the whole nav thing and building a bare-bones one. IE6 still dies horribly if I give the subnav items layout. :( ___

Re: [css-d] Help with dropdown in IE?

2008-03-25 Thread Kenny Graham
> There are lots of possible fixes for lots of possible IE errors, so could > you supply a URL? Oops haha Here: http://www.trademarkads.org/healthstar Seems I need to get some coffee. __ css-discuss [EMAIL PROTECTED] http://www

[css-d] Help with dropdown in IE?

2008-03-25 Thread Kenny Graham
I have a dropdown menu that just won't behave in IE6 or IE7. IE6: The links won't fill their container, only the text is an active link. Typically I'd just give the links layout, but that breaks things even worse (makes them 100% of body width). IE7: Dropdowns don't go away unless you re-hover t

Re: [css-d] 3 pixel difference between IE and Firefox

2007-10-23 Thread Kenny Graham
> Umm. Shouldn't that be 'vertical-align: bottom;' Kenny? Wow. Remind me not to post while sleep deprived. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.inc

Re: [css-d] 3 pixel difference between IE and Firefox

2007-10-22 Thread Kenny Graham
try either "display: block" or "vertical-align: middle" on the image __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-di

Re: [css-d] Same old Hat (new)

2007-10-20 Thread Kenny Graham
> I understand all the accessibility concerns > surrounding splash pages, but my question is, were I > to want to design a site that had a large photo as > it's main intro page, is there any way I can do this > as ok for standards-based design methods? Splash pages themselves don't go against any

Re: [css-d] Generated content and non ‐compliant browsers

2007-10-16 Thread Kenny Graham
> I am inserting much content into elements using the 'content' property and > the '::before' and '::after' pseudo‐elements. The inserted content is > mostly punctuation and other content important to the document > presentation. If it's important for understanding the content, then it should be i

Re: [css-d] Converting to EMs

2007-10-13 Thread Kenny Graham
I think the gimmick they're talking about is using body {font-size:62.5%;} in an attempt to give yourself the illusion of 1em = 10px. An "em" is relative to the user's default font-size, whereas a pixel is absolute*. So the 62.5% calculation only works with one specific default font-size. The gi

[css-d] Keep background images out from behind floats?

2007-10-02 Thread Kenny Graham
I hate to say it, but for once IE is doing what I want, and the others aren't. I know IE's doing it wrong, but how do I get the same effect properly? Site: http://www.trademarkads.org/zeus It's still early on, and yes, I tried to push back about the contrast of black on grey, but no luck. What

Re: [css-d] menu test

2007-09-21 Thread Kenny Graham
> It seems like sometimes in IE 6 when you hover over the drop down links they > disappear. Please let me know if this happens to you and if so what browser > you are using. In IE 6, the menu is going under the content, so it loses focus when you hover over the lower menu items. Set the menu t

Re: [css-d] hasLayout problem?

2007-09-21 Thread Kenny Graham
> Basic fix: > * html body { > position: relative; > } As always, Gunlaug to the rescue. However, somewhere along the way, I made the light background disappear from under the subnav. The rest of that background is behaving like the whole thing exists, but like it has a green element ontop of it

[css-d] hasLayout problem?

2007-09-20 Thread Kenny Graham
IE6 keeps dying horribly in a fire when it's resized on this page I'm working on... anyone know how to fix it? Please? :) http://www.trademarkads.org/brookhaven/site/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/

Re: [css-d] Any tips on image loading?

2007-09-14 Thread Kenny Graham
> I finally have finished the homepage, but I noticed that my images are > loading slowly. > > What am I missing here? Loads in less than a second here. But the two header images are pretty big. One way to optimize it would be to make the green grid a small repeating image in your "#header span"

[css-d] IE Float Clearing w/ Faux Columns

2007-07-05 Thread Kenny Graham
Why won't IE extend my faux columns background all the way down? And how do I fix it? Works in FF. Please help? Thanks. http://www.trademarkads.org/BPS __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listin

Re: [css-d] Site check for formever.org

2007-03-29 Thread Kenny Graham
> If any of you out there would be kind enough to tell me if you see any > errors on your browser/platform, that would be really awesome. List item text is escaping a few characters out the right side of the "Learn More" box in FF2/Win. Adding some right padding should fix it. ___

Re: [css-d] Controlling CSS Scope

2007-03-15 Thread Kenny Graham
> Does anyone have any resources, ideas or experience with this issue? In theory, you would use the child selector for this. Foo Bar In that example, table>caption would select only Foo and not Bar. However, no luck in IE6, which is why most people

Re: [css-d] List Items

2007-03-13 Thread Kenny Graham
> How can I modify the amount of space between the bullet in an > unordered list and the actual text? Of course, the most positioning control comes from replacing the bullet with a background image. But then the bullet doesn't resize with the text, which may be an accessibility issue.

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-05 Thread Kenny Graham
> That's neat. Could you advise why this comment trick work, and how widely > does it work across browsers? It should work in all browsers. As for how it works, you know how if you have something like: Foo Bar in your HTML, it will render as Foo Bar, and not FooBar? It reduces multi

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-05 Thread Kenny Graham
> The ugly part is to force to a block. I might as well replace with a > truely block element and change to use scripting to handle the visual cue > change / click, but that would seem overkill for a simple task like this. Is > there a strong opposition to to the way I use above for this task?

Re: [css-d] What's the proper way to vertically center an element within its parent?

2007-03-05 Thread Kenny Graham
> One caveat is that inlined > introduced an unknown fixed padding that I have to compensate for via > experiment (since I need to center the list in the middle). This is IE7. I'm pretty sure what you're seeing is actually a space (as in space bar). Foo Bar IE renders the new line characters be

Re: [css-d] Review Needed

2007-03-01 Thread Kenny Graham
I'm getting a 403 Forbidden on final_drop.css You don't have permission to access /rtgroup/final_drop.css on this server. Check the permissions for that file on your server. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss

Re: [css-d] Adjacent siblings

2007-02-27 Thread Kenny Graham
> Yet in both Firefox and IE6 they are spaced apart. How much apart? If it's only a few pixels, it may just be a line-height issue. > Does this "adjacent siblings" thing actually work? Not in IE6 or lower __ css-discuss [EMAIL PR

Re: [css-d] absolute positioning headaches

2007-02-22 Thread Kenny Graham
> from what i've read it is my understanding that absolute positioning will > position an element absolutely based upon the nearest positioned element. so > if i have an absolute position in my code that is directly under a > relatively positioned element it should place it in relation to that obje

Re: [css-d] line break and fieldset height problems

2007-02-21 Thread Kenny Graham
> 1) In FF the line is breaking well short of the clock div. I tried putting a > margin-left on the clock div but that did no good so I'm guessing there's > something else that's causing that problem. That part of the page renders ok > in IE7. FF seems to be doing it right. #clock_reset_butt

Re: [css-d] Setting an element based on its child

2007-02-19 Thread Kenny Graham
> Does this include it not needing to be IE compliant? The reason I need it is > to fix a margin issue in a template I've inherited, and IE is currently > behaving itself quite nicely (I suspect they built for IE in the first > place). Firefox, however, is not. *sigh* If anything had a nonstandard

Re: [css-d] Setting an element based on its child

2007-02-18 Thread Kenny Graham
> Just wondering: is there a way in CSS to set the properties of an element if > it has a particular child? unfortunately not. i wish there was. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d I

Re: [css-d] Using CSS for inline formatting

2007-01-23 Thread Kenny Graham
> I'm not sure if what I want is exactly > possible. It's possible. It's probably not working because of the commas you have between the class names in the HTML. They should be space separated. e.g. class="vcard dispemp" __ css

Re: [css-d] frames and anchors a css alternative

2006-12-06 Thread Kenny Graham
if i understand what you want correctly, you want the main content to have its own scroll bar and scroll seperately from the rest of the page. i think it's better as is, but regardless: it's going to be a pain to do that since you're using tables for layout. normally you would just set a height

Re: [css-d] stopping images being displayed or cached by browsers

2006-12-06 Thread Kenny Graham
Probably best to use PHP. You can't control caching in CSS, and if you use CSS to stop them from being displayed, it still wont stop them from being downloaded, so you won't get the bandwidth savings you're looking for. On 12/6/06, Rory@ leftangle <[EMAIL PROTECTED]> wrote: > I am planning a web

Re: [css-d] Double space after a period

2006-10-14 Thread Kenny Graham
nevermind forgot about it breaking wordwrap. :( On 10/14/06, Kenny Graham <[EMAIL PROTECTED]> wrote: > Now that I'm not trying to type from my cellphone, I can post an example: > > http://www.kennygraham.net/wsg_cssd/whitespace.html > > On 10/14/06, Kenny Graham

Re: [css-d] Double space after a period

2006-10-14 Thread Kenny Graham
Now that I'm not trying to type from my cellphone, I can post an example: http://www.kennygraham.net/wsg_cssd/whitespace.html On 10/14/06, Kenny Graham <[EMAIL PROTECTED]> wrote: > couldnt you just set paragraph elements to preserve whitespace? just > dont get indent-happy in

Re: [css-d] Double space after a period

2006-10-14 Thread Kenny Graham
couldnt you just set paragraph elements to preserve whitespace? just dont get indent-happy in the source of the paragraphs. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- ht

Re: [css-d] Universal selector

2006-10-12 Thread Kenny Graham
Gunlaug Sørtun wrote: > Use of the universal selector > makes no other sense than that it adds specificity to the plain > ID-selector. Rimantas Liubertas wrote: > The first rule will apply to the element with the id="leftcol" > regardless of it's position in DOM. The universal selector in the fir

Re: [css-d] Flabergasted with float: left;

2006-08-31 Thread Kenny Graham
Try not floating #main and giving it a left margin: #main { border-top: 2px solid #66; border-left: 2px solid #66; border-bottom: 2px solid #66; width: 80%; margin-right: 5%; margin-left: 15%; padding: 5px; } quick and dirty remake incase that doesnt work: http://www.ken

Re: [css-d] Ascendant selectors in CSS2

2006-07-18 Thread Kenny Graham
> Does anyone know if there are going to be > ascendant selectors in CSS2+? Not in any current drafts, as far as I know. (hopefully someone will correct me, because I want to be wrong) __ css-discuss [EMAIL PROTECTED] http://www.

Re: [css-d] World is upside-down, IE is good but FF is wrong

2006-05-31 Thread Kenny Graham
The closest I know how to get to what you want without javascript or CSS3 stuff is changing the rule I had you insert to this: #menu ul li ul li a:hover { border-right-width: 0; border-left: 4px solid red; margin-left: -4px; } However, the left border on the submenu items will follow the hi

Re: [css-d] World is upside-down, IE is good but FF is wrong

2006-05-29 Thread Kenny Graham
Looks fine for me in FF, but the bottom nav item is clipped off in IE. The only other difference I can see is that the submenu items have a red border on hover in FF and not IE. However, FF is doing it correctly here, because of this rule: #menu ul li a:hover { border-right: 4px solid #f00;

Re: [css-d] Thoughts on this method

2006-05-26 Thread Kenny Graham
> and a ton of these little boxes > are going to be floated all over the place and, of course, if there are going to be more than one of these, replace the ids with classes in both the html and css. __ css-discuss [EMAIL PROTECTED

Re: [css-d] Thoughts on this method

2006-05-26 Thread Kenny Graham
> Any help optimizing this would be appreciated. http://www.kennygraham.net/wsghelp/ Here's a bit of an optimization. Uses three divs instead of five, and all divs contain the text, instead of having empty ones. It uses one very wide (1600px) gif for both the left and center, but that gif is st

Re: [css-d] Positioning a list bullet image

2006-05-21 Thread Kenny Graham
> I would > like to more accurately position this leaf, and it sounds like > making it a > background image is the way to do that. However, the entire list is > right-justified, so setting the position of the leaf to the left of > the text > looks like it may not be possible, as one would have to

Re: [css-d] Pseudo class links

2006-05-19 Thread Kenny Graham
> I have the following embedded directly onto the page above: > [snip] > > Yet no colored links! Very confused. Any help would be much > appreciated! You have font tags inside your links overriding the css. __ css-discuss [EMAIL P

Re: [css-d] Fun header challenge?

2006-05-19 Thread Kenny Graham
> Why not use a background image? The logo is a transparent png, and it needs to be on top of a background color that will expand/contract based on font size. I suppose I might be able to get it to work as a background images if I added a div in there, but I'd really prefer to have the logo still

Re: [css-d] Fun header challenge?

2006-05-18 Thread Kenny Graham
> What if you gave the logo image: > > #logo { margin:-10px; } > > This would allow the H1 to collapse on it, right? As in the H1 would > only try to contain the height of the logo - 20, instead of the full > height? It usually seems to work this way. That's similar to the way I'm currently doing

Re: [css-d] Fun header challenge?

2006-05-18 Thread Kenny Graham
I've seen that page before, i think from one of your WSG posts, and was very impressed with the opera-style zoom you have goin there. Unfortunately I don't want the logo to enlarge on this page. The main thing I'm having trouble with is keeping the logo vertically centered in the [1], even when i

[css-d] Fun header challenge?

2006-05-17 Thread Kenny Graham
I'm trying to make what should be a simple header. Problem is that I want it to expand properly with enlarged text sizes. The entire header has a background color. In the center is a centered for the page title, and at the left is an img (a transparent png logo) followed by a span containing th

[css-d] Fun header challenge?

2006-05-17 Thread Kenny Graham
I'm trying to make what should be a simple header. Problem is that I want it to expand properly with enlarged text sizes. The entire header has a background color. In the center is a centered for the page title, and at the left is an img (a transparent png logo) followed by a span containing th

Re: [css-d] Lock down some text sizes

2006-05-16 Thread Kenny Graham
> BTW: do anyone around here test their layouts in Lynx? > I always start on that level, as it provides me with the most > well-working base for subsequent styling. I disable styles and images in firefox. I think the default styles show what's what better than lynx can. __

Re: [css-d] Lock down some text sizes

2006-05-16 Thread Kenny Graham
> How can I specify a font size that's bulletproof as regards > increasing the browser's text size? View your page at normal font size, take a screenshot of it, and write the following code: and add an image map. I'll just feel sorry for the site's visitors. For an example of this technique

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-30 Thread Kenny Graham
just curious... I know served as XML, the comments should be completely ignored, but if it's served as text and parsed all SGML-ish, are comments supposed to count as nodes? I'm one of the lucky young ones who never dealt with the fun old ways of spacer gifs and table layouts, so I haven't a clue.

Re: [css-d] Short CSS course - what should I teach?

2006-04-27 Thread Kenny Graham
> 1) Text structure, use of semantics (refer to the bare CSS Zen Garden site) While the garden is great for showing that CSS is capable of attractive designs, I'm not so sure it's good for learning from the code. It was designed to be very easy for hundreds of people to author stylesheets for it

Re: [css-d] CSS control text flow

2006-04-26 Thread Kenny Graham
I like sites that work the way yours is working now. It automatically adjusts to fit the width that I want. Much better than having to scroll horizontally just so I can see it the way the author felt like making me see it. But if it must be "fixed", then setting a min-width on #container should

Re: [css-d] Need help with positioning

2006-04-24 Thread Kenny Graham
http://www.kennygraham.net/drk/index.html http://www.kennygraham.net/drk/style.css should get you started in the right direction. css is commented. personal opinion is to ditch the date/time thing. every operating system has that easily displayed already. if you really want it, or are just cur

Re: [css-d] image swap with css

2006-04-24 Thread Kenny Graham
Should work. Try putting some text in the link to see if that fixes it. If not, post a link to the site? On 4/24/06, Schalk <[EMAIL PROTECTED]> wrote: > Greetings All, > > I have an image that needs to be swapped out with another on hover. Is > there a way to do this with CSS? > > I have tried t

Re: [css-d] Float, positioning, and z-indexing

2006-04-22 Thread Kenny Graham
you could give the body of that page an ID. eg: #firstpage #content { background: transparent url("images/parker_cutout2.gif") bottom right no-repeat; } and it'd only show up on the first page. it'd probably be a lot easier than trying to get z-index to work with floats. ___

Re: [css-d] Float, positioning, and z-indexing

2006-04-22 Thread Kenny Graham
> however, I seem to only be able to position > the cutout picture on the home page here > where I want it using float:right Setting the pic of the guy as a background image of #content wouldn't work? __ css-discuss [EMAIL PROTECT

Re: [css-d] Imports and preference

2006-04-10 Thread Kenny Graham
> What I'm wondering is if I declare a class, let's call it 'BOX' in my > homepage.css and just give it widths and heights etc, and then in styles.css > I also have the 'BOX' class but with font-size, font-weight declared in it, > does it all amalgamate into one style declaration as far as the brow

Re: [css-d] Missing bullet image in dynamically generated list

2006-04-06 Thread Kenny Graham
> For one, I've never seen the shorthand for background used in that > particular order. I'm pretty sure the syntax is: > > background url(../img/fun.gif) #fff top left no-repeat; I've always done #fff url(image) top left no-repeat; myself. I'm pretty sure the order doesn't matter: Value: [<'

Re: [css-d] newbie CSS on Firefox problem

2006-04-05 Thread Kenny Graham
Since you specified text colors, it's just suggesting that you specify background colors too, just incase the user sets their default background color to the same as your specified text color, etc. CSS validator warnings usually aren't big deals, but be sure there aren't any errors. __

Re: [css-d] Scrolling divs and named anchors

2006-04-05 Thread Kenny Graham
> is there a way to fix this? I'm 99% certain that it's a "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 -- ht

Re: [css-d] Help with using images and CSS

2006-04-03 Thread Kenny Graham
> How do I position it? It seems the last > time I tried to stick the image within the CSS file, I ended up with a > repeating image that was off-centered and not at all what i wanted. #masthead { background: transparent url("images/craftwebheader_bytara.jpg") top center no-repeat; height: 173

Re: [css-d] Request for a web page critiquing

2006-04-02 Thread Kenny Graham
> I am taking a an online course on web design and I will appreciate if > anyone can critique this web page for me, the URL is > http://chicledia.bizland.com/tcdwebsite.html . Since you're on this list, I'm guessing you're interested in learning to do things right instead of just good enough to pa

Re: [css-d] Border around central container

2006-04-01 Thread Kenny Graham
I usually set the gradient as a graphic on html, and give body a solid background. I think you'll need to use divs instead for IE5 support, but i'm not sure on that. This is all assuming a fixed width. For a fluid width, it gets icky. _

Re: [css-d] images + markers in lists?

2006-02-07 Thread Kenny Graham
Most browsers use padding for the list indentation, but IE uses margins. (or is it the other way around?) If you set margins on the s to zero (or whatever you need) then specify an indentation using padding, it should look the same in various browsers. _

Re: [css-d] problem with table rows

2006-01-30 Thread Kenny Graham
Add margin-top: 0; margin-bottom: 0; to your table.mapSearch input rule __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- h

[css-d] Missing background in opera

2005-11-06 Thread Kenny Graham
I can't figure out why a background image is missing in Opera. :( http://www.kennygraham.net/projects/herogeeks/ The CSS file in question is: http://www.kennygraham.net/projects/herogeeks/styles/content.css The background image of #contentouter is missing in Opera. Am I just overlooking somethin

Re: [css-d] Using of tbody.

2005-10-24 Thread Kenny Graham
> Can anybody suggest a way to make this work? It might be confused because you didn't close your thead and tbody elements. Cant test if that works right now, but it's worth a try. __ css-discuss [EMAIL PROTECTED] http://www.css-