Re: [css-d] no background-color with your color warnings
Thank you for the reply, David Dorward wrote: On 15/06/06, Richard Allsebrook [EMAIL PROTECTED] wrote: The problem is that the validator seems to ignore the 'Cascade' part of cascading style sheets Actually, its the exact opposite. BECAUSE of the cascade, you can end up with your forground colour being displayed against a background colour (or vice versa) which effectively renders it invisible (and remember, your style sheets cascade with browser default stylesheets and user stylesheets. Now I guess the really dumb question. I have never set a background color for a link. That just seems strange to me. I have the appropriate color set in my div where the link appears. So it would seem that I now need to define a:link, a:hover, etc for each place where there may be a different background color for each div I may use a link in. That both kind of makes sense, but also would seem to make things far more complex then they need to be. Or is there something I could use when setting up (in this case) my links so that it would know to inherit the appropriate background color? Thank you Dale __ 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 -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] no background-color with your color warnings
Hello, Sorry if this is a foolish question, but I haven't found the answer elsewhere so far. I have a small site at http://www.bear.net/ - the css is at http://www.bear.net/css/default.css When I run it through the Wc3 css validator at http://jigsaw.w3.org/css-validator/validator?uri=http://bear.net/ it passes, however it gives a bunch of warnings almost all related to background-color or color For example: * Line : 15 (Level : 1) You have no background-color with your color : a:link * Line : 19 (Level : 1) You have no background-color with your color : a:visited * Line : 22 (Level : 1) You have no background-color with your color : a:hover * Line : 26 (Level : 1) You have no background-color with your color : a * Line : 31 (Level : 1) You have no color with your background-color : #header * Line : 76 (Level : 1) You have no background-color with your color : #header-items a * Line : 83 (Level : 1) You have no background-color with your color : #header-search-button:hover * Line : 83 (Level : 1) You have no background-color with your color : #header-search-button:hover * Line : 105 (Level : 1) You have no color with your background-color : #nav * Line : 128 (Level : 1) You have no background-color with your color : #nav a * Line : 133 (Level : 1) You have no background-color with your color : #nav a:hover * Line : 141 (Level : 1) You have no color with your background-color : #member-nav * Line : 167 (Level : 1) Same colors for color and background-color in two contexts #content and #member-nav ul li And many more. I guess I missed where I am supposed to, for example, set a background color for a:link, a:visited and so forth. Thank you for any clarity on this subject. __ 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 -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] spacing problem in IE windows
Hello, Having a spacing problem with IE 6.x on Windows. the URL is: http://www.conditioncritical.net/test.php the CSS is: http://www.conditioncritical.net/css/test.css The spacing 'problems' are with the top random image along the top, there is more white space in IE that doesn't appear in FireFox or Opera (both win). also, I had set 15px of space to the right so that the green background should show up, works in FireFox and Opera but not in IE. it works well in Safari 3.0.3 and IE 5.2 both on Mac. I'm stumped! Any suggestions? Thanks Dale __ 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 -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] site check / images in header question
Hello all, I hope this is not too foolish of a question. I am working on a site for a friend (I didn't select the colors g). The site is located at: http://www.conditioncritical.net/ and the css is at http://www.conditioncritical.net/css/style.css What I would like to do on this site can be seen at: http://test.conditioncritical.net/ (only the homepage at this location shows what I am trying to do with images in the top of the page - all of the menu links link to the main pages). Basically I want to have an image across the top of the content area as shown on the test page. However, the live site is of a fluid design and I am wondering if there is any way to accomplish a fluid design while having a top image. I imagine way to do this is to have the image much wider than is expected to be needed and somehow hide the excess width if the browser window is narrow. Unfortunately I don' t know how to accomplish such a feat. I would also love to have random images show up each time, but I realize that is outside of the scope of css. Once I know how to properly get the images displayed with a floating design, I will initially have a different image for each page. Random images might come later :) As part of the implementation of the top images I plan on changing the menus on the live site to the non-attached menus like on the test page, however, I have to stick with the same colors as on the live site. Thanks for any feedback/suggestions on the above and the site. Regards, Dale p.s. the css does validate, but with a few warnings. I am working on correcting those. And I do realize while the css does validate, it doesn't mean it is the most efficient code. __ 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 -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] looking for Suggestions/Gotcha's to avoid for a multi-stylesheet template type site.
Hello, I have done a few projects with css, but still consider myself a moderate beginner with especially css2. I have finally convinced the other people where I work to embrace css2 for a couple of specific projects. This is the reason for my question/request for recommendations/suggestions. Today alone, since I have re-joined this list I have seen many great references and have been studying them all day. We have a 'template' type site that our customers use that currently can be slightly customized with their logo and certain database driven content. However, they can not change any colors or layout. My task is to create a CSS based layout such that we can eventually create multiple stylesheets that our customers can choose and even write their own CSS for the provided content. I will also spend lots of time studying the wonderful csszengarden.com site as it realizes my ultimate goal - multiple unique styles. I do know I will need to offer 2 and 3 column layouts, at this time, I don't think a single column layout will be needed. So if anyone has any gotcha's I should watch out for, your input will be greatly appreciated. Regards, Dale __ 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 -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] trying to put h1 text at the bottom of an image
Hello, Trying to do something new (for me) with css. Using various bits and pieces I have learned from various sites (including Eric Meyer's great css/edge) I am trying to place header text at the bottom of the background image as shown on the below linked page. http://conditioncritical.net/test.php The css is at: http://conditioncritical.net/css/test.css I am sure I am just doing something very stupid to not get this to work. I am testing with FireFox on Mac and Windows. Thanks in advance! Dale __ 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 -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/