473,382 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

making div's the same size as one another

http://www.frostjedi.com/terra/scrip.../samesize.html

I'd like to make inner1 and inner2 have the same height but am not
sure how. I don't want to explicitly set a height in px or anything
like that because that'd require you calculate how many px tall
something is going to be in advance. Also, that's likely to break
browsers that might make the text bigger for people with vision
problems or something.

Setting height to 100% doesn't seem to work, either...

Setting display to table-cell or something like that seems like it
might work, but I don't think IE recognizes table-cell...

Any ideas?

Oct 9 '07 #1
12 2234
In article
<11**********************@k79g2000hse.googlegroups .com>,
yawnmoth <te*******@yahoo.comwrote:
http://www.frostjedi.com/terra/scrip.../samesize.html

I'd like to make inner1 and inner2 have the same height but am not
sure how. I don't want to explicitly set a height in px or anything
like that because that'd require you calculate how many px tall
something is going to be in advance. Also, that's likely to break
browsers that might make the text bigger for people with vision
problems or something.

Setting height to 100% doesn't seem to work, either...

Setting display to table-cell or something like that seems like it
might work, but I don't think IE recognizes table-cell...

Any ideas?
Well, in the spirit of your preparedness to set widths (though I
have made the widths a bit more text-expansion-friendly):

http://tinyurl.com/ys95qs

Just playing. Relax everyone.

Otherwise see

<http://tinyurl.com/2wktfv>

--
dorayme
Oct 9 '07 #2
dorayme wrote:
Well, in the spirit of your preparedness to set widths (though I
have made the widths a bit more text-expansion-friendly):

http://tinyurl.com/ys95qs
Almost. Unfortunately only works if the left most DIV contains the most
content.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Oct 9 '07 #3
In article <36**************************@NAXS.COM>,
"Jonathan N. Little" <lw*****@centralva.netwrote:
dorayme wrote:
Well, in the spirit of your preparedness to set widths (though I
have made the widths a bit more text-expansion-friendly):

http://tinyurl.com/ys95qs

Almost. Unfortunately only works if the left most DIV contains the most
content.
Yes it requires confident foresight, not much chop for a
template... <g>

Be nice if the dimension of one element could be taken easily and
by choice to be the height of a different element. I suppose that
is where JS comes in...

Anyway, there are all sorts of ways of making cols equal in
appearance, much discussed. For myself, I can rarely get the
motivation. One can design where it simply does not look odd for
cols to be different heights, nor even look like cols
particularly...

--
dorayme
Oct 10 '07 #4
dorayme wrote:
In article <36**************************@NAXS.COM>,
"Jonathan N. Little" <lw*****@centralva.netwrote:
Anyway, there are all sorts of ways of making cols equal in
appearance, much discussed. For myself, I can rarely get the
motivation. One can design where it simply does not look odd for
cols to be different heights, nor even look like cols
particularly...
If one feels compelled for such symmetry, considering MSIE's
shortcomings I would recommend they use a table. Shhhhhh ;-)

Personally I don't mind asymmetry, but obviously symmetry is *very*
important to some people. Bushes on both side of their front door must
be exactly the same height, the only place a place a painting to hang is
in the center of the wall, etc. To me, turn a key clockwise to lock it
and counter-clockwise to unlock it. But some anal engineer deemed that
this broke the Symmetry Law so my car doors work with the scheme to the
front of the car unlocks and to the back of the car locks. So even
though I've had the car for 7 years I still cannot unlock the door for
my wife with the key!

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Oct 10 '07 #5
In article <e7**************************@NAXS.COM>,
"Jonathan N. Little" <lw*****@centralva.netwrote:
dorayme wrote:
In article <36**************************@NAXS.COM>,
"Jonathan N. Little" <lw*****@centralva.netwrote:
Anyway, there are all sorts of ways of making cols equal in
appearance, much discussed. For myself, I can rarely get the
motivation. One can design where it simply does not look odd for
cols to be different heights, nor even look like cols
particularly...

If one feels compelled for such symmetry, considering MSIE's
shortcomings I would recommend they use a table. Shhhhhh ;-)
Almost invariably the short circuit to this problem, yes.
Personally I don't mind asymmetry, but obviously symmetry is *very*
important to some people. Bushes on both side of their front door must
be exactly the same height, the only place a place a painting to hang is
in the center of the wall, etc. To me, turn a key clockwise to lock it
and counter-clockwise to unlock it. But some anal engineer deemed that
this broke the Symmetry Law so my car doors work with the scheme to the
front of the car unlocks and to the back of the car locks. So even
though I've had the car for 7 years I still cannot unlock the door for
my wife with the key!
Now that is not what we are used to! I'd find it hard too.

Symmetry is a most interesting idea and much more complicated
than is often realised. In the quite general topic of pattern
recognition, symmetry is probably recognised as some easy to see
ones, your "bushes" line of thought. Here it is easy, there are
two bushes only, if they are not cut to the same template, what
could be the pattern? But in complicated situations, maybe a
painting, a drawing, a webpage, a film sequence, even a garden,
symmetry is not necessarily absent because it is not easily
identified. It is just that it is not a global quality to the
whole...

Actually I better stop, I can feel an urge to write about
aesthetics coming on and I have the most awful flu at the moment;
I will just talk deliriously and people will get angry with me
and I am too weakened to defend myself today.

