close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add to cart button on detail page

Thread began 3/04/2010 2:18 pm by koneill385535 | Last modified 3/04/2010 3:12 pm by Jimmy Wu | 788 views | 3 replies |

koneill385535

Add to cart button on detail page

Hi,

I was wondering how to change the CSS for DataAssist items. I want to change the CSS for this button, to make it line up with the field right next to it. You can take a look at my site here:

products_Detail.php?ProductID=8.php

Let me know what I can do!

Thank you!

Sign in to reply to this post

Jimmy Wu

If you add the vertical align property to the input box you can align it with the button like this:
<input type="text" size="4" value="1" name="PracticeCart_1_Quantity_Add" style="vertical-align: top;"/>

You can also add the vertical-align: bottom to the button instead, but since there is a little bit of white space at the bottom of the image for the button, it doesn't line up as nicely.

Sign in to reply to this post

koneill385535

Hmm,

I'm not quite sure how to do that... I should note, I'm pretty new at this. Maybe if you could help me out with this forum post first, I'd be better equipped to figuring it out. I am struggling with editing the CSS of DataAssist and eCart

showthread.php?t=10850

Sign in to reply to this post

Jimmy Wu

Oh, sorry, what I meant to say was that you should find the line of code like this:
<input type="text" size="4" value="1" name="PracticeCart_1_Quantity_Add" />

And add in the style so it looks like this:
<input type="text" size="4" value="1" name="PracticeCart_1_Quantity_Add" style="vertical-align: top;"/>

The style="vertical-align: top;" is adding the vertical align to the element.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...