Jump to content

Recommended Posts

Hi I have a page with a large box div and smaller ones inside to make a table. The last one on the line does not float left. I can see a gap to the left. is there a way of removing it.

 

http://www.yorkbaptist.org.uk/FNL3.php  The styles are below

 

Outline
{
  float: left;
  color:grey;
  background:white;
  border:solid;
  border-width:1px;
  padding-left:0px;
}

.Outline2
{
  color:grey;
  background:white;
  border:solid;
  border-width:1px;
  height:500px;
}

.date
{
  padding-left:4px;
  float: left;
  background-color:#aaaaaa;
  width:80px;
}

.group
{
  float: left;
  background-color:#aaaaaa;
  width:160px;
}

.title
{
  float: left;
  background-color:#aaaaaa;
  width:200px;
}

.passage
{
  background-color:#aaaaaa;
  width:150px;
}

.combined1
{
  background-color:#aaaaaa;
  width:350px;
}

 

TIA Desmond.

 

Link to comment
https://forums.phpfreaks.com/topic/199577-flot-left-probel-i-think/
Share on other sites

So what you are saying use a table in a CSS? why not go back to the old system of using tables and leave CSS out of it.

I have corrected the problem using all float lefts inside a larger div with a fixed with. works FANTASTIV in IE8

http://www.yorkbaptist.org.uk/FnlCrossfire.php

 

But CRAP

 

in Firefox. This w3c standards

 

 

Your layout looks like a table. The <table> tag is very web 1.0, but many people still use them, including me. Sometimes there is no other way to get exactly what you want without using tables. In this case, you could get what you want using divs, but it would be much easier to get your desired result in all browsers using tables.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.