|
Posted by GTalbot on January 12, 2008, 5:49 pm
Please log in for more thread options
> In IE, the border properly appears around the
> image and caption. In Firefox the entire border is not there.
> http://www.pc-pals.net/lisa/home.html
> http://www.pc-pals.net/lisa/styles/main.css
> #main_image {
> float: right;
> width: 400px;
> margin:5px 0 5px 5px;
> padding: 10px 10px 0 10px;
> border-style: solid;
> background-color: #FFFFFF;
> border: 5px;
> border-color: #660000;
> }
>
> If anyone has any suggestions, or a better way to do this,
Cindy,
One easy way was to just rewrite border: 5px; into border-width: 5px
I read the whole tread. I want you to understand that what Firefox
does is *not* a bug. What Internet Explorer 7 does is a bug, is an
incorrect implementation of the border shorthand property.
Testcase and demos:
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/BorderColorBugIE7.html
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/BorderColorBugIE7_2.html=
Current draft version of the CSS 2.1 Test suite (testing border
shorthand syntax)
http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/t010403-shand-border-0= 0-c.htm
Regards, G=E9rard
--
Internet Explorer 7 bugs
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
|