Results 1 to 8 of 8

Thread: Css Arrrgh!

  1. #1
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts

    Css Arrrgh!

    http://www.jamesvincent.co.uk/wordpress/

    the sidebar (at the left) doesnt stretch 100%, so the dark grey suddenly stops when theres no more information in the sidebar.

    anyway to make it stretch 100% after the last bit of data?

    view the link (Work safe) and youll see what i mean.

  2. #2
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    i basically need to set the height of the div to a % decided by the resolution of the user.

    [e!] just like http://www.alistapart.com/articles/fauxcolumns/ which i cant get to work

    [e! x2] im after this, i need the background to fill down 100% what a royal pain in the rectum it is.

    Last edited by Vini; 19-05-2006 at 11:41 PM.

  3. #3
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    can anyone tell me what this looks like in ie6

    http://www.jamesvincent.co.uk/wordpress/

  4. #4
    Flak Monkey! Dorza's Avatar
    Join Date
    Jul 2003
    Location
    UK - South Wales
    Posts
    1,762
    Thanks
    34
    Thanked
    17 times in 15 posts
    • Dorza's system
      • Motherboard:
      • Asus P5B Deluxe - WiFi
      • CPU:
      • Q6600 @ 3.06Ghz
      • Memory:
      • 2GB Crucial
      • Storage:
      • 500GB Samsung SpinPoint
      • Graphics card(s):
      • Geforce 9600GT
      • PSU:
      • Cosair HX520W
      • Case:
      • LianLi something something or other
      • Monitor(s):
      • Eizo FlexScan S1910 (1280*1024)
      • Internet:
      • 2mb Virgin (when they want to give me that: else 1mb)
    add this after .itemside in your CSS
    Code:
    .bottom {margin-bottom:100%;}
    then update your div tag:

    Code:
    <div class="itemside bottom" id="google">
    Only add bottom to the last black div tag area. This works in FF but i haven't checked it in IE. It could well mess things up in IE
    Last edited by Dorza; 20-05-2006 at 04:28 PM.

  5. #5
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    Position the element absolutely [position: absolute;] then you can specify how far from the bottom of the parent element the element sits [bottom: xpx/x%;].


    http://www.w3schools.com/css/css_reference.asp
    To err is human. To really foul things up ... you need a computer.

  6. #6
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    ok, ive reimplemented it, apparently it was a bit messy

    ive now got it working in IE6/7 and FF... but. anthing under <1024 seems to cause problems
    the news seems to go underneath the siderbar

    http://www.jamesvincent.co.uk/wordpress/

    just try resizing your browser... now why aint they fluid!

  7. #7
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    well, what a saturday! finished. works fine now.

    changed my rh-col to:

    #rh-col{
    margin: 10px 20px 0px 24em;
    }

  8. #8
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    ok. nearly there. the forum... i want to call soem functions in from wordpress. is this possible?

    jamesvincent.co.uk/forum/

    i need to call a function from one of my WP hacks. You will see on the left sidebar, that I am trying to get the Recent Posts/Links into the forum sidebar (taken from WP)

    I've tried using:

    PHP Code:
    <?php /home/jamesv/public_html/wordpress/c2c_get_recent_posts ($num_posts 10,
    $format "%post_title%<br>",
    $categories '',
    $orderby 'date',
    $order 'DESC',
    $offset 5,
    $authors '',
    $include_passworded_posts false); ?>
    and tried sticking the above function in a blank page called 'recentposts.php' and including it using:

    PHP Code:
    <?php include ('/home/jamesvincent/public_html/wordpress/wp-content/themes/vini/sidebar_recent.php'); ?>
    but i get nothing, is this possible? i hope so.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HL2 packages revealed and release for CS:S
    By Kezzer in forum Gaming
    Replies: 13
    Last Post: 30-09-2004, 10:01 AM
  2. divs and CSS
    By Kezzer in forum Software
    Replies: 11
    Last Post: 18-11-2003, 12:51 PM
  3. CSS + Other Language Questions
    By Jonny M in forum Software
    Replies: 7
    Last Post: 11-10-2003, 11:17 PM
  4. CSS Help
    By Basher in forum Software
    Replies: 19
    Last Post: 10-09-2003, 08:13 PM

Posting Permissions

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