Is it just me, or did anyone else cringe at the sight of curvyCorners
"generated source code"?
I still think that if you use a css-only approach, the use of four gif
background corner images would barely impact page load times... And the
source code markup would be much less horrendous as comp
The problem is that curvycorners is adding "float: left;" to the
innermost tag, causing the "Preview" to be on the left. The source
claims that it's a fix for negative margins.
Thank you all very much for the proposed solutions, here are the
results:
@Dan G.:
Dan, I added what you proposed but it seems to center the red panel in
the center of the screen, I'm try just to center text within the red
panel.
@Gearóid: What you suggested in already in the sample, doesn't wo
Line 101 of the curvy corners js file, find $(contentContainer).css({
.., *float:"left"*, .,,.,}); remove the
*float:left*declaration and the text will centre.
tested in IE7,FF,Opera,Safari (Windows)
2008/6/30 Gearóid O'Ceallaigh <[EMAIL PROTECTED]>:
>
> Why not just de
Why not just define a css class with "text-align: center" and add this
to whatever element you need centering?
I'm presuming you want to center the "preview" text in the example so
this should center it to your rounded corner div. If you want it
centered vertically also, you may have to use some
ltg,
>I really did not want to post here and ask for help on centering
>text. But I have created the simplest possible JQuery sample page,
>used Firebug, and still can't figure it out.
>
>Can anyone say what it would take to center text on this page:
>
>http://dev.hdgreetings.com/test.htm
You c
LTG wrote:
> Any help would be so appreciated.
Hi LTG,
If you disable JS, then your text centers.
Using dev toobar via FF2.x, I viewed generated source, and wow! I have
never seen so much markup for something so simple
If I were you, I would just use one of the CSS-only techniques found h
7 matches
Mail list logo