Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HR aka Line not positioning correctly

    Hello all,

    Need help with the HR aka 'a Line'

    I cannot get it to do what I want.

    Im trying to put a bit of spacing underneath the first image, bit like the second one but it should be more....

    Plus im trying to add space underneath the last image so it doesnt just stop...

    can anyone please help.

    www.chappo.co.uk/years_ahead

    on the 'Brand' page.

    or www.chappo.co.uk/years_ahead/brand.htm

    it displays differently in both browsers but either of them do what I really wont, just one or the other....

  • #2
    Regular Coder
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    348
    Thanks
    26
    Thanked 40 Times in 39 Posts
    Hi,
    put a padding-bottom:20px on the container div of that image.
    Blog Charity:Water
    WhatisWrongWith.me/tagnu - Send me anonymous feedback.

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tagnu View Post
    Hi,
    put a padding-bottom:20px on the container div of that image.
    That worked, thanks alot...

    Should i take the margin-top:40px; off the HR itself? and control them all on the image?

  • #4
    Regular Coder
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    348
    Thanks
    26
    Thanked 40 Times in 39 Posts
    That'll be better.

    But I suggest you to remove all the inline styles from all elements and then use a stylesheet. And you can assign a class for all common elements.

    It'll be easy for you to edit changes later on.
    Last edited by tagnu; 07-17-2008 at 02:20 PM.
    Blog Charity:Water
    WhatisWrongWith.me/tagnu - Send me anonymous feedback.

  • #5
    New Coder
    Join Date
    Jul 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tagnu View Post
    That'll better.

    But I suggest you to remove all the inline styles from all elements and then use a stylesheet. And you can assign a class for all common elements.

    It'll be easy for you to edit changes later on.
    sorry i dont understand 'that'll better'?

  • #6
    Regular Coder
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    348
    Thanks
    26
    Thanked 40 Times in 39 Posts
    Something similar
    See the code please.
    Blog Charity:Water
    WhatisWrongWith.me/tagnu - Send me anonymous feedback.

  • #7
    Regular Coder
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    348
    Thanks
    26
    Thanked 40 Times in 39 Posts
    I've added the styles in the same page. Please add those to your stylesheet.
    Check this link

    ps: added a title and changed the heading; change it accordingly.
    Last edited by tagnu; 07-18-2008 at 11:46 AM.
    Blog Charity:Water
    WhatisWrongWith.me/tagnu - Send me anonymous feedback.


  •  

    Posting Permissions

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