Log In · Register

 
height of boxed xanga
crackbaby
post Jan 15 2007, 10:56 PM
Post #1


Newbie
*

Group: Member
Posts: 7
Joined: Oct 2006
Member No: 471,745



I need help with the height of my boxed xanga
here's my page:

http://www.xanga.com/FelonyKilljoy

I have to brag a little, with the help of this forum I've set up my page all by my little self and am quite proud.
Anyway, I was wondering if there is a way to make the height equal to that of the page.... does that make sense?
I basically don't want a scroll bar for the height, i just want it to go all the way to the bottom
I've searched A LOT and can't find an answer, so i thought I'd just ask.
This is the code I'm using:

CODE
<DIV id="contents" align="center" valign="middle" style="BORDER-RIGHT: #000000 2px solid; BORDER-TOP: #000000 2px solid; FILTER: alpha(opacity=100); OVERFLOW: auto; BORDER-LEFT: #000000 2px solid; WIDTH: 655px; BORDER-BOTTOM: #000000 2px solid; HEIGHT: 1000px; BACKGROUND-image: url('http://xf9.xanga.com/0c8d1713d9c31101509906/b71550055.jpg')";>


Thank you
-Felony
 
 
Start new topic
Replies (1 - 12)
*digital.fragrance*
post Jan 15 2007, 11:31 PM
Post #2





Guest






By eliminating "HEIGHT: 1000px;" that should take care of it. If it doesn't, can you post your entire code?
 
crackbaby
post Jan 16 2007, 09:03 PM
Post #3


Newbie
*

Group: Member
Posts: 7
Joined: Oct 2006
Member No: 471,745



QUOTE(digital.fragrance @ Jan 15 2007, 11:31 PM) *
By eliminating "HEIGHT: 1000px;" that should take care of it. If it doesn't, can you post your entire code?



It works in IE, but for somereason it doesn't load the bottom half of the page in firefox.
i think thats my fault though, i went back and deleted the links to my photos and probably did something wrong haha
thank you so much!!

Edit:
damnit, the minute i hit "add reply" it stopped working... just my luck
I got an error message in IE that said it was
line 118
character 72
and that it was an "unterminated string constant"
i have no idea what that means :-(
i'd be more than happy to post my whole code, but i dont know what you mean by that
 
*digital.fragrance*
post Jan 16 2007, 10:16 PM
Post #4





Guest






Post everything that is in your Custom Header, and you Website Stats. I'm sure we can figure out something between all of us _smile.gif
 
crackbaby
post Jan 17 2007, 03:03 PM
Post #5


Newbie
*

Group: Member
Posts: 7
Joined: Oct 2006
Member No: 471,745



ok here goes
and thanks again for helping me :-)

header:

CODE
<DIV id="contents" align="center" valign="middle" style="BORDER-RIGHT: #000000 2px solid; BORDER-TOP: #000000 2px solid; FILTER: alpha(opacity=100); OVERFLOW: auto; BORDER-LEFT: #000000 2px solid; WIDTH: 655px; height: 1000px; BORDER-BOTTOM: #000000 2px solid; BACKGROUND-image: url('http://xf9.xanga.com/0c8d1713d9c31101509906/b71550055.jpg')";>

<!-- begin code provided by createblog.com -->
<script language="JavaScript">
alert("Comment and subscribe!")</SCRIPT>
<!-- end code provided by createblog.com -->

<style type="text/css">
/*
Did You Know? Remover - xanga.com/add_ons
*/
Table.Announcements TD {display: none;};
</style>

<br><center><img border="2" src="http://www.ketoforum.de/diet-ticker/pic/weight_loss/3801/"></center>

<table bgcolor="#000000">
<tr><td bgcolor="#ffffff">
<font face="webdings" size="40">!</font><FONT face="Comic Sans MS" color=#ff0080 size=7><STRONG>F<FONT color=#000000>elony</FONT> K<FONT color=#000000>illjoy</FONT><FONT color=#ff0080>™</FONT></STRONG></FONT><font face="webdings" size="40">!</font></td>

