the first has three dvis, the first is 20% wide, the second is 60% wide, the third is 20% wide.
THe second row is the same except the first element is now two elements, each 10% wide.
sort of like so:
-----x---- ---------y1--------- -----z1---
x1 x2 ---------y2--------- -----z2---
what i am getting in operqa and mozilla is:
x y z
x1 x2 y z
i am using
div class= head
div class= row
div class= x width 20%
div class= y1 width 60%
div class= z1 width 20%
div class= head
div class= row
div class= x1 width 10%
div class= x2 width 10%
div class= y2 width 60%
div class= z2 width 10%
explorer makes the middle elements the right size, but opera and mozilla don't.
But the code is simple enough.
[HTML]
<html>
<head>
<link rel="stylesheet" type="text/css" href="davidpicturepages.css" />
<title>08.HospitalAcrossTheStreetFromUs.JPG</title>
</head>
<body >
<div id="row">
<div id="backthumbs" class="nav">
<A HREF="WalkAroundTheNeighborhood.html" style="text-decoration:none">
Back to Thumbnails
</a>
</div>
<div id="title">A Walk Through The Neighborhood
</div>
<div id="backtohome" class="nav" >
<A HREF="http://asllearner.memebot.com" style="text-decoration:none">
Back to David's Japan Home
</A>
</div>
</div>
<div id="row">
<div id="prev" class="nav" >
<A HREF="07.LookingRightOutTheFrontGateupright.html">
prev
</a>
</div>
<div id="next" class="nav">
<A HREF="09.TheEndOfTheWorld.html" style="text-decoration:none">
next
</a>
</div>
<div id="ImageName">
08.HospitalAcrossTheStreetFromUs.JPG
</div>
<div id="LargeImage" class="nav">
<a href="./pics/08.HospitalAcrossTheStreetFromUs.JPG" target="new">
Click here for a full size image
</a>
</div>
</div>
</div>
[/HTML]
my css is as follows
Expand|Select|Wrap|Line Numbers
- #row {
- vertical-align:middle;
- padding:5;
- width:100%;
- height:2.5em;
- }
- #backthumbs {
- width: 20%;
- border-width: 2px;
- border-color: red;
- border-style: solid;
- vertical-align:middle;
- display:inline;
- margin:0;
- padding:0;
- }
- #title {
- width:60%;
- text-align:center;
- border-width: 2px;
- border-color: red;
- border-style: solid;
- vertical-align:middle;
- display:inline;
- margin:0;
- padding:0;
- }
- #backtohome {
- width: 20%;
- height:2.5em;
- vertical-align:middle;
- border-width: 2px;
- border-color: red;
- border-style: solid;
- display:inline;
- margin:0;
- padding:0;
- }
- #prev , #next {
- width:10%;
- height:2.5em;
- vertical-align:middle;
- display:inline;
- margin:0;
- padding:0;
- border-width: 2px;
- border-color: red;
- border-style: solid;
- }
- #ImageName {
- width:60%;
- text-align:center;
- vertical-align:middle;
- display:inline;
- padding:0;
- margin:0;
- border-width: 2px;
- border-color: red;
- border-style: solid;
- }
- #LargeImage {
- width: 20%;
- display:inline;
- padding:0;
- margin:0;
- border-width: 2px;
- border-color: red;
- border-style: solid;
- }
This shouldn:t be that difficult.