The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Code:
#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?
<
Last edited by bobby131313 on 24 June 2008, 19:31
Posted
I believe its 179px<
Posted
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.<
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.<
Posted
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.<
Actually it's 175, borders go in, not out. Pretty easy to tell when I change the border to 20px. Big duh for me.<
Posted
Ahh then it reacts differently cause I believe tables it adds to the outside
<
<
Posted
it differs between browsers
, ie/ff del ith border/margin differently<
Posted
Originally posted by HuwR
it differs between browsers, ie/ff del ith border/margin differently
Indeed!
Posted
No margin, no padding, 2px border(left & right), 175px width = 179px
<
<
Posted
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.
<
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.
Posted
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.<
Posted
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
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...