Kym Costanzo wrote:
>> Kym Costanzo wrote:
>>
>>> Having an issue in IE 7 and below. On the following page:
>>> http://www.ilovestraightteeth.com/blog/
>>>
>>> In the right sidebar, the list items are indented too far to the right.
>>>
>
>
>
>> David Laakso wrote:
>>
>> Feed 6 and 7 a minus margin-left on a.
>>
>> /* IE/7.0 */
>>
>> *:first-child+html ul.sidebar_list li.widget a,
>> *:first-child+html ul.sidebar_list li.linkcat a
>> {margin-left: -40px; }
>>
>>
>> /* IE/6.0 */
>>
>> * html ul.sidebar_list li.widget a,
>> * html ul.sidebar_list li.linkcat a
>> {margin-left: -40px; }
>>
>>
>
>
> Ahh!! As always, thank you! It's almost perfect... now one other strange
> thing is happening I've never seen. Please look at the Recent Posts section
> in the sidebar in IE7: http://www.ilovestraightteeth.com/blog/
>
> Note that for post titles that wrap to a 2nd line, the subsequent lines are
> indented? How is that happening/how can I fix? Didn't even know a 2nd line
> could be indented like that. Thanks in advance!
>
> Kym
>
>
>
>
The same happens in both IE/6 and IE/7.
Amend the above selectors to read (and note the width is different in
IE/6).
/* IE/7.0 */
*:first-child+html ul.sidebar_list li.widget a,
*:first-child+html ul.sidebar_list li.linkcat a
{float: left;margin: 0 0 10px -40px; width: 180px; /*border: 1px solid
red;*/}
/* IE/6.0 */
* html ul.sidebar_list li.widget a,
* html ul.sidebar_list li.linkcat a
{float: left;margin: 0 0 10px -40px; width: 175px; /* border: 1px solid
red; */}
HTH.
Best,
~d
--
desktop
http://chelseacreekstudio.com/
mobile
http://chelseacreekstudio.mobi/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/