T O P I C R E V I E W |
bobby131313 |
Posted - 24 June 2008 : 19:31:02 #sidebar {
float:left;
width: 175px;
background-color: #EEE;
text-align: left;
border-style: solid;
border-color: #890000;
border-width: 2px;
}
What is the actual outside width of this DIV? 175 or 179?
< |
13 L A T E S T R E P L I E S (Newest First) |
Shaggy |
Posted - 26 June 2008 : 04:05:10 Remember, the DTD you use will be a factor, as well.
< |
bobby131313 |
Posted - 25 June 2008 : 16:26:42 Well, IE7 and FF3 look exactly the same to me.< |
HuwR |
Posted - 25 June 2008 : 16:14:42 quote: 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).
< |
muzishun |
Posted - 25 June 2008 : 15:02:01 quote: 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.< |
JJenson |
Posted - 25 June 2008 : 14:33:49 quote: 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.< |
bobby131313 |
Posted - 25 June 2008 : 12:57:52 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. < |
Panhandler |
Posted - 25 June 2008 : 09:30:34 No margin, no padding, 2px border(left & right), 175px width = 179px
< |
SiSL |
Posted - 25 June 2008 : 05:43:46 quote: Originally posted by HuwR
it differs between browsers , ie/ff del ith border/margin differently
Indeed! < |
HuwR |
Posted - 25 June 2008 : 02:37:10 it differs between browsers , ie/ff del ith border/margin differently< |
JJenson |
Posted - 24 June 2008 : 20:58:07 Ahh then it reacts differently cause I believe tables it adds to the outside < |
bobby131313 |
Posted - 24 June 2008 : 20:49:39 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.< |
AnonJr |
Posted - 24 June 2008 : 20:05:38 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.< |
JJenson |
Posted - 24 June 2008 : 19:39:08 I believe its 179px< |