J
jamslam
I'm having a little bit of border trouble...
I'm desperately trying my best to avoid tables at all costs in my layout
design for the message board I am creating. Some things just flat out will
not work well enough in all browsers (especially MSIE... which I have come
to hate )
Anywho, here's the link to check out:
http://www.webtrickscentral.com/wtcBB/thread.php?t=23
If you notice, i put a border-left on the right area of the post section.
You may say, "Then put a border-right on the left area of the post section",
but what if the content on the right area becomes longer than that of the
left?
Anywho, I've tried quite a few methods, I've even been as desperate as to
try and dynamically generate a border with javascript, fortunately it didn't
work, good thing because I would have used it I am so frustrated with this.
So, there are two logical methods of going about this in my head:
1. Use a table, which is my absolute last resort. I guess if you stretched
it, you could find some way to say that the post bit could be considered
tabular data.
2. Set a fixed height for the whole entire post section. Then, set the
height of the right post section to 100%, and use a border-left. Of course
it would expand and everything, works well. However, there are two reasons
why I don't want to do this.
A. I know that isn't very good practice in the first place.
B. What if someone does not have an avatar, and the right post area
isn't filled up at all. I am going to have a lot of extra space lying
around, making it very messy. And I hate messy.
So what I ask of you, is to help me find a way to solve this problem. It
would be most greatly appreciated.
Thank you very much, you guys have always been helpful here
-jamslam
I'm desperately trying my best to avoid tables at all costs in my layout
design for the message board I am creating. Some things just flat out will
not work well enough in all browsers (especially MSIE... which I have come
to hate )
Anywho, here's the link to check out:
http://www.webtrickscentral.com/wtcBB/thread.php?t=23
If you notice, i put a border-left on the right area of the post section.
You may say, "Then put a border-right on the left area of the post section",
but what if the content on the right area becomes longer than that of the
left?
Anywho, I've tried quite a few methods, I've even been as desperate as to
try and dynamically generate a border with javascript, fortunately it didn't
work, good thing because I would have used it I am so frustrated with this.
So, there are two logical methods of going about this in my head:
1. Use a table, which is my absolute last resort. I guess if you stretched
it, you could find some way to say that the post bit could be considered
tabular data.
2. Set a fixed height for the whole entire post section. Then, set the
height of the right post section to 100%, and use a border-left. Of course
it would expand and everything, works well. However, there are two reasons
why I don't want to do this.
A. I know that isn't very good practice in the first place.
B. What if someone does not have an avatar, and the right post area
isn't filled up at all. I am going to have a lot of extra space lying
around, making it very messy. And I hate messy.
So what I ask of you, is to help me find a way to solve this problem. It
would be most greatly appreciated.
Thank you very much, you guys have always been helpful here
-jamslam