Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
IE frame layout issue
Old 08-22-2007, 01:15 PM IE frame layout issue
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
Hi all - once again, I'm sure the answer is right in front of me, but I'm just not getting it. The site is: http://www.jessweiss.com/sciatica/index1a.html . Lays out perfectly in FF (rounded corners img and frame2 line up perfectly)... have a little "bump" between the "rounded corners" image black margin and frame2 on the page in IE 6. I would imagine it's something with either the frame2 or content attributes, but nothing I do fixes them. Also, I tried adding 0 padding to the img attribute and floating the img attribute left... still nothing. In fact, floating the img attribute left breaks the frame on both sides. So, whatever advice anyone can offer is greatly appreciated. TIA!

ETA: It also works fine in IE7.
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor

Last edited by lynnema; 08-22-2007 at 10:40 PM..
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
 
Register now for full access!
Old 08-23-2007, 12:45 AM Re: IE frame layout issue
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
The problem with IE6 lies in its busted box model:
http://www.positioniseverything.net/ie-primer.html
You are going to have to use conditional comments to target IE6 and change the width of the div to compensate for IE6's box model vagaries.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-23-2007, 09:19 AM Re: IE frame layout issue
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
I knew I could count on you! Would you mind taking a look at the hack I installed... seems to be working now in both IE6 and FF (will have to check IE7 when I get home, since I don't have it on my work machine ) I took it, to the best of my understanding, from the Tan Hack article you referred to...

Code:
 
#container {
 margin-left: 200px; }

* html #container {margin-right: -20px; 
   ma/rgin-right: 0px;
   /* to ensure frame2 lines up with rounded corners in IE6 */ 
}
Here is the link to the site again: http://www.jessweiss.com/sciatica/index1a.html

TIA!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Old 08-23-2007, 10:35 AM Re: IE frame layout issue
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Looks good
However, IE7 will choke on that *html hack (they fixed it in IE7), so you're going to have to use conditional comments and remove that hack from your main css file. That way you can target JUST IE6 and below and IE7 will stay happy.

http://msdn2.microsoft.com/en-us/library/ms537512.aspx

Or, you can try this method: http://www.positioniseverything.net/...s/cc-plus.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 08-23-2007 at 10:36 AM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-24-2007, 02:45 PM Re: IE frame layout issue
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
Thanks again. I was looking at it in IE7 without making any other changes, and it appears to be displaying properly. Am I missing something?
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Reply     « Reply to IE frame layout issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21439 seconds with 12 queries