473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

3 column, equal height, round corners, alpha png

Something that I've been trying to do for a long time is a 3 column layout
where all three columns have equal height, and have rounded corners
implemented using PNGs with alpha.

One of my early attempts is here:
http://www.nrkn.com/3ColRoundAlpha/

It shows a bunch of different methods that I tried. You'll see that not
only is there a hell of a lot of nesting of divs, but the page is very slow
to load because there are a lot of image elements making up the various
pieces of the rounded corner box. Also, because I rely on display:
table-cell for the equal height, it doesn't work in IE. The only
cross-browser solution I've found so far is just to use a table. Of course,
I'd rather do it with html/css if possible.

Here is my new attempt, using absolute positioning and z-index to achieve
equal height columns. It has some problems which I'll go into a little
later:

http://www.nrkn.com/3ColEqual/

In my new attempt, there is a lot less nesting of divs (still not ideal but
I think I am getting close to the minimum number required for the desired
effect), also I have combined the images so that there are 5 images that
make up the boxes rather than 9, this makes quite a difference in page load
times (the images themselves are fairly tiny, it's the multiple http
requests that slow things down).

I've only tested in IE 6 & 7, Opera 9 and FF 2.

It works in all of them except IE 6. However, in IE 7 there is a horizontal
scrollbar. Anyone know what's causing this?

In IE 6... egads. First, I haven't implemnented the alpha hack, but forget
that for now. The backgrounds don't show up at all for the absolutely
positioned divs, any idea why?

Also, in IE 6 the tops of the columns have gaps in them, whereas in the
other browsers they fit together snugly, any ideas?
May 15 '07 #1
0 3574

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

Similar topics

5
by: reneeccwest | last post by:
Hello, how can I make the end angle to be round? <table border="1"> <tr> <td>test </td> </tr> </table> If I run that table, it is a ratnagluar. Is it possible to round the 4 ends?
5
by: reneeccwest | last post by:
is there any way I can make the 4 end of table with round corner without using any images? <table border=1> <tr><td>I wanna be a round table</td></tr> </table>
1
by: Marek Mänd | last post by:
When one uses CSS such like as -moz-border-radius:5px; border:1px solid black; background:red; round corner is built in Mozilla: |FFFF |wFFF
3
by: Kerberos | last post by:
I haven't found in my CSS book how to create a gradient to fill a division tag, and to create a border with round corners. Is it possible using either CSS or JavaScript? I'd like to create a menu...
18
by: Mike D | last post by:
I am looking for a way in vb.net to take a form with sharp corners and just round off the corners a bit so they arent so sharp. I have seen this done in other applications.
10
by: harish | last post by:
Hi everyone, How to make a round corner dorders using div? with images or without images. Pls help me! -- harish ------------------------------------------------------------------------...
5
by: Sachin | last post by:
Hi All, I have seen many web sites where they have small round corners around the tables rather than the traditional square one without using images. Would like to know what css attributes or...
1
by: soms2m | last post by:
HELLO ALL, I want to fill the parent window height with respect to the sub window height which is loading using ajax (mootools). For example if the parent window height is normal and the loading...
7
by: ad08 | last post by:
I want to create a div over the body which should take 100% height of the page. I am defining html and body height is 100%. Also the div height is 100%. still it's not working for me. Can some one...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.