User talk:Lainiwakura/NewMainPagePrototype

From Wurmpedia
Jump to navigation Jump to search

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? --Joshu 08:04, 21 June 2006 (CDT)
I've never really noticed any slowdowns with it in Firefox, though you're probably right if you mean IE. :P
Doesn't matter really now since I'm not using it anymore, and I've finished with this prototype. Also now there's a :new mainpage that Ancient did, it'll never get used anyhow. I've just been tweaking it since the bug :with the layout was really getting on my nerves...so I finally got the babel to line up on :the left...Yay! ^_^

-moz-border-radius: 10px;

^Everything is nice and rounded in Firefox now. :) --duckie0fq.gifLain Iwakura 10:14, 22 June 2006 (CDT)