<style type="text/css">
A:link{color:COLOR;text-decoration:none}
A:visited{color:COLOR;text-decoration:none}
A:active{color:COLOR;text-decoration:none}
A:hover{color:COLOR;text-transform: uppercase;}
--></STYLE>

<!-- start code provided by createblog.com -->
<center><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/" target=blank>Xanga</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/Private/home.aspx?user=">Home</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/logout.asp">Log-out</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/private/SubscribeTo.aspx?user=Felonykilljoy">Subscribe</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
</center><br /><br />
<!-- end code provided by createblog.com -->

<!-- start code provided by createblog.com -->
<style type="text/css">
table.navigation, table.footer { display:none; }
</style>
<!-- end code provided by createblog.com -->

<script>
titleContent = 'MODULE TITLE HERE';
moduleContent = '<DIV id=scroll3 style="OVERFLOW: auto; HEIGHT: 105px">

STUFF YOU WANT IN YOUR MODULE !

';
sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="100%" class="left"><tr><th valign="top" align="left" class="left">' + titleContent + '</th></tr><tr><td valign="top" class="left">' + moduleContent)
sub.insertAdjacentHTML('beforeBegin','<BR>');
</script>




Webstats:
CODE
<!-- begin code provided by createblog.com -->
<!-- Email It Envelope Script by Sherrys_Designs-->
<script language="javascript">
<!--
var links = document.getElementsByTagName ('a');
for (var l = 0; l < links.length; l++) {
str = links[l].innerHTML;
if (str.match (/\d+:\d+ (am|pm)/i)) links[l]
else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "<img src=http://img.photobucket.com/albums/v368/sherrys_designs/pixels/envelope.jpg border='0'>");
}//-->
</script>
<!-- end code provided by createblog.com -->

<script type="text/javascript">
function adjustSirListHeight()
{
   // *** define the height of your SIR-list in the line below
   var sirListHeight = '120px';
   var allTables = document.getElementsByTagName('tbody');
   for (i=0; i < allTables.length; i++)
   {
       if ((allTables[i].innerHTML.indexOf('Blogrings') != -1) &&
           (allTables[i].innerHTML.toUpperCase().indexOf('<TABLE') == -1))
       {
           sirlist = allTables[i].lastChild;
           temp = sirlist.firstChild.innerHTML;
           sirlist.removeChild(sirlist.firstChild);
           td = document.createElement('td');
           div = document.createElement('div');
           div.style.width = '190px';
           div.style.height = sirListHeight;
           div.style.overflow = 'auto';
           div.innerHTML = temp;
           td.appendChild(div);
           sirlist.appendChild(td);
           break;
       }
   }
}
if (navigator.userAgent.indexOf('Mac') == -1)
   if ((document.URL.indexOf('weblogs') == -1) &&
       (document.URL.indexOf('guestbook') == -1) &&
       (document.URL.indexOf('events') == -1) &&
       (document.URL.indexOf('reviews') == -1))
       adjustSirListHeight();
</script>

<style type="text/css">
/*
Footer Remover - xanga.com/add_ons
*/
table.footer, table.footernav {display: none;};
</style>

<!-- Begin HTML Script provided by Blogring.net -->
<style type="text/css">
#profInterests, #ProfileModule1_hplProfile, #ProfileModule1_hplGuestbook, #profMember, #ProfileModule1_lblRegister

{display: none}
</style>
<!-- End HTML Script provided by Blogring.net -->

