Table or Div set as 100% but it's not filling in the area

seanie_morris

#5
Feck it, the one .css file I never thought of checking for such lines.  :roll: Thanks for that Ruud, it helps getting a second pair of eyes to glance over one's work.

Seanie.

Ruud

You have all kinds of table styling in your CSS. This will have its effect on the output.

Code (layout_text.css) Select

.main-content table {clear:both; width:99%; margin:2.0em 0 0.2em 20px;}
.main-content table th.top {height:3.5em; padding:0 7px 0 7px;}
.main-content table th {height:3.0em; padding:2px 20px 2px 7px;}
.main-content table td {height:3.0em; padding:2px 7px 2px 7px;}
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

seanie_morris

Thanks John,

Here is a link to what I am working on:

http://www.knocknagoshelshootinggrounds.com/wb/pages/about-us.php

You can see where I have the 2 paragraphs next to the embedded video. All this is placed within a 2-column table.

Seanie.

P.S. For some reason the default 'Home' link won't work too, if you navigate away from the homepage you won't get back to it with out going 'back', but I'll look at this later.

pcwacht

A link to an example page will help.
Sometimes setting a negative margin will help.

John
[url="http://www.ictwacht.nl"]http://www.ictwacht.nl[/url] = Dutch ICT info
[url="http://www.pcwacht.nl"]http://www.pcwacht.nl[/url] = My first
both still work in progress, since years.....

seanie_morris

I have experienced this on a number of WB templates so I don't think it can be attributed to any one design seeing as this problem only occurs within the WYSIWYG editable region...

When I have a table inserted (or added a <div> via the 'Source' option) and it is defined as width="100%", it never fills the area. The table is indented relative to the other paragraphs of text on the page when viewed live, thus making the content skewed in places.

There's no change for the table's position being "left", "right", "center" or "default" (undefined).

Am I missing something? Shall I post an example to the page?

Thanks in advance,

Seanie.