By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,776 Members | 1,397 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,776 IT Pros & Developers. It's quick & easy.

help templating a div infected region :-)

P: n/a
Mel
I need to create this using DIVs
- L is 150px + max height
- T&B are 50% height 100%width width a 10 px padding between them
- I also need a "<" to open and close "L" portion

can you please help this pooooor sooooul !

thanks a lot doods & doodets :-)

............. .............................
.. . . .
.. . . .
.. . . T .
.. . . .
.. . .............................
.. L . <
.. . .............................
.. . . .
.. . . .
.. . . B .
.. . . .
.. . . .
............. .............................
Jul 23 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Mel wrote:
I need to create this using DIVs
Then do it.
- L is 150px + max height
max height of what?
- T&B are 50% height 100%width width a 10 px padding between them
50% height, 100% width of what?

But so far, everything you have asked is 100% CSS.
- I also need a "<" to open and close "L" portion
That is the only js related question you have asked.

It is quite trivial though. Onclick of a < link, you change the width of
L, and you wrap the entire contents in a div tag and let the browser
resize everything.
can you please help this pooooor sooooul !


help #1:

comp.info.www.authoring.stylesheets is that =======> way

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #2

P: n/a
Mel
that's not nice.

if you were my patient and have eye problem, i would give you the answer go
get medicine

you would not be happy.

i come to you, because i dont know how to put the div's together to create
it. i even draw a picture of
what i need and you ask 100% of what ?

thanks anyway for your reply (you did not have to do that!)
"Randy Webb" <Hi************@aol.com> wrote in message
news:4f********************@comcast.com...
Mel wrote:
I need to create this using DIVs


Then do it.
- L is 150px + max height


max height of what?
- T&B are 50% height 100%width width a 10 px padding between them


50% height, 100% width of what?

But so far, everything you have asked is 100% CSS.
- I also need a "<" to open and close "L" portion


That is the only js related question you have asked.

It is quite trivial though. Onclick of a < link, you change the width of
L, and you wrap the entire contents in a div tag and let the browser
resize everything.
can you please help this pooooor sooooul !


help #1:

comp.info.www.authoring.stylesheets is that =======> way

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly

Jul 23 '05 #3

P: n/a
Mel wrote:
that's not nice.
Top-posting isn't either.
if you were my patient and have eye problem, i would give you the answer go
get medicine
If I were a foot doctor and you had eye problems, I would tell you to go
see an eye doctor. There is a difference.
you would not be happy.
If I were referred to an eye specialist from my foot doctor, I would be
happy and glad that I got referred to competent help. This is a
scripting NG, your solution (99% of it anyway) is a CSS related problem.
I referred you to the CSS group.
i come to you, because i dont know how to put the div's together to create
it.
And I referred you to a group of people that can help you with that
aspect of it. Or, did you want someone to code it _*for*_ you?
i even draw a picture of what i need and you ask 100% of what ?


Because you didn't say and what container its 100% of makes a huge
difference in how it gets coded.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #4

P: n/a
In article <0k****************@news.cpqcorp.net>, me**********@hp.com
enlightened us with...
that's not nice.

if you were my patient and have eye problem, i would give you the answer go
get medicine
This is Usenet, not a doctor's office.
We have different groups for things.
Don't expect people to not flame you if you post dog stuff to a cat group,
either.
Not that Randy flamed you. He WAS nice.
Now, me, I'm not always nice.

And I think you misplaced your shift key.

you would not be happy.

i come to you, because i dont know how to put the div's together to create
it. i even draw a picture of
what i need and you ask 100% of what ?


Don't top post.
Don't multi-post.
This question belonged in the CSS group you posted it to the first time.

And 100% is relative. Any percentage is.
If you knew a decent amount of CSS, you'd already know that. Go read some CSS
tutorials before acting like someone's being an ass when they're asking you a
valid question.
What's 100% of 30% of 1024 px?
What's 100% of a 50% div inside an 800px inside 1024 px?
And if you have a div that's 800 px in a div that's 300px and put a div in
that one set to 100%, what size is it, 800 or 300?
Are they relative or absolute or float? Why does that matter?

THAT'S what he meant when he asked you 100% of what. The answer is highly
dependent on structure.

--
--
~kaeli~
When two egotists meet, it's an I for an I.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.