Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frameset sizing problem (IE vs. Mozilla)

Status
Not open for further replies.

stormbind

Technical User
Mar 6, 2003
1,165
GB
Hi,

Mozilla and IE are dissagreeing on how to render this frameset. To get the same effect, IE needs 32px and Mozilla 30px top frame (menu). The menu page consists of 30px images.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]


<html>
<head>
<title></title>
</head>


<frameset rows="32,*,100" cols="*" bordercolor="#68689A">
  <frame src="menu.html">
  <frame src="map.html" name="map">
  <frame src="read.html" name="dat">
</frameset>

</html>

----------
I'm willing to trade custom scripts for... [see profile]
 
This would rule that out, wouldn't it?

Code:
BODY	{background-image:url('bg.png');border:none;}

----------
I'm willing to trade custom scripts for... [see profile]
 

Some browsers have default padding and/or margin. You'd need to explicity remove them with:

Code:
body {
  padding: 0px;
  margin: 0px;
}

Dan
 
That's not it. I think it is mayhaps the frameborders. What options are available there?

I really need a big fat moveable border for the bottom frame, but a fixed 0px border would be ideal for the top frame.

----------
I'm willing to trade custom scripts for... [see profile]
 
Is bg.png <= 30px wide?

There's always a better way. The fun is trying to find it!
 
It's precisely 30px but I don't think it would matter anyway.

I lined the MSIE/Mozilla windows against each other and the IE one is definately rendering the top frame smaller.

----------
I'm willing to trade custom scripts for... [see profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top