Log In · Register

 
space above my blog area
opheee
post Apr 11 2006, 02:18 AM
Post #1


Senior Member
***

Group: Member
Posts: 45
Joined: Jan 2005
Member No: 93,767



Hi there. I was wondering if you could check out my code & tell me why there is a small gap above my blogs. I would like my left modules & my blog area to be level. Thanks in advanced.

my xanga

CODE
<style type="text/css">
/* tree */
body {
background-color:#FFD6D6;
background-image:url("http://img46.imageshack.us/img46/5929/ballerina27rh.jpg");
background-repeat:no-repeat;
background-position:bottom right;
background-attachment: fixed;
scrollbar-arrow-color: black;
scrollbar-track-color: white;
scrollbar-shadow-color: white;
scrollbar-face-color: black;
scrollbar-highlight-color: white;
scrollbar-darkshadow-color: white;
scrollbar-3dlight-color: white;
}
left, .blogbody, table.footer, .standard, td, p {
/* edits main text */
font:normal 7px small fonts;
line-height:11px;
color:black;
letter-spacing:0px;
text-align:center;
text-transform:uppercase;
}
.blogbody b, .standard b, p b, strong {
/* edits bolded text in your entry */
font-weight: bold;
font:bold 7px small fonts;
color: #FFC0CB;
letter-spacing:0px;
text-transform:uppercase;
}
}
.blogbody u, .standard u,  {
text-decoration: underline;
color:black;underlined;
background-color:transparent;
font:7px small fonts;
letter-spacing:0px;
border-bottom:2px solid black;
text-transform:uppercase;
}
.blogbody i, .standard i, em {
font-weight:italic;
font-face:small fonts;
font-size:10px;
color:black;
text-decoration:normal;
text-transform:uppercase;
}
table.footer TD {
/* this makes the footer at the bottom centered */
/* leave it alone unless you know what to do*/
text-align: center;
}
div.blogheader, .caption {display:none;)
}
a:link, .footernav.link, a.footernav:link, a.footernav:active {
/*Links*/
  color: black;
  font: normal 7px small fonts;
  letter-spacing: 0px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0px;
  background-color: white;
  border: 0px solid #FFFFFF;
  background-image :url();
  }
a:visited, a.footernav:visited,  {
/*Visited Links*/
  color: black;
  font: normal 7px small fonts;
  letter-spacing: 0px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0px;
  background-color: black;
  border: 0px solid #FFFFFF;
  background-image: url();
  }
a:hover {
/*rollovers*/
  color: white;
  font:normal 7px small fonts;
  letter-spacing: 0px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0px;
  background-color: black;
  border-bottom: 0px;
}
input, select, textarea, .textfield, .button {
/* this edits the buttons, dropdowns, etc. */
border: 1px solid black;
font:normal 7px small fonts;
background-color: transparent;
letter-spacing:0px;
color: black;
text-transform:uppercase;
}
table.left {
/* this edits the menu module */
border: 1px solid black;
width:150px;
background-color: white;
background-image: url();
}
table.blogbody {
/* this edits the other the place where the blog is */
border: 1px solid black;
background-color: white;
width:195px;
}
table.left th {display:none;}
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
background-image: url();
background-color: white;
font: normal 7px small fonts;
text-transform:uppercase;
letter-spacing:0px;
text-decoration:none;
color: black;
border: 0px solid black;
border-bottom:none;
width:150px;
}
table.left TD {
/* on your menu module, this edits the body part of it */
background-image: url();
background-color: white;
text-align: center;
border-top:none;
border:0px solid black;
}
table.search TD, table.search, table.announcements {
/* border of search bar (if you have it) */
background-color: transparent;
border: 0px solid transparent;
}
table.search TD, table.announcements TH {
/* this should be left alone */
/* unless you know what to do */
border: 0px solid transparent;
}
table.navigation, table.main, table.footer {
/* the width of your blog with modules */
width: 350px;
}
hr {
/* horizontal divider */
border: 1px solid white;
}
</style>

