NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page IE/FF CSS Border Clash

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
4 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 06-21-2006, 02:19 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jan 2005
Location: Liverpool, UK
Posts: 159
Harro is on a distinguished road
 



IE/FF CSS Border Clash


So heres another Firefox, Interent Explorer clash thats giving me some problems.

I hav a div, a set number of pixels wide and high, and to this div I apply a 10px border. In FF the border is applied on the outside of the div, but in IE it is applied on the inside, effectively making the div 20px's slimmer and shorter.

Anyone know of any fixes or workarounds for this?
Thanks for any help.
Harro
Harro is offline  
Old 06-21-2006, 02:24 PM   #2 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,792
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Code:
<style type="text/css">
.class {
  width: 200px;
  border: 10px;
}
</style>
<!--[if IE]>
<style type="text/css">
.class {
  width: 220px;
}
</style>
<![endif]-->
Dan is offline  
Old 06-21-2006, 02:28 PM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Jan 2005
Location: Liverpool, UK
Posts: 159
Harro is on a distinguished road
 



Thanks for that, I always forget about <!--[if IE]>

Harro.
Harro is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:14 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger