|
|
Killersites.com Forum » List all forums » » Forum: CSS - Styling your pages with Cascading Style Sheets. » » » Thread: CSS Question: is this the best and/or only way to do this? » » » » Post: CSS Question: is this the best and/or only way to do this? |
Print at Jun 20, 2013 8:23:52 AM |
| Posted by ewwatson at Jul 6, 2008 11:54:54 AM |
|
CSS Question: is this the best and/or only way to do this? Before I multiply this times 50+ pages is this the best and/or only way to do this? I did a style sheet switcher. And I have two sets of images placed at the bottom right of the #footer. One set purple - and one set green. I've done it with the following rules. I just don't like having to put both set of images in the html, but I see no other way???? Thanks for having a look! http://www.visibilityinherit.com in my styles.css #footer #greensymbols { position: absolute; top: 20px; right: 40px; } #footer #purplesymbols { position: absolute; top: 20px; right: 40px; } and in my styles-alt.css #footer #greensymbols { display: none; } And just by placing the green set first in the html it is the only one to display until the alternate style sheet is switched on. I wonder if it will perform like that for older (all) browsers? Or for safety sake should I use a z-index also? ---------------------------------------- Eric :~) Knowledge is Power |
|
|
Current timezone is GMT Jun 20, 2013 8:23:52 AM |