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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question: How to make expandable line on the top of website?

    Hi there,

    would appreciate if somebody could explain how can I make expandable line (depending on the resolution size it's been viewed), so the line is across the whole page?

    For example here on the top: http://www.draugiem.lv/

    Thanks!

  • #2
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    Using nested-tables for layout aargh! Never mind .

    Depending where exactly you want to place it, you could apply a top or bottom border to one of the 'td's or a 'table'. You may have to increase the width of a td or table or (at worst) have to add a couple more columns to it's left and right.
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS

  • #3
    New Coder
    Join Date
    May 2010
    Posts
    79
    Thanks
    15
    Thanked 2 Times in 2 Posts
    Code:
    <div style="width:100%; background-image:url('dunnowhatuputhere.png'); height:10px; position:absolute; top:0px;">
    LASKDJKLASJDKLASD
    </div>


  •  

    Posting Permissions

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