Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter reemixxed

    (@reemixxed)

    whooami: Well I know that, and you know that, but there are a lot of stupid people out there and I don’t want to have to go through and moderate each and every comment. A user shouldn’t be able to break the display, as far as I’m concerned. If it’s possible for them to, it’s a problem with the design and needs to be rectified.

    I was being polite and saying thank you for your help. No need for sarcasm.

    Thread Starter reemixxed

    (@reemixxed)

    moshu: Not exactly. It’s not sidebars moving that was the problem, it’s a long string of characters not breaking up that’s a problem in any theme. Hence, it wasn’t the theme. I didn’t want the links being so long that they go off the page, either. Otherwise, yes, I could have just used overflow, but that’s just masking the problem. However, thanks for the suggestion.

    Anyways, after much searching, I found the answer. It was happening to all text strings that were just continuous without spaces, which includes links. So i downloaded the plugin from here and just edited the character length to suit, as well as remove the text wrapping from posts (only really needed it for comments). Works a charm

    whooami: Thanks for the link also, your plugin probably would have worked as well if it applies to text strings as well as links. Haven’t looked at it extensively so I’m not entirely sure. But thank you anyway.

    Bump.
    No-one has an answer to this?

    I know this is an old discussion, but I’d like an answer to this as well.

    With the mandigo theme, neither of the above ‘fixes’ seem to work. The stylesheet includes the .alignright and .alignleft classes, but when used in the code for an image (as in <img class=”alignleft” src=”…” /> it does not work. The text refuses to wrap around the image.

    I’ve also tried the opposite fix, with having text wrap enabled, and using the .clear class for an image. This doesn’t work either.

    Does anyone else have a solution? I just want to be able to decide when I want my text wrapped around images in a post, and when I don’t.

    Here is all the code for images in style.css.php:

    /* Begin Images */
    .png { behavior: url(<?php echo $stylesheet_directory; ?>/js/iepngfix.htc.php?blank=<?php echo $stylesheet_directory; ?>/images/1x1.gif); }
    
    p img { max-width: 95%; }
    
    .entry img {
      float: <?php echo ($mandigo_nofloat ? 'none' : ($mandigo_floatright ? 'right' : 'left')); ?>;
      margin: 3px <?php echo ($mandigo_floatright ? 0 : 10); ?>px 3px <?php echo ($mandigo_floatright ? 10 : 0); ?>px;
      <?php if (!$mandigo_noborder): ?>
      background: #fff;
      border: 1px solid #333;
      padding: 3px;
      <?php endif; ?>
    }
    
    img.nofloat, img.nowrap, .nofloat img, .nowrap img, .smallattachment img, .attachment img, .entry img.wp-smiley { float: none; }
    
    .entry img.wp-smiley {
      border: 0;
      padding: 0;
      margin: 0;
      background: transparent;
    }
    
    img.noborder {
      background: inherit;
      border: 0;
      padding: inherit;
    }
    
    img.centered {
      display: block;
      margin-left: auto;
      margin-right: auto;
      float: none;
    }
    
    img.alignright, img.alignleft {
      display: inline;
    }
    
    .alignright {
      float: right;
    }
    
    .alignleft {
      float: left;
    }
    
    /* End Images */
Viewing 4 replies - 1 through 4 (of 4 total)