OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Equal column width

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Equal column width
Page: [1]
 
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: 1527
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"


(in reply to MCD)
Tailslide

 

Posts: 6691
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Equal column width - 6/18/2009 1:38:55   
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).

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to treetopsranch)
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"

(in reply to treetopsranch)
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"

(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Equal column width
Page: [1]
Jump to: 1





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