swornavidhya_m 0 Newbie Poster

Hai,
I'm having doubt why the code written for ul is like this in CSS style sheet when creating drop down menus..

display:inline;
    display/**/:block;
    float:none;
    float/**/:left;

It is enough if we mention display and float for once. Why it is used twice with a comment in between?

M.Sworna Vidhya

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.