473,382 Members | 1,329 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,382 software developers and data experts.

Rounded Corners with CSS, looking for help/comments on my solution

lgiuliari
There are countless ways to achieve this effect and I am trying to come up with a solution that fits my needs and is accessbile. I hope the way I wrote this that things will scale pretty well with changes in text size and amount of information to be placed in this box.

I attached the link below which contains the code and css I used. I'm still messing around with trying to get the bottom corners to line up right but I am still having problems getting them to work. Its seems like things are a pixel off and I can't figure out what I'm doing wrong. If anyone could help me with that problem or have any input on how to achiveve the same effect with more efficient code, please let me know! Thanks!

http://www.judiciary.state.nj.us/layout_test/test4.html
Jan 27 '09 #1
8 1503
drhowarddrfine
7,435 Expert 4TB
Looks very nice in FF3. Are you aware border-radius works in FF, Safari and Chrome?
Jan 27 '09 #2
I'm not to familiar with that. I also forgot to mention the issues with the bottom is in IE of course. Which is suprising to all I'm sure. I always feel I've got something the way I want, and then IE is always good for throwing a wrench in making my design cross browser compatible. Any thoughts on that?
Jan 27 '09 #3
drhowarddrfine
7,435 Expert 4TB
Internet Explorer is 11 years behind web standards support and the worst browser on the planet. IE8 will have much better CSS but little of anything else and will continue to be the worst. Those are my facts on that.
Jan 27 '09 #4
drhowarddrfine
7,435 Expert 4TB
CSS Border-Radius .
Jan 27 '09 #5
Ah nice I'll have to save that for future reference. My main problem still remains though. I've been fiddling with it and no luck still getting it to work in ie. That is sadly the standard I need to defintely make sure it works in.

Any ideas of where to look or what to ad that might do the trick to get the bottom corners to align properly with my left and right borders? It's like a pixel off. Grrr
Jan 27 '09 #6
drhowarddrfine
7,435 Expert 4TB
You must mean IE6? I don't see the problem in IE7. IE6 is your required platform?!

Try setting margins/padding to zero on those elements and see what happens.
Jan 28 '09 #7
Whoops, it probably would have helped if I mentioned which version of IE. Yes, I'm looking at it in IE6. I added in the padding/margins set to 0 on the bottom corners and I didn't have any luck. I double checked it again in other browsers and now don't have either of the bottom corners showing up in Opera, FF, Safari, etc.

I figured the bottom corners would turn out to be the easiest part since they seem like they should be much more simple than how the top is set up. Argh, apparently not.
Jan 28 '09 #8
drhowarddrfine
7,435 Expert 4TB
Well, if it's working everywhere but IE6 then you coded it correctly. IE will always be the problem. You can set conditional comments to fix IE6 but I don't support that browser anymore and the only computer I have with IE6 on it I've taken apart for the moment. Sorry.
Jan 28 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Konrad | last post by:
Hi This is maybe simple question but how to render DataGrid and Tables with rounded corners? Thanks Konrad
4
by: Mark Rae | last post by:
Hi, Does anyone have a solution for doing rounded corners in ASP.NET 2? I have previously been using the PrettyUI.dll assembly in v1.1 but, apparently, this breaks my ISP's security policy for...
8
by: TheCornjerker | last post by:
I've been looking into what method I should use to show rounded corners (and I've found a lot). My question is why does Google seems to mostly use the table method with an image in each corner. ...
6
by: Schraalhans Keukenmeester | last post by:
I want to achieve the following: A small image in each of the corners of a box, like below: +-------------------------------+ | + | + | + | + | + | +
5
by: Stuart Ferguson | last post by:
I am looking to create the effect shown in the image (http://img291.imageshack.us/img291/4476/effectuc6.jpg) this is taken from www.asp.net. I was wondering if there is a specific technique to...
1
by: kidelectric | last post by:
The issue I am having is that I would like to be able to drag-and-drop div elements that have rounded corners.* Since these elements will be dynamically created (including background color), I could...
8
by: rfox | last post by:
Searching the web, there seems to be a myriad of ways to achieve rounded corners on a fixed-width div. I'm looking for suggestions on the simplest, most straight-forward method of achieving this. ...
2
by: raknin | last post by:
Hi, I am looking for a css and js solution for making rounded corners, with no images. Currently I tried to use nify corners as describe in http://www.html.it/articoli/nifty/index.html in example...
6
by: moondaddy | last post by:
I need to be able to make polygons with rounded corners. This will be to draw group outlines around shapes in a diagramming tool in wpf. all angles in the polygon will be 90 degrees, but somehow...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.