Log In · Register

 
Overflowing comments, There's probably a simple fix, so please try and help. =)
upstagedlovex
post Apr 21 2007, 06:28 PM
Post #1


hxc nerd
**

Group: Member
Posts: 11
Joined: Apr 2007
Member No: 518,788



Okay, so someone posted one of those really long comments with no spaces, so now my whole layout is shifted because the comment goes on to the right forever. Can anyone give me a code to fix the comment box so that comments don't go past the desired width?? Please help, I've been trying to figure this out for a couple hours. XP
[I'm pretty experienced with coding, so I'll probably be able to understand what you're saying. =) ]
 
 
Start new topic
Replies (1 - 4)
freeflow
post Apr 21 2007, 06:33 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



You just have to delete it. You can try this but I don't guarantee it will work:
CODE
<style type="text/css">  table td td {width:0px;} table table {width:auto;} table table td {padding:3px;} table table table td {padding:0px;} table table table {width:220px !important; height:0px;} td.text td a img {width:auto !important;} table table table table table, table table table table table td { width:0px !important; padding:0px !important;} </style>


Just change table table table {width:220px !important; height:0px;} to the width you want.
 
upstagedlovex
post Apr 21 2007, 06:42 PM
Post #3


hxc nerd
**

Group: Member
Posts: 11
Joined: Apr 2007
Member No: 518,788



Thank you. I'm just kind of messing around with that code to see what I can do. If you're still there, what exactly does !important mean in coding?

-----

What exactly does !important mean in coding, and how does it change just a regular code?

Posts merged.
} Azarel


This post has been edited by Azarel: Apr 21 2007, 07:51 PM
 
freeflow
post Apr 21 2007, 07:28 PM
Post #4


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



http://www.createblog.com/forums/index.php?showtopic=172705
Or http://www.modxcms.com/css-hacking-important.html

Both explain it. :]


Topics merged
 
upstagedlovex
post Apr 21 2007, 08:57 PM
Post #5


hxc nerd
**

Group: Member
Posts: 11
Joined: Apr 2007
Member No: 518,788



Okay, thanks again! You two are very helpful!

-closed-

Whoops, I meant you. I thought there was someone else, for some reason. XD


okay, now:

-closed-
 

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