Bilder zersprengen das Layout

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
werwi007
Posts: 32
Joined: Fri 18. Jun 2004, 10:05
Location: Germany
Contact:

Bilder zersprengen das Layout

Post by werwi007 »

Hi Folks,

Auf meiner Seite habe ich Produktbezogene Bilder untergebracht. Obwohl der "Content" Bereich groß genug ist (ca. 550px) wird selbst bei Bildern mit einer Breite von ca 500 px jedesmal das Menü auf der linken Seite gestaucht.

Vielen Dank für eure Hilfe.

Grüße
Werner
Pappnase

Post by Pappnase »

hallo

mal ne ganz dumme nachfrage hast du vielleicht irgenwie einen rand drum!?
oder vielleicht verschiedene templates oder layouts und das falsche zugewiesen!?
dexter
Posts: 31
Joined: Fri 12. Mar 2004, 15:25
Location: Vancouver/British Columbia
Contact:

Post by dexter »

zeig mal den code
Pappnase

Post by Pappnase »

dexter wrote:zeig mal den code
hehe dexter

das wäre meine nächste frage gewesen! :wink:
werwi007
Posts: 32
Joined: Fri 18. Jun 2004, 10:05
Location: Germany
Contact:

Post by werwi007 »

dexter wrote:zeig mal den code
hier kommt der MAIN part

Code: Select all

<table width="100%" border="0" cellpadding="0" cellspacing="0"> 
<tr>
    <td width="100%">
<table width="100%" border="0" cellspacing="5" cellpadding="0">
        <tr>
          <td><p>{CONTENT}</p>
            <p align="right">{DATE_ARTICLE}</p></td>
        </tr>
      </table></td></tr> 

<tr>
    <td height="100%"><div align="right"><img src="img/leer.gif" width="1" height="10"></div></td>
  </tr> 
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td align="right" valign="bottom"><div align="right">[BACK]<img src="img/article/back_link_0.gif" border="0">[/BACK]&nbsp;&nbsp;<a href="#" target="_top" title="goto top of the page"><img src="img/article/top_link_0.gif" border="0"></a>&nbsp;&nbsp;[PRINT]<img src="img/symbols/print_icon.gif" width="44" height="9" border="0" title="open optimized page for printing">[/PRINT]</div></td>
  </tr>
</table>
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Warum so kompliziert?

mach es so

Code: Select all

<div style="padding:5px 5px 5px 5px;margin:0;">{CONTENT}</div>
<div style="text-align:right;padding:5px 5px 5px 5px;margin:0;">{DATE_ARTICLE}</div>
<div style="text-align:right;padding:5px 5px 5px 5px;margin:0;margin-top:10px;">
[BACK]<img src="img/article/back_link_0.gif" border="0">[/BACK]
&nbsp;&nbsp;<a href="#" target="_top" title="goto top of the page">
<img src="img/article/top_link_0.gif" border="0"></a>&nbsp;&nbsp;
[PRINT]<img src="img/symbols/print_icon.gif" width="44" height="9" 
border="0" title="open optimized page for printing">[/PRINT]</div>
Das Ausrichten der Back-Button direkt am unteren Rand ist problematisch. Ein <td height="100%"> ist nicht W3C konform - möglicherweis ist sinnvoll, das in den Footer-Bereich einzubauen.

Verschachtel Deine Tabelle nicht so unnötig.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply