Difference between revisions of "User talk:Lainiwakura/NewMainPagePrototype"
Jump to navigation
Jump to search
(Talk) |
m (→Talk: i fail at wiki) |
||
Line 60: | Line 60: | ||
''alpha(opacity=50);'' | ''alpha(opacity=50);'' | ||
− | Opacity on items can cause some massive rendering slowdowns in browsers, notably when stacked. I know you're only using it in one spot, but is it really worth it, compared to manually halving the background color value? | + | :Opacity on items can cause some massive rendering slowdowns in browsers, notably when stacked. I know you're only using it in one spot, but is it really worth it, compared to manually halving the background color value? |
Revision as of 14:04, 21 June 2006
css dump;
<div style="margin: 0; background-color:#cef2e0; font-family: sans-serif; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding-left:0.4em; padding-top: 0.2em; padding-bottom: 0.2em;">
#container { width: 90%; margin: 10px auto; background-color: #fff; color: #333; border: 1px solid gray; line-height: 130%; } #top { padding: .5em; background-color: #ddd; border-bottom: 1px solid gray; } #top h1 { padding: 0; margin: 0; } #leftnav { float: left; width: 160px; margin: 0; padding: 1em; } #content { margin-left: 200px; border-left: 1px solid gray; opacity: .5;filter: alpha(opacity=50); padding: 1em; max-width: 36em; } #footer { clear: both; margin: 0; padding: .5em; color: #333; background-color: #ddd; border-top: 1px solid gray; } #leftnav p { margin: 0 0 1em 0; } #content h2 { margin: 0 0 .5em 0; }
Talk
alpha(opacity=50);
- Opacity on items can cause some massive rendering slowdowns in browsers, notably when stacked. I know you're only using it in one spot, but is it really worth it, compared to manually halving the background color value?