navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

firefox ie compatibility issue (borders)

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> firefox ie compatibility issue (borders)
Page: [1]
 
scratt

 

Posts: 1
Joined: 12/21/2004
Status: offline

 
firefox ie compatibility issue (borders) - 12/21/2004 14:40:22   
I have a problem with compatibility with ie and firefox. i have a div element with border-left: 1px solid #FF0000 and width:100px. in IE the actual box size of the div element is 100px and in firefox 101px . even this one pixel is critical. can anyone help?
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: firefox ie compatibility issue (borders) - 12/22/2004 0:30:39   
A URL where we can see it in action might help?

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to scratt)
jaybee

 

Posts: 14157
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: firefox ie compatibility issue (borders) - 12/22/2004 12:00:37   
It's a bug in IE. You should find the layout you get in Firefox is the same as in Netscape, Opera and Mozilla.

quote:

Unfortunately, IE5 and IE6 in quirks mode, thinks that when you set the width, you're setting the sum of the content area, the boders and the padding instead of just the content area as it should be. And IE6 lets the margins and replaced elements of a child element affect the width of the containing block whilst asserting in the MS documentation that this is not allowed.


Take a look at this for more info

http://tantek.com/CSS/Examples/boxmodelhack.html

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Kitka)
d a v e

 

Posts: 4086
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: firefox ie compatibility issue (borders) - 12/22/2004 12:40:48   
or more correctly, it's not a bug but MS did it wrong :)

_____________________________

David Prescott
Gekko web design

(in reply to jaybee)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> firefox ie compatibility issue (borders)
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts