HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
background image centering
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
beginner.html



Joined: 02 Aug 2007
Posts: 365

PostPosted: Mon May 12, 2008 1:55 pm     background image centering Reply with quote

I'm having difficulty centering this background image I put in here:

Code:

<style type="text/css">
body
{
background-image:
url('bg_page_container.gif');
background-repeat: repeat-y;
width:2px;
position:absolute;
left:10px;
</style>


Is there something wrong? Am I missing something? I tried left: 20px (for example). Nothing worked.
quartzy



Joined: 26 Dec 2007
Posts: 400

PostPosted: Mon May 12, 2008 4:05 pm     re Reply with quote

really I need to see a picture of it on your page. But I do not think many browsers support images under 3px.
beginner.html



Joined: 02 Aug 2007
Posts: 365

PostPosted: Mon May 12, 2008 4:30 pm     Reply with quote

Hi. I somehow got it to work. Thanks.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial