Sunday July 27 2008

IE problem solved, but why?

I solved a problem in IE today, but don’t know why my solution worked. I’ve posted about it on the EE forums since I don’t think anyone is actually reading this blog. But if someone is, please let me know. I’ve copied and pasted the thread post below:

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 {
    
positionrelative;
    
width650px;

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.


Sean. inscribed these words of wisdom on Sunday Jul 27, 2008 at 10:10 AM | tags: ee thread, css, internet explorer |
Commenting is not available in this weblog entry.
logo subscribe to rss
theme forest

About Me

This blog is my journey to professional web design and development. Here I will write about code and things I learn about xhtml, css, javascript, jquery, Expression Engine, Wordpress and any other CMS I need to use in my new career.

I will be adding links to the sidebar as I find useful resources and blogs. I'm also looking forward to getting feedback from other designers and developers. Thanks for dropping by.

Web Design Blogs

Tutorials

Online Resources

Find Work

Stock Imagery

Validators

CMSs

Recently Bookmarked

Tag Cloud

Reading List

Categories

subscribe to rss