Log In · Register

 
 
Closed TopicStart new topic
How to put the "Div" into the left hand side, Calling 4 help!Urgent!
beclovesang
post Nov 24 2005, 11:35 PM
Post #1


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



I am a Honkong xangan and I am trying my very best to type my question
in English, hope that u guys know what I am talking abt. blink.gif

For reference,my xanga: http://www.xanga.com/beclovesang

Q: I would like to use this code to put my "div" into the left hand side



I failed,but someone can use it normally! --> http://www.xanga.com/TiGgEr_EnDy1

when I use this code,the right border of my "div" seems fixed,
but the left border continuosly twinking!

I dunno wt is the problem with my xanga,could any1 plz help me to find it out?
You are welcome to read my HTML content page.

thanks a lot! pinch.gif
 
talcumpowder
post Nov 24 2005, 11:46 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Take out the code you have now and use this.
CODE
<div align="left" style="width: 650px; height: 500px; overflow: auto; padding-top: 5px; padding-right: -5px; padding-left: -5px; background: white url('http://tinypic.com/an25xe.gif') no-repeat fixed right bottom;  border:10px solid #FF9F40; filter:alpha(opacity100);">
 
beclovesang
post Nov 24 2005, 11:54 PM
Post #3


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



Thx 4 help, but problem is still remained.
Contents in the "div" moved to the left of "div",
but not the "div".What I want is to put the whole "div"
into the left hand side of the brower.

any other solutions?
 
talcumpowder
post Nov 25 2005, 12:51 AM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Because you need to set your xanga to "left" for page alignment. If it's set to center, of course everything will be in the center.
 
beclovesang
post Nov 25 2005, 01:22 AM
Post #5


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



Got it! It's fixed, thx for help! biggrin.gif

another question:
how abt I want to put it into the right hand side?
There are no "right" page alignment for me to choose _unsure.gif
 
talcumpowder
post Nov 25 2005, 01:23 AM
Post #6


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



CODE
<div align="right" style="width: 650px; height: 500px; overflow: auto; padding-top: 5px; padding-right: -5px; padding-left: -5px; background: white url('http://tinypic.com/an25xe.gif') no-repeat fixed right bottom;  border:10px solid #FF9F40; filter:alpha(opacity100);">
 
beclovesang
post Nov 25 2005, 01:47 AM
Post #7


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



I will try it~
Thank you! laugh.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: