xfile Posted February 11, 2011 Share Posted February 11, 2011 Am haveing a problem floating mutiple div's inside a div named div#content and they are not working the way i want it to; please i need an assistant<>below is the is the html and css code i used:..........................................................................................................................................<div id="about_container"><div class="about_img"><img src="images/aboutbuy_lowprices.gif"/></div><div class="img_content"><h3>Lorem Ipsum !</h3><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem </p></div><br class="clear" /><div class="about_img"><img src="images/aboutbuy_lowprices.gif"/></div><div class="about_content"><h3>Lorem Ipsum !</h3><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem </p></div><br class="clear" /><div class="about_img"><img src="images/aboutbuy_lowprices.gif"/></div><div class="img_content"><h3>Lorem Ipsum !</h3><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem </p></div><br class="clear" /></div> </div>.........................................................................................................................................And the CSS STYLE BELOW.........................................................................................................................................#about_container{ width:100%; padding:0; margin:0;} .about_img{ margin-right:3px; float:left; width:68px; height:inherit;} .img_content{ width:553px; float:right;}.clear{ clear:both;}.........................................................................................................................................Click or copy this link to see what it looks like in the browser I know i can use table but i dont want to ........please help ? Link to comment Share on other sites More sharing options...
dsonesuk Posted February 11, 2011 Share Posted February 11, 2011 wheres the class related to <div class="about_content">?the other two use <div class="img_content"> Link to comment Share on other sites More sharing options...
cousineaug Posted February 11, 2011 Share Posted February 11, 2011 I presume you want all 3 to look the same.assuming 1 and 3 are correct, then something is wrong with 2ahathe container is called<div class="about_content">instead of <div class="img_content"> Link to comment Share on other sites More sharing options...
dsonesuk Posted February 12, 2011 Share Posted February 12, 2011 You keep repeating, basically what I have just posted, read the posts before replying.You keep repeating, basically what I have just posted, read the posts before replying. Link to comment Share on other sites More sharing options...
xfile Posted February 12, 2011 Author Share Posted February 12, 2011 I presume you want all 3 to look the same.assuming 1 and 3 are correct, then something is wrong with 2ahathe container is called<div class="about_content">instead of <div class="img_content">oh i c that was a silly mistake made by me: thanks guys for the help.............. Link to comment Share on other sites More sharing options...
xfile Posted February 12, 2011 Author Share Posted February 12, 2011 You keep repeating, basically what I have just posted, read the posts before replying.You keep repeating, basically what I have just posted, read the posts before replying.Thanks: But i want to know if its possible to use list instead of div ....:and if possible can you help me out with the code Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.