Log In · Register

 
Aligning Left Custom Modules to the Left of the Blog Body
DevilsHandbook
post Nov 28 2006, 12:22 AM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Nov 2006
Member No: 482,220



I'm new here, so I don't know how exactly to work everything, but, I can try.

Alright. So, I've tried everything. I swear. I'm not particularly spectacular at HTML coding.. but I can get stuff done. This, I cannot. Anyhow, I'm really tired of going to the left of my blog to click on everything, when I'm naturally a right-oriented person, and it's driving me nuts. (xanga.com/Mecha_Chain)

My module code, gotten from cbstaff (Xanga Stylesheet (CSS) - with custom modules):

CODE
table.left th, table.module th {
/* -Module Title- */
   FONT-FAMILY: arial;
   FONT-WEIGHT: normal;
   FONT-SIZE: 11px;
   COLOR: white;
   TEXT-TRANSFORM: none;
   BACKGROUND-COLOR: #EFBF8F;
   TEXT-ALIGN: center;
   BORDER-BOTTOM: none;
   BORDER-TOP: none;
   BORDER-RIGHT: none;
   BORDER-LEFT: 1px solid black;
}
table.left TD, table.module td {
/* -Module Body- */
   BORDER-TOP: 4px solid none;
   BORDER-BOTTOM: none;
   BORDER-RIGHT: none;
   BORDER-LEFT: 1px solid #000000;
   BACKGROUND-COLOR: #EFBF8F;
}
table.left, table.module {
/* -Module Altogether- */
   WIDTH: 180px;
   BORDER: none;
   BACKGROUND-COLOR: #EFBF8F;
}


When I try to use the <div align></div, it just moves all of my lower modules to the right, leaves my top module stranded somewhere in the middle-right, and completely pushes down my blog body. D: Any help for a poor HTML retard?
 
 
Start new topic
Replies (1 - 6)
TheFancifulUnico...
post Dec 30 2006, 01:47 AM
Post #2


Member
**

Group: Member
Posts: 10
Joined: Jul 2006
Member No: 433,910



This code makes the blog modules move to the right of your entries
CODE
<!-- start code provided by createblog.com -->
<script language="Javascript">
// original by sean http://www.xanga.com/seanmeister
var tds = document.getElementsByTagName("td");
for (var i = 0; i < tds.length; i++){
if (tds[i].width == "200"){
tds[i].parentNode.appendChild(tds[i].cloneNode(true));
tds[i].parentNode.removeChild(tds[i]);
break;
}}
</script>
<!-- end code provided by createblog.com -->
 
DevilsHandbook
post Feb 8 2007, 12:30 AM
Post #3


Newbie
*

Group: Member
Posts: 3
Joined: Nov 2006
Member No: 482,220



It doesn't work; I'm putting it at the bottom of the header--is that not right?
 
*Kathleen*
post Feb 8 2007, 03:11 PM
Post #4





Guest






^ It goes in Website Stats.
 
DevilsHandbook
post Feb 12 2007, 11:41 PM
Post #5


Newbie
*

Group: Member
Posts: 3
Joined: Nov 2006
Member No: 482,220



It doesn't work, but thank you for telling.
I guess I'm doing something wrong.
 
*digital.fragrance*
post Feb 13 2007, 12:00 PM
Post #6





Guest






Could you post your ENTIRE layout code? Both header and website stats? Maybe we could figure out what's going on _smile.gif
 
*Kathleen*
post Feb 15 2007, 09:06 PM
Post #7





Guest






^ Yeah, and if you had anything in Website Stats, did you try moving this code around whatever you have in there? Sometimes codes need to be the very first or very last things in the box to work.
 

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