Although i am no stranger to CSS, i am very new to the complete seperation of content and presentation. Now that i am, completely, relying on CSS for presentaion i am running into some hurdles.
I am in a real bind and need to present this by this Thursday. Yikes. I still need to dress it up, artistically, but i am having an alignment problem with one of my divs. Everything displays properly in IE7 and FF. Safari and Opera seem to be adding 8px to the right of the div. You can see an example of it at mahaffey.hhvisualgroup.com. The area, in question, is the flash map with the bullets.
This is a basic 2 column fixed-width layout(this page does not need to scale). i have a header(#header), a left column(#subNav - floated left), a right column(#content - floated right), and a footer(#footer) which clears the floats - all wrapped in a div. Inside of "<div id="content">" i have another div called "flashMap" which holds the embedded flash file. The problem is either the #content or #flashMap or both. When #content is floated Safari and Opera add padding causing it to shift about 8px. When i use an absolute and relative position on these 2 rules, everything displays properly in all browsers. The downfall is that the wrapper and footer div no longer grows as the #content expands.
I can post any files or code needed, although all the html/css can be viewed in firefox. I am used to having to get IE7 to behave. I cannot figure out why this works fine in FF but not Safari or Opera. UG! please help!
i would be so grateful if anyone could help me out on this. It would really dig me out of a bind. I suppose i could use absolute and relative position for the demo. It just happens to be for a mac company. Figures.
thanks!
|