Help with CSS style sheeets.

  • Poly
  • Guru
  • Guru
  • User avatar
  • Joined: Jul 31, 2004
  • Posts: 1054
  • Loc: Same place you left me.
  • Status: Offline

Post August 6th, 2004, 8:32 am

I have my entire page designed and coded. I need somebody to help me get the page so it is centered on in the browser, and so i get a black background around the page. I can send the files to you if you need them. Rite now the page is setup at 900px by 700px. I would like that to be centered. Thx for your help.

Poly

P.S. I think this would be a CSS style sheet. Or am i rong? Thx.
Every job is a self-portrait of the person who did it: Autograph your work with excellence.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 6th, 2004, 8:32 am

  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 04, 2004
  • Posts: 2136
  • Loc: Louisville, Ky
  • Status: Offline

Post August 6th, 2004, 12:18 pm

try
Code: [ Select ]
#container{
  width:700px;
  margin-left:auto;
  margin-right:auto;
  position:relative;
}
  1. #container{
  2.   width:700px;
  3.   margin-left:auto;
  4.   margin-right:auto;
  5.   position:relative;
  6. }


and put all of your page within that div

check out rtm's site for more info on this http://www.caffeinefuelled.net/layouts/ ... tered2.php
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 20, 2004
  • Posts: 524
  • Loc: NC, USA
  • Status: Offline

Post August 6th, 2004, 1:26 pm

just a question. but what is your end user gonna see if they have an 800x600 resolution? I'm guessing they won't be big fans...
Image
Give a man a fish he eats for a day. Teach a man to fish he eats for a lifetime.
  • Poly
  • Guru
  • Guru
  • User avatar
  • Joined: Jul 31, 2004
  • Posts: 1054
  • Loc: Same place you left me.
  • Status: Offline

Post August 6th, 2004, 3:20 pm

they probably wont, but im hoping everybody will be viewing in 1024x768 or higher cuz its for a gaming website. Ill also state on the website that it is best viewed in 1024x768.
Every job is a self-portrait of the person who did it: Autograph your work with excellence.
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 04, 2004
  • Posts: 2136
  • Loc: Louisville, Ky
  • Status: Offline

Post August 6th, 2004, 3:39 pm

youll be suprised how many people use 800x600. But I would imagine the majority will be using 1024 and above. It is not going to look good at all on 800 especially if it is centered
  • Poly
  • Guru
  • Guru
  • User avatar
  • Joined: Jul 31, 2004
  • Posts: 1054
  • Loc: Same place you left me.
  • Status: Offline

Post August 6th, 2004, 4:26 pm

ok what would you suggest then to make it fill our the entire page on what every resolution your using. if u need them i can send the files i have for the site.
Every job is a self-portrait of the person who did it: Autograph your work with excellence.
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 04, 2004
  • Posts: 2136
  • Loc: Louisville, Ky
  • Status: Offline

Post August 6th, 2004, 5:06 pm

I would at least have it fill about 750 px width, that way it will virtually fill the width of 800 resolution. and everyone else it will be smaller and centered. Most of the sites I see do this. You could stretch it in a table, but I wouldn't recommend that.
  • Poly
  • Guru
  • Guru
  • User avatar
  • Joined: Jul 31, 2004
  • Posts: 1054
  • Loc: Same place you left me.
  • Status: Offline

Post August 6th, 2004, 5:29 pm

im looking for a way to stretch it.

the site isnt done yet, but you can see what i have here http://members.cox.net/kmartcop

if you could tell me how to do this it would be great. i would like to stretch it or center it and put a black background around everything so it wont show any white. If you could help with that it would be great. thx ploy
Every job is a self-portrait of the person who did it: Autograph your work with excellence.
  • cjxxi
  • Expert
  • Expert
  • No Avatar
  • Joined: Aug 02, 2004
  • Posts: 564
  • Loc: Fort Worth, TX
  • Status: Offline

Post August 6th, 2004, 5:39 pm

8) May be i can help , send me the code and source files :wink:











------
networklatino.com
-----------------------------------
  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 04, 2004
  • Posts: 2136
  • Loc: Louisville, Ky
  • Status: Offline

Post August 6th, 2004, 8:37 pm

Code: [ Select ]
body{
background-color:black;
}
  1. body{
  2. background-color:black;
  3. }
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Aug 07, 2004
  • Posts: 1853
  • Status: Offline

Post August 7th, 2004, 11:40 am

aoeu
  • Poly
  • Guru
  • Guru
  • User avatar
  • Joined: Jul 31, 2004
  • Posts: 1054
  • Loc: Same place you left me.
  • Status: Offline

Post August 7th, 2004, 1:53 pm

arite thx guys, can i delete a forum, cuz i have had help solving both of these problems, this and my motion button problems, so can i lock them or delete the somehow?

thx poly
Every job is a self-portrait of the person who did it: Autograph your work with excellence.

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 100 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.