Log In · Register

 
 
Closed TopicStart new topic
align left
stefani_hsc
post Jul 29 2006, 10:05 PM
Post #1


Senior Member
***

Group: Member
Posts: 52
Joined: Apr 2005
Member No: 126,525



after add the splash page to my site, i was not able to align my whole blog to the left, but i did it b4 adding the splash!

anyone konws what's wrong?
 
RealOne
post Aug 3 2006, 10:07 AM
Post #2


Newbie
*

Group: Member
Posts: 3
Joined: Jul 2006
Member No: 444,091



i have same problem.

this is the code i use for splash..

<!-- start code provided by createblog.com -->
<script type='text/javascript'>
//Random Intro Splash Page by Mystical for Createblog.com
//Modified Intro Splash script by Micron
function enterSite() {
document.getElementById('splash').style.display = 'none';
var content = document.getElementsByTagName("center");
for (var i=0; i<content.length;i++) {
content[i].style.display = 'block';
}
return false;
}

if (document.title.slice(-10) == 'Xanga Site') {
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]='http://i28.photobucket.com/albums/c248/vStel/enter.jpg';

var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('</span></center><style type="text/css"> center {display:none;} .image {border:1px solid #dcdcdc;} </style><table height="100%" width="100%" id="splash"><tr><td align="center" valign="middle" style="text-align:center !important;"><a href="#" onclick="return enterSite();"><img src="'+myimages[ry]+'" border="0" class="image"></a></td></tr></table><center><span>');
}
</script>
<!-- end code provided by createblog.com -->
 
protos
post Aug 4 2006, 01:01 AM
Post #3


I listen to bands that don't even exist yet...
*****

Group: Member
Posts: 330
Joined: Sep 2005
Member No: 249,189



Since no one has helped you yet I'll try. I'm not sure, but I think you could change

CODE
<tr><td align="center"


to

CODE
<tr><td align="left"


that's the only thingI could see in the script
 
talcumpowder
post Aug 4 2006, 02:38 PM
Post #4


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

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



[ http://www.xanga.com/oh321its_fishcakey ]
Sorry, I borrowed your code. Anyways, just stick a </center> tag underneath the script. I am dead serious, that's all you need to do.
 

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