[css-d] Semantic UL Class Name

2009-03-03 Thread Brian Hazelton
different information. The site, in case you want to dig deeper is http://www.danville302.org Thanks, Brian Hazelton __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http

[css-d] accessible background images

2009-04-03 Thread Brian Hazelton
I was looking at the accessibility of my site, which is not up yet so i cannot post a link. I came across a weird find...when i disable background images, the body text disappears because i use a white font color because the background image is almost black...how would i keep it white but make

[css-d] footer xhtml and css valid

2009-04-05 Thread Brian Hazelton
I have a web design company and was wondering if it is still common practice to put the links to w3c in the footer if the pages validate for xhtml and css...i was looking around some other professional sites, and cannot see any that put that info in the footer...is this an outdated practice?

[css-d] Acronyms

2009-04-06 Thread Brian Hazelton
I was wondering, if you use an acronym more than once on a page, do you define it every time or just the first occurrence on a page? __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d

Re: [css-d] Condensing BORDER-xxx-STYLE

2009-04-12 Thread Brian Hazelton
you can take all of it out, borders by default are none so it does not need to be there in the first place On Sun, 2009-04-12 at 11:03 -0700, trevor bayliss wrote: How can I condense this CSS? Is it possible? thank you BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none;

Re: [css-d] Condensing BORDER-xxx-STYLE

2009-04-12 Thread Brian Hazelton
sorry, I did not realize that you were referring to an image border (which by default is not none). My answer earlier is wrong for images. On Sun, 2009-04-12 at 14:38 -0400, David Laakso wrote: trevor bayliss wrote: How can I condense this CSS? Is it possible? thank you

[css-d] proper use of cite

2009-04-12 Thread Brian Hazelton
If I put in the footer site by xxx would that be a proper use of cite or should I just use a p? __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ --

Re: [css-d] proper use of cite

2009-04-12 Thread Brian Hazelton
thank you, that was very insightful, i will probably use a variation of that (not include so much information as i just want to put a link back to my company) On Sun, 2009-04-12 at 21:03 +0100, Christian Heilmann wrote: Brian Hazelton wrote: If I put in the footer site by xxx would

Re: [css-d] How to set div opacity

2009-04-12 Thread Brian Hazelton
On Sun, 2009-04-12 at 21:37 +0200, Els wrote: Chike Loney wrote: How do I set the opacity of a div to let's say 50% opacity:0.5; http://www.w3.org/TR/css3-color/#opacity Not sure which browsers support it, and also has the disadvantage that the text in the div will also become

Re: [css-d] Condensing BORDER-xxx-STYLE

2009-04-12 Thread Brian Hazelton
On Sun, 2009-04-12 at 14:53 -0700, trevor bayliss wrote: --- On Sun, 4/12/09, David Laakso da...@chelseacreekstudio.com wrote: From: David Laakso da...@chelseacreekstudio.com Subject: Re: [css-d] Condensing BORDER-xxx-STYLE To: bayliss_tre...@yahoo.com Cc:

Re: [css-d] Condensing BORDER-xxx-STYLE

2009-04-12 Thread Brian Hazelton
On Mon, 2009-04-13 at 09:14 +0900, Philippe Wittenbergh wrote: On Apr 13, 2009, at 7:01 AM, Brian Hazelton wrote: Really interesting link thanks. Last question on the subject, is it impossible to condense this code? (As the borders are different I imagine it is) Thanks: BORDER

Re: [css-d] Vertically centering text in a paragraph

2009-04-13 Thread Brian Hazelton
You can apply a class to the paragraphs that are together and make the line height the same as the height of the image and then st vertical-align to middle. __ css-discuss [cs...@lists.css-discuss.org]

Re: [css-d] Vertically centering text in a paragraph

2009-04-13 Thread Brian Hazelton
sorry, that was bad information. I just tried it and while it does make it vertically centered, it adds huge space because of the line height. __ css-discuss [cs...@lists.css-discuss.org]

Re: [css-d] Vertically centering text in a paragraph

2009-04-13 Thread Brian Hazelton
does IE support display:table or display:table cell though? I could have sworn it didn't. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ --

Re: [css-d] Get rid of top space

2009-04-13 Thread Brian Hazelton
body margin and padding set to 0 and the first element set to margin-top 0 __ 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

Re: [css-d] Get rid of top space

2009-04-13 Thread Brian Hazelton
make p margin:0px instead of the 0 0 1em, I just tried it and that is what was screwing you up. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ --

[css-d] OFF TOPIC (webpage size)

2009-04-13 Thread Brian Hazelton
Just out of curiosity, if i had a page with a width of 768px total, and the rest is a subtle bg, would that be too small of a width? __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d

[css-d] background images

2009-04-14 Thread Brian Hazelton
When should I use an image and when should i use it as a background image. Since CSS allows designers to seperate content from styling, when should I use the image tag or should I never use the image tag? __ css-discuss

Re: [css-d] background images

2009-04-14 Thread Brian Hazelton
I have been told by a couple people this is off topic, I am not sure how and to avoid angering eric any more I would like to get a clarification as to how it is off topic and would like to apologize to everyone if it is indeed off topic. Thanks

Re: [css-d] IE6/IE7 border problem on list items (wrapping)

2009-04-15 Thread Brian Hazelton
instead of display:inline try float:left, it won't allow the items to wrap, if it is too long for the line, it will bring it down to the next. This may not be the best answer but it should work. __ css-discuss

[css-d] Default Style Values

2009-04-23 Thread Brian Hazelton
I was wondering if there is a detailed list or stylesheet of all of the html elements and the default styling. For example, the margins, padding, font weight, font size...anything that can be changed in css. Is there any thing like that?

Re: [css-d] Vertical Align Theory

2009-04-23 Thread Brian Hazelton
The benefit of using display:table-cell over an actual table is that if the text is not tabular, it does not belong in a table. Using display:table-cell will allow you to mimic the display of a table cell while being semantically correct. Another thing to note is that not all browsers implement

Re: [css-d] Default Style Values

2009-04-23 Thread Brian Hazelton
thank you everybody, that was exactly the information i was looking for. __ 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

Re: [css-d] Reviewing work

2009-04-24 Thread Brian Hazelton
Jason add overflow:hidden to the #NavBar id. The problem is that the navigation was breaking into two lines because when font increased, it was wider than the specified width. The reason it looked like blank space on the left of the left column was because the link is white and it was invisible,

Re: [css-d] Setting a link on replaced text

2009-04-28 Thread Brian Hazelton
Tim, I have set up an example that only contains the styling and html that is required for what you want to do (or at least what I think you want to do). It is located here http://test.danville302.org/bglink/ view the source code to see all of the information and the styling declarations. Hope it

Re: [css-d] styles in elements

2009-04-28 Thread Brian Hazelton
what they mean is inline styling, do a google search and you will see what they mean. I have not set up an email template yet (especially through css) so I do not know how to do it, but if you already figured out how to do the styling in the page, you will see that it will take very little effort.

Re: [css-d] UL wrapping around floated image - how do you not wrap?

2009-04-28 Thread Brian Hazelton
This can easily be done, set the left margin of the ul to the width of the image plus the whitespace on the left of the image and the right of the image. For instance, if the image were 20px from the right, the image was 200 px and there was 10px of whitespace to the right of the image, set the ul

Re: [css-d] Flowing block elements around floated elements

2009-04-29 Thread Brian Hazelton
:210px to the blockquote. Hope it helps, Brian Hazelton __ 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

Re: [css-d] Sprites and positioning links

2009-04-29 Thread Brian Hazelton
Anthony, one problem is that you declared the links as display:block. This is correct, but in order to have the lib link appear to the right instead of below metadata you will need to float metadata to the left. By default, a block level element is 100% width and therefore pushes the next element

Re: [css-d] Flowing block elements around floated elements

2009-04-30 Thread Brian Hazelton
dave, sorry for my previous suggestion, i misunderstood, if i understood correctly i would have told u to do what allen has told u to do. __ css-discuss [cs...@lists.css-discuss.org]

