Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Attribute Positioning Help Needed

    Well, once you have that rule you can do what you like with it - for instance :

    Code:
    #productTellFriendLink{
    clear:both;
    margin-top:100px;
    }
    will add a great big top margin to that element. And space it down from what's above. You probably will have to do that to both buttons.

    With regards method of working on the code there are some rules:

    1. Back up everything. Back it up again and then back it up at frequent intervals.

    2. Try your best to comment your changes.

    3. Back up again

    Important things to learn early on are how to back up your files which is pretty easy. I back up includes and admin frequently. Other things less frequently. Then you need to back up your database. Very important. It is best done by phpMyAdmin which should be available through your hosting control panel and takes half an hour to learn. Once you have you will not believe how you managed without it. Also there is a mod - I think called mysqlBackup - that lets you back up from admin. Very useful but won't work in certain hosting environments.

    Once you done that back up again!

    Beyond that everybody codes in different ways. Here's a quote from why the lucky stiff -

    I admire programmers who take risks. They aren’t afraid to write dangerous or “crappy” code. If you worry too much about being clean and tidy, you can’t push the boundaries (I don’t think!). I also admire programmers who refuse to stick with one idea about the “way the world is.” These programmers ignore protocol and procedure. I really like Autrijus Tang because he embraces all languages and all procedures. There is no wrong way in his world.
    Ha ha - the thing is that you need to be a genius programmer to follow that creed. For the rest of us 'workable' is what we are going for.

  2. #2
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Attribute Positioning Help Needed

    Quote Originally Posted by niccol View Post
    Well, once you have that rule you can do what you like with it - for instance :

    Code:
    #productTellFriendLink{
    clear:both;
    margin-top:100px;
    }
    will add a great big top margin to that element. And space it down from what's above. You probably will have to do that to both buttons.

    With regards method of working on the code there are some rules:

    1. Back up everything. Back it up again and then back it up at frequent intervals.

    2. Try your best to comment your changes.

    3. Back up again
    Thanks once more for the lesson CSS lesson Nick.

    As for backing up, now that I'm tinkering more, I scheduled a Root backup to happen late at night every couple of days using WS_FTP Pro. It's already saved me a couple of times.
    I also have a Cron Job set-up to backup mysql database every week, or I'll do it manually when I install or uninstall a feature that uses it.

 

 

Similar Threads

  1. Attribute help needed fast!
    By exclusivewears.com in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 20 May 2010, 01:07 PM
  2. Positioning Help Needed
    By jabbawest in forum Basic Configuration
    Replies: 2
    Last Post: 2 Nov 2009, 09:06 PM
  3. Attribute Positioning
    By mfsuchta in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Sep 2008, 11:11 PM
  4. Help needed with attribute pricing
    By thetoychest in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 28 Apr 2008, 02:08 AM
  5. Product Attribute Help Needed Please
    By angelicdezigns in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Jul 2006, 08:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg