I hope you can help as I am having some issues with my iframes. I have a website almost finished - www.litmusjournal.com.au/test.htm - that I have designed using Dreamweaver and basic javascript. It is working fine on IE but I have found that when viewed in mozilla a 4 pixel padding is being added around both iframes.
If i reduce the width and height of each iframe by 4 I can fix the problem for mozilla but then the iframes have a gap around them when viewed in IE.
Okay, first I am not expert. I have been designing for just over 1 year with DW, however. I have had the same problems, but not with frames. Creating a rule in using CSS solved my issue.
My concern would not be Mozzila, but IE. Mozzila is capitalizing on the browser market, but the majority of folks use (not me) I.E.
But, have you tried using margin: 0px;? Furthermore, why frames?
I'm sure a web guru will have a different opinion, and I'm willing to learn the alternative too.
you could create sperate style sheets for the different browsers... A browser sniffer could do the trick I suppose.
As long as you have the system down for what works on one vs the other it's jsut a matter of the site knowing what the user is browsing with and changing the code to fit that user.
It seems to me the graphic is being pushed when viewed in FF. Keep in mind, you're not using a style to control your site. You are creating ficticious attributes. Use your style sheet: margin-left:0px; margin-right:0px; etc.
You're censoring my comment because you "thought" it was a personal attack; however. The comment was an opinion and there is a difference!!! I thought the site was not attractive and that "sir" is my opinion. I'm sure you'll censor this too!
I will have another go using layers instead of iframes and see if that fixes the problem. I know the site is very basic, the technical side is not my speciality so I am grateful for your advice/help
Bookmarks