IE problem
Posted: 26 July 2008 08:08 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2318
Joined  05-13-2004

I had a problem with IE and finally got it resolved, but I don’t know why my solution works. If someone could explain to me why it works I would be very grateful.

on this page in IE the white box was positioned against the edge of the striped background. In FF and Opera it was centered as it is now in IE.

My solution was to add the following to the IE only stylesheet

#resume #info {
    
position: relative;
    
width: 650px;
}

I have no idea why this works - I sort of under stand the position element, but not why it was necessary to declare the width.

Anyhow I have solved the problem, but want to better understand why it works so that I can code faster in the future.

Thank you.

Sean

 Signature 

CreateSean Web Design | EE Forums 4 You ExpressionEngine forum customization
on twitter @CS_sean I am the poster formally known as The Linguist.

Profile
 
 
Posted: 28 July 2008 12:28 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1442
Joined  06-05-2007

My guess would be that its more related to your #resume container and how it related to the #info container.  Often IE requires a width for relative containers so it knows what to do with it.

 Signature 

Marshall Grant   |  grantmx.com  |  Atlanta, GA   |  design  |  development  |  @grantmx

Profile
 
 
Posted: 28 July 2008 08:52 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2318
Joined  05-13-2004

thank you.

 Signature 

CreateSean Web Design | EE Forums 4 You ExpressionEngine forum customization
on twitter @CS_sean I am the poster formally known as The Linguist.

Profile
 
 
Posted: 29 July 2008 04:43 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  660
Joined  03-02-2006

Giving elements a dimension is a hasLayout trigger.

 Signature 

John Faulds - Tyssen Design | Member of EE Pro Network

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120018 Total Logged-in Users: 91
Total Topics: 126155 Total Anonymous Users: 44
Total Replies: 663598 Total Guests: 389
Total Posts: 789753    
Members ( View Memberlist )