Support » Fixing WordPress » Text Widget Spacing GAPS in IE

  • Resolved ifcure08

    (@ifcure08)


    Hey I have fiddled with some stuff I thought would do the trick, but it hasn’t in IE. Could someone help me out with the gaps between the text widgets?

    SITE

    http://electromagnetichealth (DOT) org/index.php

    Thanks
    JT

    Here is the section of SIDEBAR CSS and any elements I added!

    .side1 {
    	width: 213px;
    	float: left;
    	color: #000;
    	margin-left: -563px;
    	padding-top: 5px;
    }
    .side2 {
    	width: 321px;
    	float: left;
    	color: #000;
    	margin-left: -321px;
    	padding-top: 5px;
    	}
    
    .side1  ul, .side2  ul{
    	list-style: none;
    	margin: 0;
       padding : 0;
    
    }
    .side1  .children, .side2 ul.children{
    	margin-left: 16px;
    }
    .boxy, #sidebar .categories, .widget, #sidebar .linkcat {
    	margin-bottom: 0px;
    }
    .side2 input#s {
    	width: 150px;
    	padding: 5px;
    	margin-bottom: 10px;
    	background: #ECFBEA;
    	border: 2px solid #D6F7D4;
    }
    .side2 input#s:focus {
    	background: #fff;
    	color: #227612;
    }
    
    .side2 input#searchsubmit
    {
    	background: #30BA47;
    	border: #269237 2px solid;
    	color: #fff;
    	font-size: 1.3em;
    	margin: 0;
    	font-weight: bold;
    	padding: 4px 6px;
    }
    .side2 input#searchsubmit:focus
    {
    	background: #BCE240;
    }
    
    /* Design  Typo
    ********************* */
    .side1  h2, .side2  h2{
    	font-size: 1.4em;
    	font-family: Garamond, Georgia, "Times New Roman", times, serif;
    	border-bottom: 0px solid #ccc;
    	margin-bottom: 5px;
    }
    .side1 a, .side2 a {
    	color: #1D7A03;
    }
    li.current-cat a {
    	color: #F0000F;
    	font-weight: bold;
    }
    .side1 a:hover, .side2 a:hover  {
    	color: #F0000F;
    }
    .side1 ul li ul li, .side2 ul li ul li {
    	margin-bottom: 0px;
    	font-size: .9em;
    }
    .side1 ul li ul li, .side2 ul li ul li {
    }
    .side2 .flickr ul li{
    	background: none;
       float: left;
       padding-left: 0;
      margin-right: 5px;
    }
    .side2 .flickr ul li img {
     border: 1px solid #48C93E;
    }
    .side2 .flickr ul li img:hover {
     border: 1px solid #406618;
    }
    .side2 ul li ul li.current-cat a  {
    	padding-left: 15px;
    	color: #8A0E3A;
    
    img.speakers { margin: 0px;
                padding: 0px;}
Viewing 8 replies - 1 through 8 (of 8 total)
  • Anyone please!! I am not sure what to do?

    Thanks

    Kate

    (@katendarcy)

    My apologies, but I’m not sure I understand which part is giving you problems. Is it the far right column, or the middle column on index.php? Thanks.

    (Also, what version of IE? 6 or 7?)

    It is the far right and the middle they are SIDE1 and SIDE2 and in IE it keeps putting a tiny space between every TEXTwidget.. I just have code like this in in the text widgets IE 6,7,8, etc only

    <a href="http://electromagnetichealth.org/audio-archives-and-more/#klinghart"><img border="0" class="speakers" src="http://electromagnetichealth.org/wp-content/uploads/2008/09/deitrich_kilinghart1.gif" title="Listen to Deitrich Klinghart" alt="Listen to Deitrich Klinghart" /></a>

    Thanks
    JT

    Kate

    (@katendarcy)

    I hope you don’t mind, but I ended up copying the entire CSS w/Firefox. (I’ll delete it in a minute.) Okay, here’s what I would do: (I tested this in IE7 and FF)

    /*Add this style:*/
    .side1 ul li, .side2 ul li{float:left;width:100%;}

    /*Also:*/
    img.speakers{margin:0;padding:0;border:none;float:left;}
    /*Notice “border:none”. Just a suggestion, but you could take “border=’0′” off the page and use this. Good practice to keep styles in the stylesheet. : ) */

    /*Finally, if you want the footer to have a top margin, add these two style. Also, remove “position:relative”. NOTE:This is in addition to your current styles:*/
    #navb{margin-top:10px;float:left;}
    /*Since you have a width set, you can float the bottom nav too. You could’ve used “clear:both”, but IE7 didn’t like that.*/

    Hope this helps.

    Kate

    (@katendarcy)

    Oh, forgot one more thing: I removed the
    tag from the list items in .side1. (Sorry I forgot to mention that!)

    Thanks that fixed it!

    What did you mean by this – I just pasted what you had in that – that covers it right?

    Oh, forgot one more thing: I removed the
    tag from the list items in .side1. (Sorry I forgot to mention that!)

    THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    JT

    Kate

    (@katendarcy)

    There was a
    tag in the list items on .side1. Before I changed the CSS I removed them, as they didn’t seem necessary. I didn’t go back and put them back in, so I wasn’t sure if they were effecting anything. But, if they’re not, I’m sure you’re fine. Glad it helped! Have a good day.

    Kate

    (@katendarcy)

    Just checked my post: what I was trying to say is there was a break tag. Wasn’t thinking it would be rendered. Sorry!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Text Widget Spacing GAPS in IE’ is closed to new replies.