Forums / Templates, Stylesheets, Page Layout / Push in the right direction please?

Push in the right direction please?

Locked

Views: 1,083

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 May 2008, 6:14 PM
#1
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Push in the right direction please?

I basically know that on the php file, that is where I can move around the position of the element and also to declare the class and id. Then all the styling is done separately on a style.css file.

Right now I have managed to move things around a bit on the product info page.
Here is how it looks:
http://texrag.com/store/index.php?ma...r_of_uploads=0

It is still not what I wanted but at least it is not all over the place.

What I want to do now is to put the buttons below where you see the Write a review and tell a friend to list beside the please choose and add to cart button.

The whole box to the left is nested inside a div called #buyBox, so I created a div #asktell to wrap around the button below and I wanted this to go the left of the #buybox div.

To do this, do I have to create a div to nest both the #buyBox and #askTell then float one to the left and the other to the right?

If so would it affect now the elements on top which is not nested into anything more the mainwrapper content?

Any advise will be much appreciated!! Thanks a lot!!

17 May 2008, 9:08 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Push in the right direction please?

Decostyle:

To do this, do I have to create a div to nest both the #buyBox and #askTell then float one to the left and the other to the right?

If so would it affect now the elements on top which is not nested into anything more the mainwrapper content?

Yes you do and you need to declare the width of floating div's.

And using: <br class="clearBoth" />
before and after should keep you clear of alignment problems.

The learning is in the doing.

Potent Products