Module and Counter questions, module margins? |
![]() ![]() |
Module and Counter questions, module margins? |
Aug 14 2004, 02:24 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Aug 2004 Member No: 40,345 |
I used the custom module: extra module script and depending on the amount I type like about 30-40 characters the text will go beyond the margins of the other modules and just looks ugly. How can I adjust the margins?
I saw a website counter script that can track who visited your page. I searched the scripts but I cant find it. |
|
|
|
| *NatiMarie* |
Aug 14 2004, 03:50 PM
Post
#2
|
|
Guest |
Erm...what code is your custom module?
|
|
|
|
Aug 14 2004, 06:43 PM
Post
#3
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Aug 2004 Member No: 40,345 |
This was the code I used.
CODE <!-- begin code provided by createblog.com -->
<script> titleContent = 'Title Here'; moduleContent = 'Module Content'; 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> <!-- end code provided by createblog.com --> |
|
|
|
Aug 14 2004, 06:53 PM
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 7,048 Joined: Jun 2004 Member No: 22,696 |
instead of width=100%
put in width=NUMBER OF PIXELS px |
|
|
|
Aug 14 2004, 07:33 PM
Post
#5
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Aug 2004 Member No: 40,345 |
it doesnt seem to work i tried alot of numbers
CODE <!-- begin code provided by createblog.com -->
<script> titleContent = 'Test'; moduleContent = 'TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST'; sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="2px" 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 --> |
|
|
|
![]() ![]() |