PDA

View Full Version : Border size in CSS and Firefox


natavi
Sep 2, 2006, 09:49 PM
This syle:
Width:111px;
border-top-width:1px;
border-left-width:1px;
border-right-width:1px;
border-bottom-width:1px;
border-color:#B0C6EB;
border-style:solid;
Works good in IE but has wrong height in Firefox. What I can do?
http://www.mightybook.com
Help please

natavi
Sep 3, 2006, 12:31 AM
I found solution. I used span tag. It does not work for Firefox. It only works well with tag p.

LTheobald
Sep 4, 2006, 03:07 AM
Interesting. It worked in Firefox for me but not IE :S

One quick note, all that code can be shrunk into:



width: 111px;
border: 1px solid #B0C6EB;