<style type="text/css">.left, .blogbody, table.footer, .standard, .leftmodulefontcolor, td, p {font: 10pt, "Comic Sans MS", serif; color: #000000; text-align:justify;}</style>
<body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false" oncontextmenu="return false">

<!-- start code provided by createblog.com -->
<script type="text/javascript">
<!--
//removes Subscriptions, My Blogrings, Posting Calender, any Tags Modules
//by Edw @ forum.scriptshelf.com
//supports firefox

// 1 = yes, 0 = no
RemoveSubscriptionsModule = 0;
RemoveMyBlogringsModule = 1;
RemovePostingCalender = 1;
RemoveTopTags = 0;
RemoveTagsInCommentPage = 0;

// DO NOT EDIT BEYOND THIS LINE

//man-made removeNode() for non-IE browser
if(window.Node){
Node.prototype.removeNode=function(removeChildren){
if(removeChildren)
return this.parentNode.removeChild(this);
else{
var range=document.createRange();
range.selectNodeContents(this);
return this.parentNode.replaceChild(range.extractContents(),this);
}
}
}

var doc = document;
xUrl = doc.location.href.toLowerCase();
var re = /xanga.com\b\/[a-zA-Z]{1,}[\da-zA-Z_]{1,}\/[0123456789]+\/[\da-z-]{0,}.html/;
var nothome = /xanga.com\b\/profile.aspx|xanga.com\b\/guestbook.aspx|xanga.com\b\/contentlatest.asp|xanga.com\b\/private\//;

function checkIfModulesExists() {
if (!(xUrl.match(re) || xUrl.match(nothome))) {
return true;
} else {
return false;
}
}

function RemoveModules() {
var subscription = document.getElementById("subTitle").parentNode.parentNode.parentNode.parentNode.parentNode;
var calender= document.getElementById("aspnetForm");
if (RemoveSubscriptionsModule == 1){
subscription.nextSibling.removeNode(true);
subscription.removeNode(true);
}
if (RemoveMyBlogringsModule == 1){
var blogring= calender.previousSibling.previousSibling.previousSibling;
blogring.nextSibling.removeNode(true);
blogring.removeNode(true);
}
if (RemovePostingCalender == 1){
calender.removeNode(true);
}
if(RemoveTopTags == 1){
document.getElementById("xmoduletags").removeNode(true);
}
}
if(RemoveTagsInCommentPage == 1){
if (xUrl.match(re)){
document.getElementById("xmoduletags").removeNode(true);
}
}

if (checkIfModulesExists()) RemoveModules();
//-->
</script>
<!-- end code provided by createblog.com -->
 
*digital.fragrance*
post Jan 17 2007, 04:57 PM
Post #6





Guest






Kay, for your header, move you rdiv code :
CODE
<DIV id="contents" align="center" valign="middle" style="BORDER-RIGHT: #000000 2px solid; BORDER-TOP: #000000 2px solid; FILTER: alpha(opacity=100); OVERFLOW: auto; BORDER-LEFT: #000000 2px solid; WIDTH: 655px; height: 1000px; BORDER-BOTTOM: #000000 2px solid; BACKGROUND-image: url('http://xf9.xanga.com/0c8d1713d9c31101509906/b71550055.jpg')";>

to the VERY bottom of your page. See what that does for ya, and get back to me _smile.gif
 
crackbaby
post Jan 17 2007, 08:09 PM
Post #7


Newbie
*

Group: Member
Posts: 7
Joined: Oct 2006
Member No: 471,745



Moving it to the bottom of the header made an empty box on the top of the page, and then the rest of my xanga outside of the box and below it :-(
 
*digital.fragrance*
post Jan 17 2007, 08:54 PM
Post #8





Guest






Could you remove that height attribute again, and then let me know so I can view your page... it should work in IE5 - do you have that new version?
 
crackbaby
post Jan 17 2007, 09:12 PM
Post #9


Newbie
*

Group: Member
Posts: 7
Joined: Oct 2006
Member No: 471,745



i use firefox haha
ok, i put it at the bottom and took out the height
here's my page
http://www.xanga.com/FelonyKilljoy
 
*digital.fragrance*
post Jan 17 2007, 09:36 PM
Post #10





Guest






Okay. This is what I did:
1. Your div code is in the bottom, without the height.
2. I put all of you <script> codes together on the top.
3. I added a section in your <style> codes where a background image (the on that repeated in the blog) repeats.

How does FF treat that?

CODE
<script>
titleContent = 'MODULE TITLE HERE';
moduleContent = '<DIV id=scroll3 style="OVERFLOW: auto; HEIGHT: 105px">

STUFF YOU WANT IN YOUR MODULE !

';
sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="100%" class="left"><tr><th valign="top" align="left" class="left">' + titleContent + '</th></tr><tr><td valign="top" class="left">' + moduleContent)
sub.insertAdjacentHTML('beforeBegin','<BR>');
</script>

<script language="JavaScript">
alert("Comment and subscribe!")</SCRIPT>


<style type="text/css">
/*
Did You Know? Remover - xanga.com/add_ons
*/
Table.Announcements TD {display: none;};
</style>

<br><center><img border="2" src="http://www.ketoforum.de/diet-ticker/pic/weight_loss/3801/"></center>

<table bgcolor="#000000">
<tr><td bgcolor="#ffffff">
<font face="webdings" size="40">!</font><FONT face="Comic Sans MS" color=#ff0080 size=7><STRONG>F<FONT color=#000000>elony</FONT> K<FONT color=#000000>illjoy</FONT><FONT color=#ff0080>™</FONT></STRONG></FONT><font face="webdings" size="40">!</font></td>

<style type="text/css">
A:link{color:COLOR;text-decoration:none}
A:visited{color:COLOR;text-decoration:none}
A:active{color:COLOR;text-decoration:none}
A:hover{color:COLOR;text-transform: uppercase;}
body{

background-image:

url("'http://xf9.xanga.com/0c8d1713d9c31101509906/b71550055.jpg'");
background-repeat: repeat-y;
background-align: left;}
</STYLE>


<center><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/" target=blank>Xanga</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/Private/home.aspx?user=">Home</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/logout.asp">Log-out</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
<a href="http://www.xanga.com/private/SubscribeTo.aspx?user=Felonykilljoy">Subscribe</a><strong><font face="Webdings" size=2
color=Black>Y</strong></font>
</center><br /><br />



<style type="text/css">
table.navigation, table.footer { display:none; }
</style>



<DIV id="contents" align="center" valign="middle" style="BORDER-RIGHT: #000000 2px solid; BORDER-TOP: #000000 2px solid; FILTER: alpha(opacity=100); OVERFLOW: auto; BORDER-LEFT: #000000 2px solid; WIDTH: 655px; BORDER-BOTTOM: #000000 2px solid;>
 
crackbaby
post Jan 17 2007, 09:43 PM
Post #11


Newbie
*

Group: Member
Posts: 7
Joined: Oct 2006
Member No: 471,745



Didn't seem to work
now its all white without a box and a black square on the top
it looks the same in IE and firefox
I left it so you can see what happened
 
*digital.fragrance*
post Jan 17 2007, 09:55 PM
Post #12





Guest






Darn... best thing is to keep it the way you had it originally, coding wise... and change only the DIV layer with this:
CODE
<DIV id="contents" align="center" valign="middle" style="BORDER-RIGHT: #000000 2px solid; BORDER-TOP: #000000 2px solid; FILTER: alpha(opacity=100); OVERFLOW: auto; BORDER-LEFT: #000000 2px solid; WIDTH: 655px; BORDER-BOTTOM: #000000 2px solid;">
<style="text/css">
body { background-image: url("'http://xf9.xanga.com/0c8d1713d9c31101509906/b71550055.jpg'");
background-repeat: repeat-y;
background-align: left;}</style>


Sorry I'm not so familiar with FF coding, but if that doesn't work, I'm sure we can find someone else that can help.

This post has been edited by digital.fragrance: Jan 17 2007, 09:55 PM
 
crackbaby
post Jan 17 2007, 10:04 PM
Post #13


Newbie
*

Group: Member
Posts: 7
Joined: Oct 2006
Member No: 471,745



That doesn't seem to work either
Oh well
I'll just use the old code like you said
Thank you a bunch for trying to help though _smile.gif


I'm going to go back and find the codes again and start over fresh, see if that fixes it

Edit: well i just got the code for the boxed xanga and tried starting over without any other codes and for some reason removing the height screws it up...
 

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