By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,602 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

Position table for IE

P: 14
Hi there.
I have a page which displays search results, and is supposed to have two ads on both the left and right side of the results. I have no problem doing this in any browser except for IE. When I try to display in IE, the two ads display just fine, but the search results are pushed to the bottom and appear below the ads. What is going wrong here? and why does IE suck... everyone should just use firefox.

My CSS code looks like this:
Expand|Select|Wrap|Line Numbers
  1. #skyscraper_right {
  2.     float:right;
  3.     margin:10;
  4.     width:160px;
  5.     margin-bottom: 10px;
  6. #skyscraper_left {
  7.     float:left;
  8.     margin:10;
  9.     width:160px;
  10.     margin-bottom: 10px;
  11. #results {
  12.     margin-left: 200px;
  13.     margin-right:200px;
  14.     border:0px;
  15. }
  16.  
and then my html:
Expand|Select|Wrap|Line Numbers
  1. <div id = "skyscraper_right">
  2. Ad Code...
  3. </div>
  4. <div id = "skyscraper_left">
  5. Ad Code...
  6. </div>
  7. <div id = "results">
  8. <table width = "100%">
  9. ...
  10. </table>
  11. </div>
  12.  
Nov 29 '08 #1
Share this Question
Share on Google+
2 Replies


P: 14
Anyone? Also this is IE7 that I am using.
Nov 29 '08 #2

clain
P: 79
simple!!!!.... try absolute positioning.... give the CSS atribute "position:absolute"... now IE will obey you ...!!!!

enjoy!!!!
Dec 1 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.