473,473 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Bordering problem in IE

Amateur trying to produce a bordered, rounded corner template for simple
pages in FF and IE 5+, derived from
http://www.airtightov.com/lab/airtight_corners.html

Seems OK so far in FF but disjointed top and bottom bordering in IE6|7/win,
all running strict html 4.01 validated.

http://homepage.eircom.net/~alansteel/rounded.html

In IE6|7, the top/bottom centre divs don't seem to "join" the right/left
corners (unlike FF), leaving ca a 3px gap. I can increase this gap, but not
close it despite any amount of "googling" for solutions or playing with
margins, padding and border specs.

Clearly something going on I simply can't get a handle on -- presumably some
(subtle?) difference in FF & IE strict "boxing". Any pointers or other help
greatly appreciated if this last problem in IE can be sorted.

Alan

Dec 5 '06 #1
5 1594
Alan Steel wrote:
>
http://homepage.eircom.net/~alansteel/rounded.html

In IE6|7, the top/bottom centre divs don't seem to "join" the right/left
corners (unlike FF), leaving ca a 3px gap
I've seen this technique used before - separate left-center-right
elements for the corners and top/bottom border.

Why don't you just but the 3px border on the .box container, float your
images as you do now, and get rid of the center element altogether? Drop
the left/right borders on the .content block as well.

--
Berg
Dec 5 '06 #2

"Bergamot" <be******@visi.comwrote in message
news:4t*************@mid.individual.net...
Alan Steel wrote:
>>
http://homepage.eircom.net/~alansteel/rounded.html

In IE6|7, the top/bottom centre divs don't seem to "join" the right/left
corners (unlike FF), leaving ca a 3px gap

I've seen this technique used before - separate left-center-right
elements for the corners and top/bottom border.

Why don't you just but the 3px border on the .box container, float your
images as you do now, and get rid of the center element altogether? Drop
the left/right borders on the .content block as well.

--
Berg
Thanks very much for consideration.

If I have correctly implemented your suggestions, then the rectangular
bordering over-rides the rounded cornering, and the div heights
break-down -- perhaps losing the "floats" because there are no longer
"centre" divs? Modified version:

http://homepage.eircom.net/~alansteel/bgrounded.html

My interest was with the airtightov.com technique of offset variation of a
single background image. Perhaps that approach is simply incompatible with
how IE6|7 implements the relevant style(s).

Anyway, thanks again.

Alan
Dec 5 '06 #3
Alan Steel wrote:
>
http://homepage.eircom.net/~alansteel/bgrounded.html
Add some negative margins to the floats: -3px
That will position the float over the box borders.

--
Berg
Dec 5 '06 #4

"Bergamot" <be******@visi.comwrote in message
news:4t*************@mid.individual.net...
Alan Steel wrote:
>>
http://homepage.eircom.net/~alansteel/bgrounded.html

Add some negative margins to the floats: -3px
That will position the float over the box borders.

--
Berg
Further thanks -- margin manipulation certainly can reposition the floats,
however the #box border still over-rides. (cf top right). Similarly if
image is put into the corners directly rather than as background. Image
seems only to over-write #box border if "positioned" (cf top left).

http://homepage.eircom.net/~alansteel/bgrounded.html again.

Perhaps 4 *distinct* images are necessary for IE!
Anyway, thanks very much for your input -- obviously still a great deal for
me to learn!

Regards

Alan

Dec 5 '06 #5
Alan Steel wrote:
"Bergamot" <be******@visi.comwrote in message
news:4t*************@mid.individual.net...
>Alan Steel wrote:
>>>
http://homepage.eircom.net/~alansteel/bgrounded.html

Add some negative margins to the floats: -3px
That will position the float over the box borders.

http://homepage.eircom.net/~alansteel/bgrounded.html again.

Perhaps 4 *distinct* images are necessary for IE!
No, IE just needs some other added help for its many flaws. Check out
http://www.positioniseverything.net/explorer.html

position:relative

can do wonders. ;) Add that to your top-right corner element.

--
Berg
Dec 5 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Sarah Tanembaum | last post by:
test.html: <script type="text/javascript"> location = "test.php?name=blah"; </script> test.php <?php name=$_GET; echo "Name is: $name";
1
by: Shak | last post by:
Hi all, I have subtotal rows in a datatable that I wish to emphasise by adding borders to. Ive isolated the relevant cells pretty easily, but I cant figure out how to add a border to the cell...
5
by: achraf.b | last post by:
new javascript package to validate data # hasValidChars(string, characters, caseSensitive) # isIP(ip) # isAlpha(string) # isLetter(string) # isNotEmpty(string) #...
7
by: Michael R | last post by:
It's an interesting question, as I see it. I have a form, in which there are a few command buttons, which change color when the mouse is on top of them (On Mouse Move). Now, I want the color to be...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.