Re: [css-d] Sprites and positioning links

2009-04-30 Thread Brian Hazelton
i just examined the image closely...The heights are different between the default and the hover. The widths are the same though. I think once you make sure the image is exact (to the pixel) it should work right. __ css-discuss

Re: [css-d] IE 8

2009-05-04 Thread Brian Hazelton
I would listen to the suggestion as is. The reasoning behind what Court said (whether or not there are 20 instances, could be more could be less) is because since it is software, you are introducing additional code than the base code for iE. There could be bugs in MultipleIE and it will result in

Re: [css-d] centering the page

2009-05-09 Thread Brian Hazelton
try adding position:relative to the container __ 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 --

Re: [css-d] Image bullets and floated images

2009-05-11 Thread Brian Hazelton
The best that I can come up with is that since it is just a circle and not anything too intricate, you can just use the image as the list-style type...list-style:url(image name); the only problem with this is that the image is not directly in the center of the text. Hope this helps.

Re: [css-d] Problem with menu in IE7

2009-05-13 Thread Brian Hazelton
try adding position:relative to the menu and or the header id. I am on linux so unfortunately cannot test if it will work, but I had a problem similar to this a while ago. __ css-discuss [cs...@lists.css-discuss.org]

Re: [css-d] A simple question - h1 before p

2009-07-08 Thread Brian Hazelton
the code a little bit. What you could do is define a class for the h1 elements and define the bottom padding as zero. Then in the html all you have to do is add that class to any h1 which has a paragraph after it. Brian Hazelton http://veridian-systems.com

Re: [css-d] css validation help

2009-07-18 Thread Brian Hazelton
Philippe Wittenbergh wrote: Just 2 notes on this: On Jul 17, 2009, at 3:29 PM, Alan Gresley wrote: I would not recommend hacking your HTML with IE Conditional comments since they are not in one location and thus not easily removed. 1. If your website is larger than 3 pages

Re: [css-d] Can I apply :last-child to a class?

2009-09-06 Thread Brian Hazelton
Chang Huang wrote: Thanks you both. I've forgotten to mention that the list is dynamically generated, sorry, so it's not possible to predict the last 'special' item. I also tried li[class='special']:last-child with no success. I guess I'll have to use jQuery to do it. On 6 September,

Re: [css-d] How can I get rid of a gap under an image?

2009-09-23 Thread Brian Hazelton
I think the problem is the product div's border:1px solid #77; try setting the bottom-border to 0px after this line. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ

Re: [css-d] custom background image on menu items

2009-09-24 Thread Brian Hazelton
Bob Meetin wrote: I am trying to set custom background images for menu items on a menu auto-generated through a CMS. Them CMS gives both a class and an ID to each menu item, each has a numerical suffix. Example: div id=whatever ul li a

Re: [css-d] Hover Effects

2009-10-12 Thread Brian Hazelton
What I would do is have two hover properties in your css, I did not look into your html but I am guessing they are lists. Have a background hover property for each li that specifies the background color and then a seperate one for the a:hover property that changes the text color. The only

Re: [css-d] hello this is my first post i just can get this to look right in IE-any

2009-10-31 Thread Brian Hazelton
David Dorward wrote: 2009/10/31 Charles Miller chuckmil...@new.rr.com: Would you mind commenting on why HTML 4.01 Strict? And what the differences are? This interests me. Transitional is (more or less) Strict + Legacy junk that should be avoided. HTML is better supported than

Re: [css-d] Is there a simple way to center in an iframe?

2009-11-11 Thread Brian Hazelton
I have never done this but I wonder if using position:relative and margin:0 auto; together would make it center. It is worth a try. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d

Re: [css-d] Is there a simple way to center in an iframe?

2009-11-11 Thread Brian Hazelton
maybe if it is the only thing in the iframe he can just set it to block as well, if there are other elements in the iframe it could prove problematic doing it that way though. __ css-discuss [cs...@lists.css-discuss.org]