--
dorayme
Oct 10 '07 #6
But some anal engineer deemed that this broke the Symmetry Law so my
car doors work with the scheme to the front of the car unlocks and to
the back of the car locks. So even though I've had the car for 7
years I still cannot unlock the door for my wife with the key!
Life's too short. Get a car with remote locking. If funds allow, get one
of those Mercedes Benz ones that unlock and start simply because they
recognise you (well, the card in your wallet). :-)

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Oct 10 '07 #7
On 2007-10-10, Jonathan N. Little <lw*****@centralva.netwrote:
[...]
Personally I don't mind asymmetry, but obviously symmetry is *very*
important to some people. Bushes on both side of their front door must
be exactly the same height, the only place a place a painting to hang is
in the center of the wall, etc. To me, turn a key clockwise to lock it
and counter-clockwise to unlock it. But some anal engineer deemed that
this broke the Symmetry Law so my car doors work with the scheme to the
front of the car unlocks and to the back of the car locks. So even
though I've had the car for 7 years I still cannot unlock the door for
my wife with the key!
On newer cars if you try to open either door with the key the alarm goes
off.
Oct 10 '07 #8
On 10 Oct, 09:59, Steve Swift <Steve.J.Sw...@gmail.comwrote:
Life's too short. Get a car with remote locking. If funds allow, get one
of those Mercedes Benz ones that unlock and start simply because they
recognise you (well, the card in your wallet). :-)
It sounded like a great idea, but they never recognise just which one
of them I was planning to drive. Walk through the garage and there's a
whole cacophony of them all hooting for attention.
Oct 10 '07 #9
Steve Swift wrote:
>But some anal engineer deemed that this broke the Symmetry Law so my
car doors work with the scheme to the front of the car unlocks and to
the back of the car locks. So even though I've had the car for 7
years I still cannot unlock the door for my wife with the key!

Life's too short. Get a car with remote locking. If funds allow, get one
of those Mercedes Benz ones that unlock and start simply because they
recognise you (well, the card in your wallet). :-)
It does, but there is something wrong with the auto-lock, will lock
remotely but not unlock. Too old of car to bother fixing. Plus live in
the sticks and rarely need to lock it, so it is just a minor annoyance.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Oct 10 '07 #10
In article <47********@news.greennet.net>,
Steve Swift <St***********@gmail.comwrote:
But some anal engineer deemed that this broke the Symmetry Law so my
car doors work with the scheme to the front of the car unlocks and to
the back of the car locks. So even though I've had the car for 7
years I still cannot unlock the door for my wife with the key!

Life's too short. Get a car with remote locking. If funds allow, get one
of those Mercedes Benz ones that unlock and start simply because they
recognise you (well, the card in your wallet). :-)
The simplest is like my arrangement, the lock on the quarter
window is bust and one can simply shove an arm in there to open
from inside.

--
dorayme
Oct 10 '07 #11
The simplest is like my arrangement, the lock on the quarter
window is bust and one can simply shove an arm in there to open
from inside.
My second suggestion was to buy a convertible with cloth roof. Not much
point locking them as the thieves will just cut their way in. I never
locked my old Triumph TR6, I usually left it parked with the roof down,
to avoid the "slashers".

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Oct 11 '07 #12
Steve Swift wrote:
>The simplest is like my arrangement, the lock on the quarter window is
bust and one can simply shove an arm in there to open from inside.

My second suggestion was to buy a convertible with cloth roof. Not much
point locking them as the thieves will just cut their way in. I never
locked my old Triumph TR6, I usually left it parked with the roof down,
to avoid the "slashers".
If it is anything like the ones I knew they where safe from theft
because the only times they reliably moved was while being towed ;-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Oct 11 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: slim | last post by:
hi again all, i am still working on the website as mentioned in earlier threads and have hit another snag... http://awash.demon.co.uk/index.php http://awash.demon.co.uk/vd.css the php is...
3
by: Harry | last post by:
Hi, Code is posted below. I have a DIV that is placed within another div. The problem is on the first div, (which is meant to be a header) I cant get rid of the extra space that appears no...
2
by: Stewart | last post by:
Originally posted in comp.lang.javascript: Newsgroups: comp.lang.javascript From: "Stewart" Date: 23 Aug 2005 02:50:04 -0700 Local: Tues, Aug 23 2005 10:50 am Subject: FireFox, RemoveChild,...
1
by: davidr | last post by:
Hi, I am using Divs with CSS to setup a layout for a site. I am using the <Div>s and style sheets below. I want the TopMenu to go across the entire top of the browser. It does go across the...
4
by: TheCeej | last post by:
I'm sorry to post what is ultimately a myspace problem, but I'm sure I'd still be having this problem with any html/css document, so the answer would more than likely be able to help anyone out. I'm...
4
by: Dave | last post by:
TIA for the help.....this should be easy for a pro....I need the two divs with text to display on the same line at the top of the container..??? <html> <head> <style> body...
3
by: runner7 | last post by:
Can someone tell me how to make a div stretch vertically so it is always the same height as its neighbor div, while the neighbor div expands to fit its content (like a navigation bar on the left...
2
by: tonsi | last post by:
I have a page but it wont center the div. Can anyone take a look at it and help. When I try to center in the body using text-align: center; it doesn't work with the main container (called Table_01)....
14
by: issentia | last post by:
I'm working on this site: http://www.essenceofsoy.com/redesign/index2.html and I'm having a few problems with getting the layout exactly right. 1) When the menu items are rolled over, they...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.