3 replies [Last post]
nak807
Offline
newbie
Michigan
Last seen: 14 years 37 weeks ago
Michigan
Timezone: GMT-7
Joined: 2007-05-16
Posts: 2
Points: 0

Hello every one. I'm having a little problem with IE compatibility. I'm sure some one out there has had this problem but I wasn't able to find any forum posts that have already covered this. I made a simple css + html layout inspired by De Stijl art style. The design looks great in Fire Fox but in IE the 3px high dividing bars expanded for some reason and I can't get them to go below 10 or so pixels, they simply won't get any smaller unless I give them a negative margin value in which case the whole float method gets screwed up. I've included a link to images of the design running in both Fox and IE along with each style sheet for fox and IE and the html document. Any help any of you can give me would be greatly appreciated.

http://elliotr.googlepages.com/portfolio

thanks

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 2 weeks 18 hours ago
Joined: 2004-06-30
Posts: 9679
Points: 815

Why on earth use divs? Why

Why on earth use divs? Why don't you just give the container a white background, and use margins to push the elemtns away from each other?

Verschwindende wrote:
  • CSS doesn't make pies

nak807
Offline
newbie
Michigan
Last seen: 14 years 37 weeks ago
Michigan
Timezone: GMT-7
Joined: 2007-05-16
Posts: 2
Points: 0

Because then one would have

Because then one would have to mess with the margin values for each element. Maybe that method is better but regardless, I found a solution to his problem on another forum.

http://forums.digitalpoint.com/showthread.php?s=5b82b60ecff86cab27ad2c7557453616&t=330708

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 2 weeks 18 hours ago
Joined: 2004-06-30
Posts: 9679
Points: 815

nak807 wrote:Because then

nak807 wrote:
Because then one would have to mess with the margin values for each element.

And . . . that would be a problem because . . . . ?

Verschwindende wrote:
  • CSS doesn't make pies