Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1936 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Coding a rectangular box with rounded corners (with CSS)

Thread title: Coding a rectangular box with rounded corners (with CSS)
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
04-22-2006, 03:27 PM
#1
Yang is offline Yang
Yang's Avatar
Status: Member
Join date: Jun 2005
Location:
Expertise:
Software:
 
Posts: 460
iTrader: 0 / 0%
 

Yang is on a distinguished road

Send a message via Yahoo to Yang

  Old  Coding a rectangular box with rounded corners (with CSS)

How do I code this in CSS:



--------

I usually tackle this by slicing it into three parts: the top (1), the liquid middle (2), and the bottom (3), as shown on the image below:



--------

However, I found that the rectangular boxes (with rounded corners) on this website load such a way that each rounded corner loads at different times. This should mean that a different image is used for each rounded corner, and is a totally different method of slicing and coding.

My questions are:
1. How do you code using the second method described above?
2. Which method is better?

Thanks!

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed