Results 1 to 3 of 3

Thread: Freezing 2 coloumns using div tag

  1. #1
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Freezing 2 coloumns using div tag

    I want to freez 1st 2 coloumns using div in a horizontal scroll how do i do that..??
    im using display tag to display details from table

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Post a link to your page and give us more information. It is unclear what you want to accomplish.

    You can use the CSS 'position' attribute to set, for example, a fixed position. This might help.

    You can also set scrolling with CSS, and combined with width, you should be able to manage more or less what you're describing, if I generally understand.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Aug 2011
    Posts
    18
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Yes, if you're trying to do what it seems like, use

    Code:
    position:fixed;
    top:0px;
    right:1px;
    And set the top and right where you want them. You'll also probably need to set the height and width to the correct dimensions (probably using % for the height if you want it relative to the browser window, commonly 100% if you want it taking up the whole side).

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
  •