|
| |
|
|
MCD
Posts: 758 Joined: 3/19/2002 From: Al USA Status: offline
|
Equal column width - 6/17/2009 19:50:13
I am trying to create a simple, clean template page with just basic markup to use in the future as a starter. I have a 1px black border separating the left navigation column with the right content column. In every browser except Firefox the border fails to reach the footer. Can anyone tell me how to lengthen the border without using a background graphic? You can view the page here
_____________________________
Author of " How To Build A Website With Duct Tape"
|
|
|
|
treetopsranch
Posts: 1539 From: Cottage Grove, OR, USA Status: offline
|
RE: Equal column width - 6/17/2009 23:01:02
Hmm...The border looks OK in my Version of FF 3.0.11. Looks bad in IE 8. There are some weird characters that follow the closing html tag that show up when viewing the source code in IE8, but I doubt that that is causing the problem. </html>x巒ꦻ긷 I could not see your styles.css page.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
|
|
MCD
Posts: 758 Joined: 3/19/2002 From: Al USA Status: offline
|
RE: Equal column width - 6/18/2009 6:22:56
quote:
ORIGINAL: treetopsranch Hmm...The border looks OK in my Version of FF 3.0.11. Looks bad in IE 8. There are some weird characters that follow the closing html tag that show up when viewing the source code in IE8, but I doubt that that is causing the problem. </html>x巒ꦻ긷 I could not see your styles.css page. Firefox gives the desired look...all the other browsers render it differently. I'll look into the weird characters. They do not show up in the editor.
_____________________________
Author of " How To Build A Website With Duct Tape"
|
|
|
|
MCD
Posts: 758 Joined: 3/19/2002 From: Al USA Status: offline
|
RE: Equal column width - 6/18/2009 6:30:43
quote:
ORIGINAL: Tailslide The border is on the content div? Looks like you have padding on the bottom of that div which might hold the line off the bottom. Personally I don't use this technique because you can never really guarantee which div will be longer and you end up with gaps. I'd create a background image (2px wide by 2 px high) of the black line and then add that to your container div as a background 170px from the left. That way whichever column is longest you'll still get the correct line (you may need overflow:hidden in it's rule). I had already tried removing the padding but surprisingly FF did not render it correctly after that and the other browsers stayed the same. I had the feeling a graphic would be needed. Thanks Tailslide. It seemed I had gone through every CSS website out there looking for an answer that did not require a graphic. Now I know there is not one.. - Mark
< Message edited by MCD -- 6/18/2009 10:56:46 >
_____________________________
Author of " How To Build A Website With Duct Tape"
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|