![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to creat a custom border like this: #container { width:770px; background: url(images/background.gif) repeat-y; padding:0; margin:0; } The customer image has the left and right border, each side's border is 10px. Therefore I've created the #main and #rightnav with margins of 10px. While it displays correctly on MS IE6, it doesn't display the border at all on Opera, Netscape or Firefox. The margin attributes should be transparent, so what am I doing wrong. |
|
weblog | http://www.pretletters.net/weblog/weblog.html | webontwerp | http://www.pretletters.net/html/webontwerp.html | zweefvliegen | http://www.pretletters.net/html/vliegen.html | |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Here you go: |
| http://www.red-enet.com/essenceofspain/ Looks great on IE6 - doesn't work on Opera, Firefox or Netscape. |
|
weblog | http://www.pretletters.net/weblog/weblog.html | webontwerp | http://www.pretletters.net/html/webontwerp.html | zweefvliegen | http://www.pretletters.net/html/vliegen.html | |
#5
| |||
| |||
|
|
Here you go: http://www.red-enet.com/essenceofspain/ |
|
Looks great on IE6 - doesn't work on Opera, Firefox or Netscape. |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
No [...] |
|
weblog | http://www.pretletters.net/weblog/weblog.html | webontwerp | http://www.pretletters.net/html/webontwerp.html | zweefvliegen | http://www.pretletters.net/html/vliegen.html | |
#8
| |||
| |||
|
|
Please quote part of the message you are replying to. Not everyone will have seen the earlier messages in the thread and hence have no idea what you are talking about. |

|
IE is getting it wrong, as usual. The other browsers are doing what you've asked them to do. #main is floated left. #rightbar is floated right. Hence #container has its height determined by #top alone. Floated elements are taken outside the document flow and hence do not contribute to the height of their parent elements. So your background image is constrained to a shorter portion of the page. Add an element with clear: both; after the two columns but inside #container to extend the parent to encompass the full height of both columns. Then you can get to work on the real problems such as the fixed font size. |
#9
| |||
| |||
|
|
Hi all I'm trying to creat a custom border like this: #container { width:770px; background: url(images/background.gif) repeat-y; padding:0; margin:0; } ---------------------------------------- |
|
The customer image has the left and right border, each side's border is 10px. Therefore I've created the #main and #rightnav with margins of 10px. While it displays correctly on MS IE6, it doesn't display the border at all on Opera, Netscape or Firefox. The margin attributes should be transparent, so what am I doing wrong. Thanks in advance |
#10
| |||
| |||
|
|
The border has to be on the CONTAINER not the image. |
|
------------------------------------------------------------------------- "Dy" <dyangraham (AT) hotmail (DOT) com> wrote in message news:1139048746.916852.62700 (AT) g44g2000cwa (DOT) googlegroups.com... Hi all I'm trying to creat a custom border like this: #container { width:770px; background: url(images/background.gif) repeat-y; padding:0; margin:0; } ---------------------------------------- #container { border-left:10px solid #008000; border-right:10px solid #008000; background-image: url('eossnowflake2a.gif'); background-repeat: repeat; background-attachment: scroll; padding-left:4px; padding-right:4px; padding-top:0; padding-bottom:0 } The customer image has the left and right border, each side's border is 10px. Therefore I've created the #main and #rightnav with margins of 10px. While it displays correctly on MS IE6, it doesn't display the border at all on Opera, Netscape or Firefox. The margin attributes should be transparent, so what am I doing wrong. Thanks in advance |
![]() |
| Thread Tools | |
| Display Modes | |
| |