Solved

CSS Rounded Corner Box Graphics

Posted on 2008-09-29
4
574 Views
Last Modified: 2010-05-18
I created four images to use in an attempt to do the thrashbox  instructed at www.vertexworks.com/tests/sidebox.  My thrashbox http://gotyips.com/elgg works well with the images I created when I use IE 7, but not with Firefox 3.  You will find the header separated from the main box in Firefox.  Any idea/reason why, please?
0
Comment
Question by:danfiggolf
  • 2
4 Comments
 
LVL 5

Expert Comment

by:crush83
ID: 22601745
Guessing it has to do with this: padding: 22px 30px 5px; that is applied to the h2.

First of all, you should never use 3 values. Use 1, 2, or 4 values for padding.

1 value = all.
2 values = top/bottom left/right.
4 values = top, right, bottom, left.

3 values = bad code :-/ and "could" be causing the rendering error in FireFox. Try applying overflow: hidden to #boxhead.
0
 
LVL 44

Accepted Solution

by:
scrathcyboy earned 500 total points
ID: 22602856
You are not the first person to EE with problems with this blue gneiss theme.  Just because it is on the web doesn't mean it is any good, or X-browser compatible.  I believe it getting a rounded box that works, not spending time trying to fix one that is badly coded, as this one seems to be.  I would look elsewhere, as even the rounded corners don't show any good (gray spotty background) in firefox.  Alternatives --

http://www.spiffybox.com/
http://www.smileycat.com/miaow/archives/000044.php
http://www.neuroticweb.com/recursos/css-rounded-box/  -- you should try this online generator, great
http://www.roundedcornr.com/    -- and this one, looks much better than what you have right now
http://www.designrific.com/blog/2007/02/how-to-create-rounded-corner-boxes.html
http://roshanbh.com.np/2008/04/how-to-make-rounded-corner-textbox.html

The last one has nice shadow -- all of them are ready to go, and better than this flaky blue gneiss theme


0
 

Author Comment

by:danfiggolf
ID: 22602938
I've tried 1/2/ and 4 values.  Different px values, including just 0, but still unable to bring the connection of he boxhead h2 to connect to the box, with Firefox.
0
 

Author Comment

by:danfiggolf
ID: 22611722
Thanks Scrathcyboy - I'm working with your suggestion, and have attempted: http://www.roundedcornr.com/rc5.php

The problem I see and don't understand is why the top right corner is showing the side border as straight and not rounding?

Your help is appreciated. www.gotyips.com/elgg
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question