• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

CGrouse
#1 Posted : Tuesday, December 12, 2006 10:15:02 AM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

I'm having some issues with the alignment of my text in the checkout area. (See attached image for reference.)


The text in the checkout area is all off. But the issue is that they're not off equally.



For example: Country is way too high, but State, zip: is too low, and Website is fine.



So I can change the css, but it doesn't help anything. (I highlighted the css that the text is pulling.)



Originally, Country was aligned, and everything else was down too much (but not equally).

So I added some padding to the bottom, but that just revealed that the text was aligned correctly.



Any thoughts??
CGrouse attached the following image(s):
checkout-issue.jpg (194kb) downloaded 66 time(s).

You cannot view/download attachments. Try to login or register.
Thanks,


Christopher
CorneliuTusnea
#2 Posted : Wednesday, December 13, 2006 9:18:26 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Cristopher,

I had the same problem. AFAIK it has nothing to do with your alignments but with the validators that are set to block. Change the "errormessage" class to be inline: "display: inline;" and your alignment will be fixed.

Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Cliff
#3 Posted : Wednesday, December 13, 2006 9:18:59 AM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Try vertical-align: top; on those table cells and just give your form labels enough line-height so they look right next to the form fields.

Ugh, tables.
CGrouse
#4 Posted : Wednesday, December 13, 2006 10:18:54 AM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

The table cells are already set to vertical align top.

And unfortunately the "display: inline;" didn't do anything.

Any other thoughts?
Thanks,


Christopher
bbcweb
#5 Posted : Wednesday, December 13, 2006 10:57:02 AM(UTC)
bbcweb

Rank: Member

Joined: 5/14/2005(UTC)
Posts: 398

the url would help us to help you, but as far as the validators go, make sure they are Display="Dynamic" (this is not css) then start to figure out the css and table issues
BetterBuilt.net professional web design and development. call 1-877-325-1109 x7
CGrouse
#6 Posted : Wednesday, December 13, 2006 2:37:17 PM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

192.168.129.223

@BetterBuilt: Unfortunately, that didn't change anything either.
Thanks,


Christopher
CGrouse
#7 Posted : Wednesday, December 13, 2006 4:01:45 PM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

.errormessage {color: #FFF; background: #c00; display: block;

line-height: .3em; padding: 0 5px; font-size: .8em; }


Was what was causing to misalign. I've removed it, and it's working fine.

Thanks everyone!!
Thanks,


Christopher
CGrouse
#8 Posted : Wednesday, December 13, 2006 4:01:57 PM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

I removed the entire "Form Elements" section, and it's working fine, though compressed.

I'm going to go line by line and see if I can figure out what's causing the issue.
Thanks,


Christopher
CGrouse
#9 Posted : Wednesday, December 13, 2006 4:01:58 PM(UTC)
CGrouse

Rank: Member

Joined: 6/4/2004(UTC)
Posts: 291

I changed the css and now "State,Zip" is too low.

/* Form Elements */
td.formlabel { width: 120px; white-space: nowrap; padding-bottom: 5px; <-------- (Changed from 30)

padding-right: 5px; }
td.formfield { text-align: left; white-space: nowrap; }
.forminput { padding: 4px 0 0 6px; height: 20px; width: 190px; color: #444;

vertical-align: middle; border: 1px solid #ccc; }
.formtextarea { padding: 4px 0 0 6px; border: 1px solid #ccc; width: 90%; }
.short { width: 25%; }
.medium { width: 50%; }
label { color: #666; font-size: 90%; }
label.required { font-weight: bold; }
select { border: 1px solid #ccc; color: #444; vertical-align: middle; }
.errormessage {color: #FFF; background: #c00; display: block; line-height: .3em; <-------------(Changed from 2)

padding: 0 5px; font-size: .8em; }
.forgot { background: #f5f5f5; padding: 5px; display: block; margin-top: 10px;

font-size: .7em; }
.aligntop { vertical-align: top; }
.buttonrow { text-align: right; padding: 5px 20px; margin: 0 0 10px 0; }
.Instructions { font-size: 80%; color: #333; }: 0 0 10px 0; }
Thanks,


Christopher
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012