4 replies [Last post]
aa2grasshopper
Offline
newbie
Lititz PA
Last seen: 13 years 3 weeks ago
Lititz PA
Joined: 2007-08-31
Posts: 3
Points: 0

Hello! Any assistance would be GREATLY appreciated. I have a curved, tan background image in a < div > - this one particular background image shows a gap or padding beneath. This only happens in IE on XP.

Site: http://www.fdswarr.com

Styles:
http://www.fdswarr.com/styles.css

Thank you! Thank you! Thank you!
:shrug:

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 6 years 29 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

I'm not crazy about the way

I'm not crazy about the way you built this. You should try to avoid the use of empty elements for the purpose of presentation.

IE reserves height for font-size/line-height. Set the font-size to 1px in .contentTop

aa2grasshopper
Offline
newbie
Lititz PA
Last seen: 13 years 3 weeks ago
Lititz PA
Joined: 2007-08-31
Posts: 3
Points: 0

RE:

Thank you SO much for your help. My reasoning for using the empty elements was to utilize the background image to keep the code cleaner - do you have a suggestion to do things better?

Again, thank you VERY much.

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 6 years 29 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

I'm curious as to why you

I'm curious as to why you didnt' just add that image to the top of the navBG image and use one image.

aa2grasshopper
Offline
newbie
Lititz PA
Last seen: 13 years 3 weeks ago
Lititz PA
Joined: 2007-08-31
Posts: 3
Points: 0

That is honestly a good

That is honestly a good question. I suppose that I OD's ( over div ). I will be more mindful in the future. Thanks again!