Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS problem with width of

    when
      float left and
    • float right

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31415
    salem
    Member



    PLEASE HELP ME.

    IN IE7 when ‘ul’ float: left and ‘li’ float:left, the width of ‘ul’ is ok. but when ‘ul’ float:left and ‘li’ float: right, the width of ‘ul’ is 100%(the background yellow). What should i do to make the width of ul when ‘li’ float:right is look like ‘li’ float:left. i can’t set width of ul because it’s must depends of ‘li’. width of ‘ul’ = total width of ‘li’.

    because and are default display:block, so i can’t set display:inline for

  • .

    NOTE : only use CSS, not JAVASCRIPT.

#63472
salem
Member

Sorry for my fault. Here is the code :












Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.