CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 2nd, 2004, 11:37 PM
spectre_240sx spectre_240sx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Los Angeles
Posts: 128 spectre_240sx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 41 m 38 sec
Reputation Power: 6
Send a message via AIM to spectre_240sx
css design principles related to rounded corners

I have a basic layout that I'm working on right now (a gif is attached), but I can't figure out the best way to code it.

I know the corners have to be gif images. That's easy enough. What I'm wondering, is whether the top and side sections can be div's with corresponding borders or if I'm going to have to use images all around the center div. I'd really like to use as little bitmap imagery as possible just to get used to working conservatively instead of just laying everything out with images.

I'm still new to CSS layouts, and I've seen some good tutorials, but not much related to escaping the blocky look traditionally associated with them. I know a list apart has a good article on rounded corners, but it didn't seem to apply here.

Thanks for your time
Attached Images
File Type: gif templayout.gif (7.1 KB, 122 views)

Reply With Quote
  #2  
Old February 3rd, 2004, 12:02 AM
vbrtrmn's Avatar
vbrtrmn vbrtrmn is offline
4:04 Time Not Found
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2004
Location: Northern Virginia
Posts: 2,022 vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 12 h 20 m 26 sec
Reputation Power: 232
Send a message via ICQ to vbrtrmn Send a message via AIM to vbrtrmn Send a message via MSN to vbrtrmn Send a message via Yahoo to vbrtrmn
Well, since there are only two curved things on the page, you could cut them into squares and float them in the positions you need using ABSOLUTE positioning with layers. You could also make one tall rectangle, which contains both the rounded top & bottom, assuming that the light blue area isn't supposed to expand. You can't easily draw the curved lines in CSS, so you will have to convert that stuff to GIF files.

just my 2 cents.

Reply With Quote
  #3  
Old February 3rd, 2004, 12:46 AM
spectre_240sx spectre_240sx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Los Angeles
Posts: 128 spectre_240sx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 41 m 38 sec
Reputation Power: 6
Send a message via AIM to spectre_240sx
Hmm, I didn't think about absolute positioning, lol. I'm still used to the limitations of tables .

On that note, are there any problems associated with absolute positioning? Browser slowdown or anything like that?

Thanks a bunch

Reply With Quote
  #4  
Old February 3rd, 2004, 01:01 AM
vbrtrmn's Avatar
vbrtrmn vbrtrmn is offline
4:04 Time Not Found
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2004
Location: Northern Virginia
Posts: 2,022 vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level)vbrtrmn User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 12 h 20 m 26 sec
Reputation Power: 232
Send a message via ICQ to vbrtrmn Send a message via AIM to vbrtrmn Send a message via MSN to vbrtrmn Send a message via Yahoo to vbrtrmn
the best way to think about tables is:
Tables are for tabular data.
Tables are not for layout.

Reply With Quote
  #5  
Old February 3rd, 2004, 01:07 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,674 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 15 h 15 m 50 sec
Reputation Power: 687
Here are a couple of sites that may be helpful.

http://www.vertexwerks.com/tests/sidebox/

http://www.albin.net/CSS/roundedCorners/

hth,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #6  
Old February 4th, 2004, 01:57 AM
spectre_240sx spectre_240sx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Los Angeles
Posts: 128 spectre_240sx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 41 m 38 sec
Reputation Power: 6
Send a message via AIM to spectre_240sx
I understand what tables are suited for, I was just speaking of the fact that they're seldom absolutely positioned, so I hadn't thought of it.

Thanks for the links, I'll be sure to check them out soon

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css design principles related to rounded corners


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT