Add to Google

Div Layer Help - Help me get css to not suck

Pages: 1, 2
free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > CSS (Cascading Style Sheets)

Div Layer Help - Help me get css to not suck

galexcd
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.

Comment/Reply (w/o sign-up)

jlhaslip
QUOTE(galexcd @ May 14 2008, 07:18 PM) *
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.

Comment/Reply (w/o sign-up)

~Nick[;
CODE
<style>
#div{position:absolute;top:100px;bottom:0px;width:auto;left:0px;overflow:auto;}
</style>

Try it now.

Comment/Reply (w/o sign-up)

mikeyboy63
QUOTE(~Nick[; @ May 20 2008, 03:15 PM) *
CODE
<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---------------

Comment/Reply (w/o sign-up)

galexcd
QUOTE(~Nick[; @ May 20 2008, 03:15 PM) *
CODE
<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.

Comment/Reply (w/o sign-up)

iGuest-sezer
css layer
Div Layer Help

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

-reply by sezer

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Pages: 1, 2
Recent Queries:-
  1. css height "fill rest of page" - 10.10 hr back. (1)
  2. open ajax div layer - 42.54 hr back. (1)
  3. limit div layers - 53.38 hr back. (1)
  4. div layer - 244.52 hr back. (1)
Similar Topics

Keywords : Div Layer Css Suck


    Looking for div, layer, css, suck

Searching Video's for div, layer, css, suck




advertisement



Div Layer Help - Help me get css to not suck