Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 07:49:21 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155551
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Templates, Menus & Design
(Moderator:
Argos
)
Table or Div set as 100% but it's not filling in the area
Pages: [
1
]
Go Down
Author
Topic: Table or Div set as 100% but it's not filling in the area (Read 356 times)
seanie_morris
Offline
Posts: 16
Table or Div set as 100% but it's not filling in the area
«
on:
August 19, 2011, 01:05:59 PM »
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.
Logged
pcwacht
AddOn Development
Offline
Posts: 2859
Re: Table or Div set as 100% but it's not filling in the area
«
Reply #1 on:
August 19, 2011, 01:12:28 PM »
A link to an example page will help.
Sometimes setting a negative margin will help.
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
seanie_morris
Offline
Posts: 16
Re: Table or Div set as 100% but it's not filling in the area
«
Reply #2 on:
August 19, 2011, 02:35:17 PM »
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.
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2297
Re: Table or Div set as 100% but it's not filling in the area
«
Reply #3 on:
August 19, 2011, 02:46:53 PM »
You have all kinds of table styling in your CSS. This will have its effect on the output.
Code: (layout_text.css)
.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;}
Logged
Professional WebsiteBaker Solutions
seanie_morris
Offline
Posts: 16
Re: Table or Div set as 100% but it's not filling in the area
«
Reply #4 on:
August 19, 2011, 03:44:05 PM »
Feck it, the one .css file I never thought of checking for such lines.
Thanks for that Ruud, it helps getting a second pair of eyes to glance over one's work.
Seanie.
«
Last Edit: August 19, 2011, 05:03:25 PM by seanie_morris
»
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...