I would be grateful if someome could check my understanding to a few scenarios:-
(1) <ul> and style the <ul> then float the <li> the <li> automatically pops out of the container of the <ul>, thus if I have applied some style to the <ul> then I would need to use overflow:hidden to the <ul> to get the style back?
(2) If I have a <p> and some formatting applied to it, then have a <q> and float it right, the formatting of the <p> would disappear, so would need to add an overflow to the <p> to get the formatting back?
Thanks
(1) <ul> and style the <ul> then float the <li> the <li> automatically pops out of the container of the <ul>, thus if I have applied some style to the <ul> then I would need to use overflow:hidden to the <ul> to get the style back?
(2) If I have a <p> and some formatting applied to it, then have a <q> and float it right, the formatting of the <p> would disappear, so would need to add an overflow to the <p> to get the formatting back?
Thanks
Comment