Log In · Register

 
 
Closed TopicStart new topic
You Guys Will Love This, (Impossible Fix?)
Mr. Melodramatic
post Jun 17 2007, 02:50 PM
Post #1


Member
**

Group: Member
Posts: 22
Joined: Jul 2006
Member No: 443,100



Alright, get this.

I'm not a scripting God. I don't know HTML, or CSS, but I can half-ass my way into manipulating a MySpace page, right? I know the Ins and Outs of scripts, what they do, and how badly they can (potentially) screw up your site.

That said, I've come across a problem that kind of baffles me, for lack of a better word.

I know you and I have both read our fair share of "[waah]My comment box is stretched![/waah]" topics. And I've tried tackling this on my own, but I'm seriously at a loss for words or thoughts when it comes to this.

This is my profile. Notice the comments in the bottom-right/traditional spot. Notice the way they stretch. I'm well aware I'm using a script to have comments scroll, but after quintuple-checking the script, I can guarantee you that's not the problem at hand. Too lazy to click the link and help a guy out? No problem. I took the time and courtesy so you - precious viewer - won't have to waste unnecessary time or extra Firefox tabs with such a trivial problem.



Maybe someone posted a large image, video, or otherwise "margin-breaking" comment? Nope. I've scanned each and every comment, and nothing.

Try "working the script(s) backwards"? Here's what it takes a turn for the peculiar. At one point in time, I was alternating the profile, and removing scripts as I went along. No matter what I deleted, though, the comments were still stretched out.

I got to the point where I deleted all of the fields (that is, my profile was entirely bare; all content emptied, all text/code erased), and the comments were still stretched.

...Are you effing kidding me? Seriously? For the Love - what is going on? There are no scripts interfering with the width. This a given, I guess, seeing as I tried wiping the entire profile clean to no avail. So what gives? I'm truly clueless as to what the error could be, but anyone willing to contribute anything will definitely not go unappreciated.

~Melo
 
SortedDetails
post Jun 17 2007, 06:20 PM
Post #2


Splee.
****

Group: Member
Posts: 226
Joined: Apr 2006
Member No: 397,965



You could try using overflow-x: hidden; and overflow-y: auto; and use *overflow: auto; in the div your comments are in. the * is just for IE support.

*Edit
This should solve the problem. It should wrap the text. Might not though. MySpace sometimes has unpredictable outcomes when it comes to code >.>
 
Mr. Melodramatic
post Jun 17 2007, 06:30 PM
Post #3


Member
**

Group: Member
Posts: 22
Joined: Jul 2006
Member No: 443,100



o1 - I'd like to add that the comments are only screwy in Firefox, and fine in Internet Explorer. (Whoa. Reversed roles, much?)

o2; I'm very horrible when it comes to coding/DIVs/the sort. If I'm reading your post right, I should add

CODE
overflow-x: hidden;
overflow-y: auto;
*overflow: auto;


Into the code that controls the comments? I'll give it a go. Mad thanks.

*edit*

I think you're on the right track (or maybe that is the solution, but MySpace is just being... fruity). It removed the left and right scrolling - so essentially, the comments are cut off once they reach a certain length. The lack of horizontal scroll is awesome... but I will admit that I am a fan of being able to read comments in their entirety.

Here's what the Comment Section looks like, to produce that result;

CODE
<div style="height:357px;width:px;overflow-x: hidden; overflow-y: auto; *overflow: auto;"> <table><tr><td><table><tr><td>
 
SortedDetails
post Jun 17 2007, 06:43 PM
Post #4


Splee.
****

Group: Member
Posts: 226
Joined: Apr 2006
Member No: 397,965



*Edit Nevermind. Come to think of it.. I'm just gonna go try a few things. *Wanders off*
 
*karmakiller*
post Jun 17 2007, 06:46 PM
Post #5





Guest






Would you mind sharing your codes (the portion of the stylesheet for the comment div and the div code). There's different ways to go about making a div comment area. It might be that you need your text to wrap shrug.gif I've had this issue before.
 
Mr. Melodramatic
post Jun 17 2007, 06:54 PM
Post #6


Member
**

Group: Member
Posts: 22
Joined: Jul 2006
Member No: 443,100



QUOTE(karmakiller @ Jun 17 2007, 04:46 PM) *
Would you mind sharing your codes (the portion of the stylesheet for the comment div and the div code). There's different ways to go about making a div comment area. It might be that you need your text to wrap shrug.gif I've had this issue before.


Yeah, no problem. Like I mention ~ I didn't sit down and make one crazy, elaborate DIV. Shoddy as it sounds, my page is just a default MySpace with a bunch of "pieces" of code thrown onto it. So... I have no idea where to begin with the whole DIV bit. I can tell you right now that the cell containing the Comment Manipulation is;

*edit*

[Code Removed]

So, for anyone who cares/has this problem in the future...

The ever-lovely Syrinx was kind enough to sit down with me and split the code apart, to determine the problem. After hours of DIV manipulation, profile tests, and trouble-shootings, she concluded that the script was A-Okay: it was MySpace's coding of the comment box. I guess it could still have been potentially corrected, though the skills to do so were above and beyond anything CSS or a DIV could fix. I had been in the need for a new profile anyway, so I set up a new account, copying the code directly from the old... and it worked like a charm.

Morale of the story: if all else fails, start from scratch.
 

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