Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29

Thread: Correct positioning of image

  1. #21
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,067
    Thanks
    156
    Thanked 3 Times in 3 Posts

    Default

    Ok
    The last thing for today to sort is the following.
    The page loads but you can scroll the page still BUT i dont see a reason as to why as there is no padding etc to allow this.

  2. #22
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,227
    Thanks
    1
    Thanked 236 Times in 231 Posts

    Default

    Hi there theremotedr,

    I am not sure what you mean.

    With my browser, the vertical scrollbar does not disappear until the window is about 500px wide.

    coothead
    ~ the original bald headed old fart ~

  3. #23
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,067
    Thanks
    156
    Thanked 3 Times in 3 Posts

    Default

    What I mean is,
    Why can you even scroll down the page anymore.
    There isn’t anything to see.

    Below the blinking text I have say 2 inches of extra page ?

    I would expect there to be say 20px after the blinking text then that’s it.
    Did I explain right ?

  4. #24
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,227
    Thanks
    1
    Thanked 236 Times in 231 Posts

    Default

    Hi there theremotedr,

    OK, now I am on your wavelength.

    The cause of that space is...

    Code:
    
    .content{
    	margin: 0px 25px 30px 25px;
    }
    ...in the "demo.css" file.

    So just use...

    Code:
    
    .content{
    	margin: 0 25px;
    }
    While we are there, I will point out that defining units for zero - ( 0 ) - values is unnecessary.

    This is because 0px = ( 0pt = 0em = 0rem = 0vw = 0vh = 0% ) etc = 0.

    coothead
    ~ the original bald headed old fart ~

  5. #25
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,067
    Thanks
    156
    Thanked 3 Times in 3 Posts

    Default

    Great.
    I will edit that shortly.

    In another post say Thursday we spoke about the odd , etc missing would stop a script from running.
    A member mentioned using a tool called Lint of which it would find errors in a css file.

    Well you mention 0 above, this relates to the tools reply on the css file of whichbit came back with,

    Values of 0 shouldn't have units specified.



    So how is the correct way to write padding:0px 5px 0px 5px;

  6. #26
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,227
    Thanks
    1
    Thanked 236 Times in 231 Posts

    Default


    Quote Originally Posted by theremotedr View Post
    So how is the correct way to write padding:0px 5px 0px 5px;
    You can use either...
    Code:
    
    padding: 0 5px 0 5px;
    ...or...
    Code:
    
    padding: 0 5px;

    coothead
    ~ the original bald headed old fart ~

  7. #27
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,067
    Thanks
    156
    Thanked 3 Times in 3 Posts

    Default

    All done,

    Thanks for your time today.

  8. #28
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,227
    Thanks
    1
    Thanked 236 Times in 231 Posts

    Default


    Quote Originally Posted by theremotedr View Post
    All done,
    But you forgot to change this...
    Code:
    
    .content{
    	margin:0px 25px 30px 25px;
    }
    ...to this...
    Code:
    
    .content{
    	margin:0 25px;
    }
    ...to address your problem...

    Below the blinking text I have say 2 inches of extra page ?
    I would expect there to be say 20px after the blinking text then thatís it.
    ...in your post #23

    coothead
    ~ the original bald headed old fart ~

  9. #29
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,067
    Thanks
    156
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    thanks,now done.

    Not sure why i didnt do it.

Similar Threads

  1. Replies: 0
    Last Post: 01-19-2011, 04:56 PM
  2. aligning image in correct place
    By hemi519 in forum HTML
    Replies: 4
    Last Post: 11-16-2010, 07:03 PM
  3. Replies: 3
    Last Post: 04-26-2010, 04:51 PM
  4. Replies: 3
    Last Post: 04-20-2009, 04:50 PM
  5. Replies: 0
    Last Post: 02-09-2009, 03:55 AM

Bookmarks

Posting Permissions

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