> I have:
> a) corrected the markup.
> b) contain the floats with overflow property applied on the ul.
> c) give a explicit width to the ul so that, the out of the flow
> element could not go more upper then what it should.
>
> Seems to be ok now.
>
> http://www.occ.nuvemk.com/CssMarcio/secundar
2010/10/23 MEM :
> Hello (again),
>
> I'm trying to accomplish the following:
> http://www.occ.nuvemk.com/CssMarcio/secundariaOcc.html
>
> With the above CSS:
> http://www.occ.nuvemk.com/CssMarcio/occ.css
>
> The floats seem to be understood on latest FF, Opera and Mac Safari -
> But on IE8 the cle
>
> On Oct 23, 2010, at 8:07 PM, MEM wrote:
> Height: 100% only works if the height of the parent element is known, as in
> your code snippet:
Ok. It's 100% of a given height. 100% is a relative measure, hence, we
need to have a reference. Slowly... I'm getting somewhere. :s
>
> Philippe
Thank
Hello (again),
I'm trying to accomplish the following:
http://www.occ.nuvemk.com/CssMarcio/secundariaOcc.html
With the above CSS:
http://www.occ.nuvemk.com/CssMarcio/occ.css
The floats seem to be understood on latest FF, Opera and Mac Safari -
But on IE8 the clear seems to clear more then what i
On Oct 23, 2010, at 8:07 PM, MEM wrote:
> I would love to have a cheat-sheet so that I can see what is the
> default position and display values of elements... :D :D
>
> :D ?
Have you tried the CSS 2.1 spec ? it has a helpful index.
http://www.w3.org/TR/CSS21/indexlist.html
- :D -
>> And heig
Context:
> #menu li a {
> background:url('image/menu.png') no-repeat;
> width:100%;
> height:100%;
> display:block;
> }
Add on:
#menu li {
height: 100px;
width: 200px;
}
> s are inline-level elements so width and height do not apply unless you
> style them as block-elements.