[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Move text down and to the left

Posted on 2013-06-18
10
Medium Priority
?
392 Views
Last Modified: 2013-06-19
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
Comment
Question by:Camillia
[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
  • 6
  • 4
10 Comments
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 39258331
You are hiding your screen shot it's not seems well please post your url.
0
 
LVL 7

Author Comment

by:Camillia
ID: 39258742
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
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 2000 total points
ID: 39258942
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 7

Author Comment

by:Camillia
ID: 39259017
thanks, let me try.
0
 
LVL 7

Author Comment

by:Camillia
ID: 39259687
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
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 39259725
It's all same only space in .formaction .placeholder can you provide image for what you want.
0
 
LVL 7

Author Comment

by:Camillia
ID: 39259766
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
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 39259833
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
 
LVL 7

Author Comment

by:Camillia
ID: 39259847
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
 
LVL 7

Author Comment

by:Camillia
ID: 39259912
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

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!

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…
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.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

649 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