This is a discussion on "ie padding problem" within the Web Page Design section. This forum, and the thread "ie padding problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
ie padding problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
ie padding problem
hello. i have a div with some text in it but ie is adding padding where it shouldnt be: here is my css for main stuff
*{margin:0; padding:0} html{ height:100%; margin:0px; padding:0px; } body { background-color: #000; text-align: center; margin:0px; padding:0px; height:100%; } #container { position: relative; background: #9cf; margin:0 auto; padding: 0px; width: 650px; min-height:100%; height:auto; border:1px solid; } /* hide from Mac IE5 \*/ * html #container { height: 1%; } /* END hide from Mac IE5 */ #tudormenu{ width:600px; background-image: url(tudortitle.gif); background-repeat: no-repeat; background-position:top center; height:200px; margin: 0 auto; margin-top:40px; } #contenttudor{ background:url(scroll.jpg) no-repeat; width:600px; height:800px; margin: 0 auto; margin-top:20px; margin-bottom:20px; } #tudortext{ position:relative; width:520px; padding:0; display:inline; float:left; margin-left:70px; margin-top:60px; border:1px solid red; } an example with borders is shown here http://www.oxtongue.co.uk/ihate/robin/tudor.html HELP! lol cheers Adrian |
|
|
|
|||
|
Re: ie padding problem
Before looking too deep into anything else, get rid of this line from the top of your code.
|
![]() |
| Tags |
| css ie padding |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem setting the left/right/top/bottom padding of a table to different values | tonyb | Web Page Design | 2 | May 2nd, 2008 20:30 |
| Padding In IE | Monie | Web Page Design | 7 | Feb 12th, 2008 03:36 |
| padding content | Salbert | Web Page Design | 5 | May 3rd, 2007 18:43 |
| IE 7 problem - double padding? | edd_jedi | Web Page Design | 2 | Nov 21st, 2006 15:31 |
| Padding property problem in nested <div>s | mattlowe81 | Web Page Design | 2 | Apr 8th, 2006 16:00 |