• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 394
  • Last Modified:

Move text down and to the left

I've attached a screenshot. You see how the text is too close to the red button and moved up. I want to bring it down...maybe center it to the button and move it to the left...not so close to the button as it is now.

This is how it renders

<div class="formactions placeorder">
Total: USD 96.21
<button class="imagebutton continuecheckout" type="submit" name="dwfrm_orderSummary_submitOrder" value="Place Order"><span>Place Order</span></button>
<div class="clear"></div>
</div>

Open in new window


And these are the CSS

.formactions.placeorder {
text-align: right;
padding-top: 20px;
}


.formactions.placeorder button {
text-transform: uppercase;
font-size: 14px;
float: right;
}


.clear, .clearBoth {
clear: both;
}

Open in new window

doc3.docx
0
Camillia
Asked:
Camillia
  • 6
  • 4
1 Solution
 
Jagadishwor DulalBraces MediaCommented:
You are hiding your screen shot it's not seems well please post your url.
0
 
CamilliaAuthor Commented:
it's my company url. that's why i didnt post the url. I might have have to upgrade my expert echange to have private question so i could post it. You can't tell me how to fix it the way i have posted my question?
0
 
Jagadishwor DulalBraces MediaCommented:
Ok one of the reason for your problem is you have no space between class name try my example:

.formactions .placeorder {
text-align: right;
padding-top: 20px;
}


.formactions .placeorder button {
text-transform: uppercase;
font-size: 14px;
float: right;
}


.clear, .clearBoth {
clear: both;
}

Open in new window

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CamilliaAuthor Commented:
thanks, let me try.
0
 
CamilliaAuthor Commented:
didnt work. Stays the same. Where do I put that .clear CSS??
Your .formactions .placeorder  and .formactions .placeorder  button are the same as mine.
0
 
Jagadishwor DulalBraces MediaCommented:
It's all same only space in .formaction .placeholder can you provide image for what you want.
0
 
CamilliaAuthor Commented:
where's the space in this??

.formactions .placeorder {
text-align: right;
padding-top: 20px;
}

This is how it renders. I see the "clear" div but the there's no space. Still looks the same.

<div class="formactions placeorder">
Total: USD 96.21
<button class="imagebutton continuecheckout" type="submit" name="dwfrm_orderSummary_submitOrder" value="Place Order"><span>Place Order</span></button>
<div class="clear"></div>
</div>

Open in new window

0
 
Jagadishwor DulalBraces MediaCommented:
See this two css:
.formactions.placeorder {
text-align: right; /* see above there is no space between formactions.placeorder*/
padding-top: 20px;
}


.formactions.placeorder button {
text-transform: uppercase;
font-size: 14px;
float: right;
}


.clear, .clearBoth {
clear: both;
}

Open in new window


and second one

.formactions .placeorder {
text-align: right;
padding-top: 20px;
}


.formactions .placeorder button {
text-transform: uppercase;
font-size: 14px;
float: right;
}


.clear, .clearBoth {
clear: both;
}
                                            

Open in new window

0
 
CamilliaAuthor Commented:
There's no space so how can I put the space??
Your CSS has an additional ".clear" tag. How can I use it to add the space??
0
 
CamilliaAuthor Commented:
I put the div clear between the text and the button but the text ends up above the button

this is how it renders. Screenshot attached

<div class="formactions placeorder">
Total: USD 96.21
<div class="clear"></div> <button class="imagebutton continuecheckout" type="submit" name="dwfrm_orderSummary_submitOrder" value="Place Order"><span>Place Order</span></button>
</div>

Open in new window

doc8.docx
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now