What is the actual outside width of this DIV? 175 or 179?
<
Replies ...
JJenson
24 June 2008, 19:39
I believe its 179px<
AnonJr
24 June 2008, 20:05
Use http://iconico.com/caliper/ or http://www.microsoft.com/downloadS/details.aspx?FamilyID=b4b13cbc-a375-4835-91c8-0a248c3cea89&displaylang=en I've been using an older version of the former for quite some time now. They have an unlimited "feature limited" trial version that's been more than enough for my purposes.<
bobby131313
24 June 2008, 20:49
Hmmm... Thanks Anon.
Actually it's 175, borders go in, not out. Pretty easy to tell when I change the border to 20px. Big duh for me.<
JJenson
24 June 2008, 20:58
Ahh then it reacts differently cause I believe tables it adds to the outside <
HuwR
25 June 2008, 02:37
it differs between browsers , ie/ff del ith border/margin differently<
SiSL
25 June 2008, 05:43
Originally posted by HuwR it differs between browsers , ie/ff del ith border/margin differently
Indeed! <
Panhandler
25 June 2008, 09:30
No margin, no padding, 2px border(left & right), 175px width = 179px
<
bobby131313
25 June 2008, 12:57
Whew.
Actually they do behave the same in IE and FF.
I'm teaching myself the wonderful world of a floating div layout. Believe it or not, I got myself out a piece of paper and a pencil and drew a map. It helps. <
JJenson
25 June 2008, 14:33
Originally posted by bobby131313 Whew.
Actually they do behave the same in IE and FF.
I'm teaching myself the wonderful world of a floating div layout. Believe it or not, I got myself out a piece of paper and a pencil and drew a map. It helps.
Learning a completely div site is definantly in need of a drawn out map. I have been trying to teach myself divs more and more and I still like the idea of a table and div site
But CSS has alot of cool features just takes time to find out all the little quarks to it.<
muzishun
25 June 2008, 15:02
Originally posted by bobby131313
Actually they do behave the same in IE and FF.
It depends on which version of IE. IE7 made a lot of improvements to exploder's implementation of CSS, but there are still some quirks. IE6 has absolutely *horrid* CSS support. A quick search for "IE6 CSS bugs" will turn up thousands of sites. IE7 got rid of a lot of them (not all, but I won't fault them for progress ), and I am hoping IE8 will be even better.<
HuwR
25 June 2008, 16:14
Originally posted by bobby131313 Whew.
Actually they do behave the same in IE and FF.
mmm, actually they don't behave the same at all.
IE and Firefox interpret the border + padding elements differently (one puts them on the inside, the other on the outside).
<
bobby131313
25 June 2008, 16:26
Well, IE7 and FF3 look exactly the same to me.<
Shaggy
26 June 2008, 04:05
Remember, the DTD you use will be a factor, as well.
<