Log In · Register

 
Custom module width needs change., I bow down to your greatness. Plz Help!
J-sin
post Jun 6 2005, 05:26 AM
Post #1


Member
**

Group: Member
Posts: 16
Joined: Apr 2005
Member No: 128,746



Hi guys. I added a custom module on my site. I got the script from CB Script section. It places the custom module right above the supscription module. However, when I place my content in there, I discovered that the width of the custom module was unequal from the rest of the modules and it looks really awkward. Can you suggest anything so that the width becomes the same with other modules? THanks. Appreciate it. God Bless...

Jason~
Here's the script I used.


CODE
<!-- begin code provided by createblog.com -->
<script>
titleContent = '<center>MODULE TITLE</center>';
moduleContent = 'MODULE CONTENT';
sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="200" 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>
<!-- end code provided by createblog.com -->
 

Posts in this topic


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