<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #000000; width:170px; background-color:ffffff; }
table.module th { background-color: #ffffff;font: normal 7px small fonts; text-transform: uppercase;color: 000000; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>

<!-- add this below all the CSS -->

<table border=0 width="230"><tr><td valign="top" width="300">
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>she will be loved</b></th></tr><tr><td valign="top" class="module">
<center><img src="http://i1.tinypic.com/v4849d.jpg"></center><p>

<br>♥</font color> They call me Ophelia.

<br>♥</font color> but you can call me Ophee if you'd like.
<br>♥</font color> My day is 12.01.86.
<br>♥</font color> Singing is my passion.
<br>♥</font color> I go to USC.
<br>♥</font color> I have amazing friends.
<br>♥</font color> Burts Bees is essential.
<br>♥</font color> Thumper.
<br>♥</font color> Color my world green.
<br>♥</font color> Life is beautiful, yaknow.

</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Navigation.</b></th></tr><tr><td valign="top" class="module">

<!-- Add your subscriptions here -->

<a href="http://www.xanga.com/">in</a> &
<a href="http://www.xanga.com/logout.aspx">out</a>
<br><a href="http://www.xanga.com/Private/SubscribeTo.aspx?user=stop_andstare">Add me, bitch.</a><br>
<a href="http://www.xanga.com/private/yourhome.aspx">your own little world</a>
<br><a href="http://www.xanga.com/claf">color and create</a>
<br><a href="http://www.myspace.com/ophheee">Myspace</a>
<br><a href="aim:goim?screenname=omgophee">Catch me on AIM</a>

</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Bloggies</b></th></tr><tr><td valign="top" class="module">

<!-- Add your blogrings here -->

none yet.

</td></tr></table><br>


<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>& of course</b></th></tr><tr><td valign="top" class="module">

I'm better than you.;)

</td></tr></table><br>

</td><td width="500" valign="top" align="left">


WEBSITE STATS
CODE
<script language=javascript>
document.title=('__lifeisbeautiful<3')
</script>

<script>
var tds = document.getElementsByTagName ('a');
for (var i = 0; i < tds.length; i++) {
timeString = tds[i].innerText;
if(timeString.match(/\d+:\d+ [ap]m\b/i)){
if(!tds[i].parentNode.parentNode.parentNode.parentNode.parentNode.tagName.match(/table/i)){break;}
table = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;
stuff = tds[i].parentNode.parentNode.parentNode.previousSibling.lastChild;
inner = stuff.innerHTML
stuff.innerHTML="";
stuff.insertAdjacentHTML('afterBegin','<div class="custom">'+inner+'</div>');

}
}
</script>

<!-- start code provided by createblog.com -->
<script>
// Display Only One Entry

if(location.pathname=="/stop_andstare"){
var longer = false;
var tds = document.getElementsByTagName('td');
for(i=0; i<tds.length;i++)
{
booga = tds[i].innerHTML.indexOf('blogheader');
if(booga==11){longer=false;break;}
boogie = tds[i].innerHTML.indexOf('javascript');
if(boogie == 19){longer=true;break;}
}
var tables = tds[i].getElementsByTagName('table');
var numBreaks = 0;
var x = 0;
if(longer==true){x=3;}else{x=1}
for(j=x; j<tables.length;j++)
{
numBreaks += tables[j].getElementsByTagName('br').length;
tables[j].style.display='none';
}
var divs = tds[i].getElementsByTagName('div');
for(j=2+(2*1)-2; j<divs.length;j++)
{
divs[j].style.display='none';
}
var breaks = tds[i].getElementsByTagName('br');
for(j=breaks.length-5-numBreaks;j<breaks.length;j++)
{
breaks[j].style.display='none';
}
var horizontals = tds[i].getElementsByTagName('hr');
var j = horizontals.length-1;
horizontals[j].style.display='none';
}
</script>
<!-- end code provided by createblog.com -->

<style>body, a:hover{cursor: url(http://content.cometsystems.com/czcontent/cursors/tinyh.cur);}</style><div align="center"></div>

<script type="text/javascript">
//
// ?003 EasterEgg, http://www.xanga.com/easteregg
// Changes date text
// For use at Xanga only.
//
// Info at http://dorkette.net
//

function replaceWordsDates()
{
    // ***add the Months or Days you wish to replace below
    var oldWordsDates = new Array(
        "January ",
        "February ",
        "March ",
        "April ",
        "May ",
        "June ",
        "July ",
        "August ",
        "September ",
        "October ",
        "November ",
        "December ",
        "01, ",
        "02, ",
        "03, ",
        "04, ",
        "05, ",
        "06, ",
        "07, ",
        "08, ",
        "09, ",
        "10, ",
        "11, ",
        "12, ",
        "13, ",
        "14, ",
        "15, ",
        "16, ",
        "17, ",
        "18, ",
        "19, ",
        "20, ",
        "21, ",
        "22, ",
        "23, ",
        "24, ",
        "25, ",
        "26, ",
        "27, ",
        "28, ",
        "29, ",
        "30, ",
        "31, ",
        "Monday,",
        "Tuesday,",
        "Wednesday,",
        "Thursday,",
        "Friday,",
        "Saturday,",
        "Sunday,",
        "2005"
    );

    // *** add the replacing Months or Days below
    var newWordsDates = new Array(
        "jan",
        "feb",
        "mar",
        "apr",
        "may",
        "jun",
        "jul",
        "aug",
        "sep",
        "oct",
        "nov",
        "dec",
        "01 ",
        "02 ",
        "03 ",
        "04 ",
        "05 ",
        "06 ",
        "07 ",

        "08 ",
        "09 ",
        "10 ",
        "11 ",
        "12 ",
        "13 ",
        "14 ",
        "15 ",
        "16 ",
        "17 ",
        "18 ",
        "19 ",
        "20 ",
        "21 ",
        "22 ",
        "23 ",
        "24 ",
        "25 ",
        "26 ",
        "27 ",
        "28 ",
        "29 ",
        "30 ",
        "31 ",
        "monday<i>,</i> ",
        "tuesday<i>,</i> ",
        "wednesday<i>,</i> ",
        "thursday<i>,</i> ",
        "friday<i>,</i> ",
        "saturday<i>,</i> ",
        "sunday<i>,</i>",
        "2005<b>♥</b>"
    );

    allDivData = document.getElementsByTagName('div');
        
    var collections = new Array(allDivData);
    
    for (var k = 0; k < collections.length; ++k )
    {
        for (var i = 0; i < collections[k].length; ++i )
        {  
            if (collections[k][i].innerHTML.indexOf('DIV') == -1)
            {
                for ( var n = 0; n < oldWordsDates.length; ++n )
                {
                    var indx = collections[k][i].innerHTML.indexOf(oldWordsDates[n])
                    while (indx != -1)
                    {  
                        var replacement = '';
                        indx = collections[k][i].innerHTML.indexOf(oldWordsDates[n]);
                        replacement = collections[k][i].innerHTML.replace(oldWordsDates[n], newWordsDates[n]);
                        if(navigator.userAgent.toLowerCase().indexOf('compatible')>0){collections[k][i].innerHTML=replacement;//please use supported code at http://help.xanga.com/codes.htm
}
                        break;                    
                    }
                }
            }
        }
    }
}
replaceWordsDates();
</script>


<!-- begin code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<script type=text/javascript>
function replaceWords()
{
   // ***add the words or fragments you wish to replace below
   var oldWords = new Array(
"GMT 06:00 (Central Standard [ US, Canada)",
"-",
"-",
"--",
"--",
"-",
"add comments",
"comments");

    // *** add the replacing words or fragments below
   var newWords = new Array(
"",
"",
"",
"",
"",
"",
"reply <b>♥</b>",
"replies <b>♥</b>");

   allTableData = document.getElementsByTagName('td');
   allTableHeaders = document.getElementsByTagName('th');
      
   var collections = new Array(allTableData,allTableHeaders);
  
   for (var k = 0; k < collections.length; ++k )
   {
       for (var i = 0; i < collections[k].length; ++i )
       {  
           if (collections[k][i].innerHTML.indexOf('TABLE') == -1)
           {
               for ( var n = 0; n < oldWords.length; ++n )
               {
                   var indx = collections[k][i].innerHTML.indexOf(oldWords[n])
                   while (indx != -1)
                   {  
                       var replacement = '';
                       indx = collections[k][i].innerHTML.indexOf(oldWords[n]);
                       replacement = collections[k][i].innerHTML.replace(oldWords[n], newWords[n]);
                       collections[k][i].innerHTML = replacement;
                       break;                    
                   }
               }
           }
       }
   }
}
replaceWords();
</script>

<script language=javascript>
<!--
var links = document.getElementsByTagName ('a');
for (var l = 0; l < links.length; l++) {
str = links[l].innerHTML;
document.write
if (str.match (/\d+:\d+ (am|pm)/i)) links[l]
else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "replies <b>♥</b>");
else if (str.match (/Next 5 >>/i)) links[l].innerHTML = str.replace (/Next 5 >>/i, "rewind");
else if (str.match (/<< Previous 5/i)) links[l].innerHTML = str.replace (/<< Previous 5/i, "fast forward");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "reply <b>♥</b>");
else if (str.match (/50 eprops/i)) links[l].innerHTML = str.replace (/50 eprops/i, "");
else if (str.match (/49 eprops/i)) links[l].innerHTML = str.replace (/49 eprops/i, "");
else if (str.match (/48 eprops/i)) links[l].innerHTML = str.replace (/48 eprops/i, "");
else if (str.match (/47 eprops/i)) links[l].innerHTML = str.replace (/47 eprops/i, "");
else if (str.match (/46 eprops/i)) links[l].innerHTML = str.replace (/46 eprops/i, "");
else if (str.match (/45 eprops/i)) links[l].innerHTML = str.replace (/45 eprops/i, "");
else if (str.match (/44 eprops/i)) links[l].innerHTML = str.replace (/44 eprops/i, "");
else if (str.match (/43 eprops/i)) links[l].innerHTML = str.replace (/43 eprops/i, "");
else if (str.match (/42 eprops/i)) links[l].innerHTML = str.replace (/42 eprops/i, "");
else if (str.match (/41 eprops/i)) links[l].innerHTML = str.replace (/41 eprops/i, "");
else if (str.match (/40 eprops/i)) links[l].innerHTML = str.replace (/40 eprops/i, "");
else if (str.match (/39 eprops/i)) links[l].innerHTML = str.replace (/39 eprops/i, "");
else if (str.match (/38 eprops/i)) links[l].innerHTML = str.replace (/38 eprops/i, "");
else if (str.match (/37 eprops/i)) links[l].innerHTML = str.replace (/37 eprops/i, "");
else if (str.match (/36 eprops/i)) links[l].innerHTML = str.replace (/36 eprops/i, "");
else if (str.match (/35 eprops/i)) links[l].innerHTML = str.replace (/35 eprops/i, "");
else if (str.match (/34 eprops/i)) links[l].innerHTML = str.replace (/34 eprops/i, "");
else if (str.match (/33 eprops/i)) links[l].innerHTML = str.replace (/33 eprops/i, "");
else if (str.match (/32 eprops/i)) links[l].innerHTML = str.replace (/32 eprops/i, "");
else if (str.match (/31 eprops/i)) links[l].innerHTML = str.replace (/31 eprops/i, "");
else if (str.match (/30 eprops/i)) links[l].innerHTML = str.replace (/30 eprops/i, "");
else if (str.match (/29 eprops/i)) links[l].innerHTML = str.replace (/29 eprops/i, "");
else if (str.match (/28 eprops/i)) links[l].innerHTML = str.replace (/28 eprops/i, "");
else if (str.match (/27 eprops/i)) links[l].innerHTML = str.replace (/27 eprops/i, "");
else if (str.match (/26 eprops/i)) links[l].innerHTML = str.replace (/26 eprops/i, "");
else if (str.match (/25 eprops/i)) links[l].innerHTML = str.replace (/25 eprops/i, "");
else if (str.match (/24 eprops/i)) links[l].innerHTML = str.replace (/24 eprops/i, "");
else if (str.match (/23 eprops/i)) links[l].innerHTML = str.replace (/23 eprops/i, "");
else if (str.match (/22 eprops/i)) links[l].innerHTML = str.replace (/22 eprops/i, "");
else if (str.match (/21 eprops/i)) links[l].innerHTML = str.replace (/21 eprops/i, "");
else if (str.match (/20 eprops/i)) links[l].innerHTML = str.replace (/20 eprops/i, "");
else if (str.match (/19 eprops/i)) links[l].innerHTML = str.replace (/19 eprops/i, "");
else if (str.match (/18 eprops/i)) links[l].innerHTML = str.replace (/18 eprops/i, "");
else if (str.match (/17 eprops/i)) links[l].innerHTML = str.replace (/17 eprops/i, "");
else if (str.match (/16 eprops/i)) links[l].innerHTML = str.replace (/16 eprops/i, "");
else if (str.match (/15 eprops/i)) links[l].innerHTML = str.replace (/15 eprops/i, "");
else if (str.match (/14 eprops/i)) links[l].innerHTML = str.replace (/14 eprops/i, "");
else if (str.match (/13 eprops/i)) links[l].innerHTML = str.replace (/13 eprops/i, "");
else if (str.match (/12 eprops/i)) links[l].innerHTML = str.replace (/12 eprops/i, "");
else if (str.match (/11 eprops/i)) links[l].innerHTML = str.replace (/11 eprops/i, "");
else if (str.match (/10 eprops/i)) links[l].innerHTML = str.replace (/10 eprops/i, "");
else if (str.match (/9 eprops/i)) links[l].innerHTML = str.replace (/9 eprops/i, "");
else if (str.match (/8 eprops/i)) links[l].innerHTML = str.replace (/8 eprops/i, "");
else if (str.match (/7 eprops/i)) links[l].innerHTML = str.replace (/7 eprops/i, "");
else if (str.match (/6 eprops/i)) links[l].innerHTML = str.replace (/6 eprops/i, "");
else if (str.match (/5 eprops/i)) links[l].innerHTML = str.replace (/5 eprops/i, "");
else if (str.match (/4 eprops/i)) links[l].innerHTML = str.replace (/4 eprops/i, "");
else if (str.match (/3 eprops/i)) links[l].innerHTML = str.replace (/3 eprops/i, "");
else if (str.match (/2 eprops/i)) links[l].innerHTML = str.replace (/2 eprops/i, "");
else if (str.match (/1 eprop/i)) links[l].innerHTML = str.replace (/1 eprop/i, "");
else if (str.match (/add eprops/i)) links[l].innerHTML = str.replace (/add eprops/i, "");
else if (str.match (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "");
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "");
else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "");
}//-->

