Hi all,
I'm having 2 issues well to be honest more than 2 but I'll keep to the css![]()
i want to create a newsitem in a nice little box sort of like fieldset in a form..
problem1: in IE5 the border isn't showing.
problem2: the read more link is placed outside of the box by ie7 and inside by FireFox (I want it inside!)
Could any of you please help me with this?
so here's what i have:?
css:
and this is my htmlCode:.box { border-width:1px; border-style:solid; border-color:red; padding: 0px 10px 10px 10px; margin-top:10px; } .legend { display:inline; padding:5px; font-weight:normal; height:20px; position:relative; z-index:101;top:-12px; background-color:#fff; } .boxcontent { margin-top:0px; } .more { float:right; margin-top:0px; font-size:60%; padding: 0px 0px 0px 0px; }
HTML Code:<div class="box" > <div class="legend">Header goes here</div> <div class="boxcontent">content goes here..... <div class="more">read more link > </div> </div> </div>






I think you might not have discovered the magic of descendant selectors. This works:
Bookmarks