|
|
#19 (permalink) | |
|
Registered User
Seasoned Poster
Joined in Dec 2007
42 posts
Gave thanks: 4
Thanked 2 times
|
Quote:
|
|
|
|
|
|
|
#20 (permalink) | |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,282 posts
Gave thanks: 23
Thanked 39 times
|
Quote:
|
|
|
|
|
|
|
#21 (permalink) |
|
4-8-15-16-23-42
Excelling Contributor
Joined in Jul 2007
Lives in Australia, turn left at America
Hosted on Luna & Nexus (dedicated)
774 posts
Gave thanks: 36
Thanked 29 times
|
I like it, it's very clean.
Could do with some pink, though... :]
__________________
|
|
|
|
|
|
#22 (permalink) |
|
Cass Doesn't Sleep
Seasoned Poster
Joined in Mar 2008
Lives in Michigan
Hosted on SH138
78 posts
Gave thanks: 5
Thanked 6 times
|
Very nice job.
Clean, professional, works well in a wide range of resolutions. Did you Code:
{
position : absolute;
left : 50%;
margin-left : -375px;
}
|
|
|
|
|
|
#23 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,282 posts
Gave thanks: 23
Thanked 39 times
|
Thanks caseylee, pink, haha, I don't think so.
cass_is_awesome, thanks also, nope just did it, well, see below. Code:
<div align="center">
<div id="container">
<div id="header">
</div>
<div id="nav">
</div>
<div id="content">
</div>
<div id="footer">
</div>
</div>
</div>
</body>
</html>
|
|
|
|
|
|
#24 (permalink) | |
|
after g, before i
Super #1
Joined in Jul 2004
Hosted on Gojira
7,869 posts
Gave thanks: 44
Thanked 127 times
|
Quote:
Code:
<div align="center"> |
|
|
|
|
|
|
#25 (permalink) | |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,282 posts
Gave thanks: 23
Thanked 39 times
|
Quote:
cass_is_awesome and H, I appreciate the hints. |
|
|
|
|
|
|
#26 (permalink) | |
|
Cass Doesn't Sleep
Seasoned Poster
Joined in Mar 2008
Lives in Michigan
Hosted on SH138
78 posts
Gave thanks: 5
Thanked 6 times
|
Quote:
Just to kind of break down what it does, in case you or anyone else didn't know: Let's say, for the sake of argument, that we're working with an 800 pixel box named "box" Code:
.box{
width : 800px;
height : 400px;
position : absolute;
left : 50%;
Code:
margin-left : -400px; } Code:
margin : 0 0 -400px 0; } Also, if you're going to be using a background image in the body{} section of your CSS, make sure to position it to top center, that way, it will react the same way as your container that's centered in the screen. Fun stuff. |
|
|
|
|
| This user thanks cass_is_awesome for this great post! | wgm (March 12th, 2008) |