</script>

<script>
<!--
var props = document.getElementById("pnlEprops");
if (props){
document.getElementById("rblEprops_3").checked = true;
props.style.display = "none";
}
//--></script>
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->

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

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

// 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);
}
}
}

function checkIfModulesExists() {
xUrl = document.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\//;
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 (checkIfModulesExists()) RemoveModules();
//-->
</script>
<!-- end code provided by createblog.com -->


:)
 
 
Start new topic
Replies (1 - 5)
talcumpowder
post Apr 11 2006, 06:41 PM
Post #2


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

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



Because you disabled the date bar. It's still there (hence the space), but it doesn't show up.
 
opheee
post Apr 11 2006, 10:13 PM
Post #3


Senior Member
***

Group: Member
Posts: 45
Joined: Jan 2005
Member No: 93,767



is there any way i could delete that space? like move the blog upwards?
 
*digital.fragrance*
post Apr 12 2006, 02:45 PM
Post #4





Guest






Try putting an opened ended div layer at the end of your header code:

CODE
<div style="overflow: auto; margin-top: ##px; margin-left: ##px;  ">


Insert the correct numbers to position your blog where you want.
 
opheee
post Apr 12 2006, 07:52 PM
Post #5


Senior Member
***

Group: Member
Posts: 45
Joined: Jan 2005
Member No: 93,767



the "overflow:auto" part needed to be taken out, but the rest of the code worked. thank you! :)
 
*digital.fragrance*
post Apr 12 2006, 08:02 PM
Post #6





Guest






Your welcome! biggrin.gif
Glad it worked! I'm not used to that kind of layout, so I'm not surprised that part of it had to be taken out.

Topic Closed
 

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