Solved

CSS Rounded Corner Box Graphics

Posted on 2008-09-29
4
578 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
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…

696 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