This is the CSS for #content
#content {
margin-left: 16%;
border-left: solid 1px black;
}
#content table {width: 100%; }
Using IE7, in only case do they fill the whole width of the <div>.
This is the single column, single row table on
http://ratec.actbus.net/index.html starting:
From Webmaster
(Lines 336 to 353)
In Firefox and Safari, they all fill the entire width. Is this a flaw in
IE7, and will IE8 cure this?
The answer to the latter is, I guess, try it and see <g>
However, I had so many problems moving from IE6 to IE7 that I dread moving
to IE8
--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org
I have tried every combination of margin: 0; padding:0; etc to no avail
--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org
"Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:...
And if you are referring the to table cells with 8 images, the sum of all images are too wide to fit w/o wrapping
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________
"Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:eW0uqy7d...@TK2MSFTNGP06.phx.gbl...
=================================================
HERE A TABLE Template Made Just for your WebSite View it in FrontPage
<html>
<!-- Template Created on: 12/8/2009 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="Unregistered User">
<meta name="generator" content="AceHTML Freeware">
</head>
<body>
<table summary="" border="2" width="100%" id="table_1">
<tr>
<td width="100%"> </td>
</table>
<table summary="" border="2" width="100%" id="table_1">
<tr>
<td width="33%"> </td>
<td width="34%"> </td>
<td width="33%"> </td>
</tr>
</table>
<table summary="" border="2" width="100%" id="table_1">
<tr>
<td width="100%"> </td>
</table>
<table summary="" border="2" width="100%" id="table_2">
<tr>
<td width="25%"> </td> <td width="75%"> <table summary="" border="2" width="100%"
id="table_3">
<tr>
<td width="100%"> <table summary=""
border="2" width="100%" id="table_4">
<tr>
<td
width="50%"> </td>
<td
width="50%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%"> <table summary=""
border="2" width="100%" id="table_5">
<tr>
<td
width="33%"> </td>
<td
width="34%"> </td>
<td
width="33%"> </td>
</tr>
<tr>
<td
width="33%"> </td>
<td
width="34%"> </td>
<td
width="33%"> </td>
</tr>
<tr>
<td
width="33%"> </td>
<td
width="34%"> </td>
<td
width="33%"> </td>
</tr>
<tr>
<td
width="33%"> </td>
<td
width="34%"> </td>
<td
width="33%"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table summary="" border="2" width="100%" id="table_1">
<tr>
<td width="34%"> </td>
</table>
</body>
</html>
Save As Template
=======================================================================
"Trevor Lawrence" <Trevor L.@Canberra> wrote in message
news:eVl8g07d...@TK2MSFTNGP04.phx.gbl...
I thought all dimensions have to have a unit. Anyway I altered 10px to 10 on
index.html but the table it refers to is the one which IS full width. Making
this change did not change its appearance
I don't mind that the images wrap in the table below this. I can fix this up
at my leisure.
The table with problems in index.html
<table style="font-family: arial,sans-serif;">
<tr>
<td width="20%" style="vertical-align: middle; text-align:center">
<div style="border:3px solid blue;">
<p style="margin-top:0">This site is sponsored by</p>
<p><a href="http://actbus.net/site/" title="ACT Bus Home Page">
<img src="images/ACT Bus logo.png" height="40" title="ACT Bus Home Page"
/></a></p>
See links in sidebar
</div>
</td>
<td style="border: solid black 2px;">
<table class="tindent" style="border-collapse: collapse;">
<tr>
<th colspan="3" align="center">LATEST CHANGES</th>
<tr>
.............
This is not the full width. I tried changing the outside table statement to:
<table style="font-family: arial,sans-serif;" width="100%">
and the second column to:
<td width = "80%" style="border: solid black 2px;">
but no difference
There are also tables in other pages with similar problems, e.g.
the table in album.html commencing at line 172
the table in events.html commencing at line 162
the table in contacts.html commencing at line 163
--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org
"Stefan B Rusynko" <sbr_...@hotmail.com> wrote in message
news:%23I4bz9%23dKH...@TK2MSFTNGP05.phx.gbl...
When I added width:83% all tables expanded to fit the <div>. I guess other
browsers assume that when 2 <div>s are side by side, the second takes up the
space left over by the first
--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org
"Trevor Lawrence" <Trevor L.@Canberra> wrote in message
news:eW0uqy7d...@TK2MSFTNGP06.phx.gbl...
Only CSS dimensions need the px
- the px is not valid/required in html tag attributes
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________
"Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:O7dgJjFe...@TK2MSFTNGP05.phx.gbl...
"Trevor Lawrence" wrote:
> ..............
> .
>
The problem turned out to be an absence of width (83%) on the <div
id="content">, rather than on the table
--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org
"Dan L" <Da...@discussions.microsoft.com> wrote in message
news:CF372B52-9E40-46EA...@microsoft.com...