Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Div Layer Help


15 replies to this topic

#11 galexcd

    Trap Grand Marshal Member

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,331 posts
  • Gender:Not Telling
  • myCENT:39.82

Posted 15 May 2008 - 01:18 AM

Nevermind I can see now this is impossible without using JSS. I'm just going to use tables. Thats right. You guys heard me. Tables can do more than your stupid standards compliant div + css. Css and div layers are inferior.

#12 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 15 May 2008 - 01:38 AM

View Postgalexcd, on May 14 2008, 07:18 PM, said:

Nevermind I can see now this is impossible without using JSS. I'm just going to use tables. Thats right. You guys heard me. Tables can do more than your stupid standards compliant div + css. Css and div layers are inferior.
I wouldn't say that. The biggest hurdle is cross-browser compatibility on this one. IE's failure to recognize min-height, for instance.
Might need to wait for CSS 3.0 for this issue to become a possibility. Using equations to calculate positioning and height/width, etc.

#13 ~Nick[;

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 43 posts
  • Gender:Male
  • Location:Your Closet. "Hey, Bud!"
  • Interests:Must I say?

Posted 20 May 2008 - 10:15 PM

<style>
#div{position:absolute;top:100px;bottom:0px;width:auto;left:0px;overflow:auto;}
</style>
Try it now.

Edited by ~Nick[;, 21 May 2008 - 12:21 PM.


#14 mikeyboy63

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 139 posts
  • Gender:Male
  • Location:Central California

Posted 20 May 2008 - 10:45 PM

View Post~Nick[;, on May 20 2008, 03:15 PM, said:

<style>
#div{position:absolute;top:100px;bottom:0px;width:auto;left:0px;}
</style>
That good?


Nick's code works in both IE and FF. I don't have Opera. By giving it a bg color I can see that it works.

EDIT: It doesn't work if the content is longer than the screen length, i.e. if user needs to scroll down...interesting......this is the type of problem that I can become obsessed with......I----------must----------resist------------obsessing---------------

Edited by mikeyboy63, 20 May 2008 - 11:14 PM.


#15 galexcd

    Trap Grand Marshal Member

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,331 posts
  • Gender:Not Telling
  • myCENT:39.82

Posted 21 May 2008 - 03:35 AM

View Post~Nick[;, on May 20 2008, 03:15 PM, said:

<style>
#div{position:absolute;top:100px;bottom:0px;width:auto;left:0px;}
</style>
That good?


Yes that was my first attempt. I thought I found it and wouldn't have to post this on trap, but ran into the problem that mikeyboy discovered in his edit.

#16 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 15 July 2008 - 02:20 PM

css layer
Div Layer Help

Css layer examples / properties and layer attributes
Http://css-lessons.U...-properties.Htm

-reply by sezer




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users