Log In · Register

 
comment page still stretches despite code, need help to keep comment page in tact
rayray714a
post Jan 9 2006, 08:41 AM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2005
Member No: 204,718



PLEASE HELP! For a tabled layout with a specific width (Example) even though I have a comment-nonstretcher code, it still stretches and distorts the layout on the comment page. PLEASE HELP! Codes are below.

This problem only started when I would put in an "overflow" script. I think there may be a conflict using both together???
_________________________________

Overflow script:

<!-- begin code provided by createblog.com -->
<style type="text/css">
.custom{
width: 350px;
height: ;
z-index:100;
overflow: auto;
border: px #000000 solid;
background: #;
}</style>
<!-- end code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<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>

_____________________________
Then here's the comment page nonstretcher code:

<!-- Keeps Comment Page from Stretching -->
<style type="text/css">
#pnlEnabled table, #htmleditor, #lblTimeZone, #pnlEprops, #rblEprops {
width: auto !important;
}</style>
<!-- end code provided by createblog.com -->
 

Posts in this topic
rayray714a   comment page still stretches despite code   Jan 9 2006, 08:41 AM
digital.fragrance   <!-- Keeps Comment Page from Stretching --...   Jan 9 2006, 03:03 PM
rayray714a   thanks, but it didn't work :(   Jan 9 2006, 03:40 PM
digital.fragrance   The two codes might be conflicting with each other...   Jan 9 2006, 03:43 PM
fishcake-y   'kay. CODE<style type="text/css"...   Jan 9 2006, 08:08 PM


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