Yes, that does change the indentation - on both the <p> tag and the <ul> tags, which is not what I want. The <p> tag is being displayed properly. The first bulleted list should be indented 20px from the text above it, just as the second bulleted list is. The image is 165x135, including the grey shadow, and the <img> tag is inside the "photo" div, which has a right margin of 15px. The bullets of the first list are actually overlapping the margin area.
See screen shot here.
http://screencast.com
Main Topics
Browse All Topics





by: kadabaPosted on 2009-09-05 at 12:05:42ID: 25267353
Hi,
" The div has a 15px right margin, and it's as if this margin is being totally ignored in the case of the bulleted list. "
I dint get you. What do you meant by this?
change div#photo to the below code
div#photo { float: left; width: 165px; padding-top: 5px; margin-right: 20px; }
you will see the indentation change.