CSS Help.. Im new to it!!

This is a discussion on "CSS Help.. Im new to it!!" within the Starting Out section. This forum, and the thread "CSS Help.. Im new to it!! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 6th, 2007, 13:59
New Member
Join Date: Jul 2007
Location: london
Age: 20
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation CSS Help.. Im new to it!!

http://www.neopets.com/browseshop.phtml?owner=45deset45 hi i need help making the background center and not tiled and maybe expanded for all resolutions and browsers? is it posiible? thanks
Reply With Quote

  #2 (permalink)  
Old Jul 6th, 2007, 14:00
New Member
Join Date: Jul 2007
Location: london
Age: 20
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

just look at the source code for the page and if u can; send me the relevant codes to sort it out thanks
Reply With Quote
  #3 (permalink)  
Old Jul 6th, 2007, 14:21
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: CSS Help.. Im new to it!!

All I get is a login box
Reply With Quote
  #4 (permalink)  
Old Jul 6th, 2007, 14:25
New Member
Join Date: Jul 2007
Location: london
Age: 20
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

oh.. ermmm heres the code for it... i managed to center the background but now i need the rest of the stuff centered bcos it appears slighlty to the left from the center...

<style>body {background:url(http://i89.photobucket.com/albums/k2...m/AvatarBG.gif) fixed; background-position: 50%; }
#main {background:none; border:0px;}
#header, #footer {display:none;}
#ban{display: none;}
hr{display:none;}
#n{display:none}
#ban_bottom{display:none}
.adBox2{display:none}
.footOverlay{display:none;}
.ad_wrapper_fixed{display:none}
.sidebarModule {display:none}
body {scrollbar-base-color:#27BF00;}
td, p, body, a, b{COLOR:#27BF00;FONT-FAMILY:Verdana;FONT-SIZE:10pt;}
A:LINK{color:#000000;FONT-FAMILY: Verdana;font-size:10pt;}
A:VISITED{color:#000000;FONT-FAMILY:Verdana;font-size:10pt;}
A:HOVER{color:#ff0000;FONT-FAMILY:Verdana;font-size:10pt;text-decoration:none;}
p table {width:530; border:0px dotted ;background:#00000;}
td img {border:0px;}
#content {width:1%; position: relative; left: 125px; border:1px;}
td img {border:0px;}
</style>
<center>__________________________________________ _<br><br>
<a href="<A href="http://www.neopets.com/addpet.phtml">Create</a">http://www.neopets.com/addpet.phtml">Create</a> | <a href="<A href="http://www.neopets.com/petcentral.phtml">Central</a">http://www.neopets.com/petcentral.phtml">Central</a> | <a href="<A href="http://www.neopets.com/explore.phtml">Explore</a">http://www.neopets.com/explore.phtml">Explore</a> | <a href="<A href="http://www.neopets.com/gameroom.phtml">Games</a">http://www.neopets.com/gameroom.phtml">Games</a> | <a href="<A href="http://www.neopets.com/neomessages.phtml">Mail</a">http://www.neopets.com/neomessages.phtml">Mail</a> | <a href="<A href="http://www.neopets.com/objects.phtml">Shops</a">http://www.neopets.com/objects.phtml">Shops</a> | <a href="<A href="http://www.neopets.com/neoboards/index.phtml">Boards</a">http://www.neopets.com/neoboards/index.phtml">Boards</a> | <a href="<A href="http://www.neopets.com/nf.phtml">News</a">http://www.neopets.com/nf.phtml">News</a> | <a href="<A href="http://www.neopets.com/stuff.phtml">Stuff</a">http://www.neopets.com/stuff.phtml">Stuff</a> | <a href="<A href="http://www.neopets.com/help.phtml">Help</a><br">http://www.neopets.com/help.phtml">Help</a><br>
<center><img src="http://i105.photobucket.com/albums/m.../SophieTop.png" width="610" height="230"><br><br>
Hello and welcome! I'm so glad you stopped by. Here you'll find all of my stuff. As you see, I have quite a variety. Pretty impressive, eh? *shrugs* Well, I try. Have a nice day and come back soon!<br><br><br><br>
Reply With Quote
  #5 (permalink)  
Old Jul 6th, 2007, 14:26
New Member
Join Date: Jul 2007
Location: london
Age: 20
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

any help wil be appreciated thanks
Reply With Quote
  #6 (permalink)  
Old Jul 6th, 2007, 14:33
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

to center div's you only need to add
margin: 0 auto;

to the css of each div
Reply With Quote
  #7 (permalink)  
Old Jul 6th, 2007, 14:43
New Member
Join Date: Jul 2007
Location: london
Age: 20
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

so in that code up there.. where do i add the margin: o auto; part? bear with me please im not to good with css html or any other sort of coding
Reply With Quote
  #8 (permalink)  
Old Jul 6th, 2007, 15:06
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

I'm guessing here because your html doesn't really make sense. I think you just posted part of it because I can't see any div's.
So I would think you'd want to center this:
Code: Select all
 #header, #footer {display:none;
  margin: 0 auto;
}
If you have the site online, could you send a link.

Last edited by Lchad; Jul 6th, 2007 at 15:06. Reason: typo
Reply With Quote
  #9 (permalink)  
Old Jul 6th, 2007, 15:14
New Member
Join Date: Jul 2007
Location: london
Age: 20
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

thank u it works perfectly thanks
Reply With Quote
  #10 (permalink)  
Old Jul 6th, 2007, 16:19
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Help.. Im new to it!!

Oh that's good! You're welcome!
Reply With Quote
Reply

Tags
background, css

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:51.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43