Solved

CSS Rounded Corner Box Graphics

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

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.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

729 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