Solved

CSS Rounded Corner Box Graphics

Posted on 2008-09-29
4
569 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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 describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now