Alignment Filelist

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
hutzl
Posts: 20
Joined: Thu 13. May 2004, 09:27
Location: Zürich, Switzerland

Alignment Filelist

Post by hutzl »

Hi there, im trying to use a filelist, but i can't get it off the left border. I tried to change the margins of the table elements in the css file, but couldn't get it working.. Some Ideas anyone??? Take a look at my problem at here.. I need that PDF Icon aligned with the content above...

Thanks in advance!
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

Take a look at my problem at here..
where?
hutzl
Posts: 20
Joined: Thu 13. May 2004, 09:27
Location: Zürich, Switzerland

Post by hutzl »

spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

unfortunately I have nothing regarding your problem, but you definatele should get rid of the justification on the paragraphs! These huge white spaces between the words in some lines are not nice to look at, let alone readability issues. I'd advice to use ranged left text only.

By what means do you get the margin to the left of your content for all other content parts?
Last edited by spirelli on Thu 28. Oct 2004, 17:18, edited 1 time in total.
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

I think the problem is in your layout try this

Code: Select all

DIV.padding {
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
}

<DIV class="padding">{CONTENT}</DIV>
or edit file

Code: Select all

include/inc_front/content/cnt7.article.inc.php
but it's not recommend...
hutzl
Posts: 20
Joined: Thu 13. May 2004, 09:27
Location: Zürich, Switzerland

align filelist

Post by hutzl »

thanks for the help in advance, but the problem seems to be that my stylesheet isnt working properly. I kind fear writing a complete new one
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

If you put {CONTENT} inside a div tag with a margin: 20px; all the content will be 20 pixels from the margins.

I hope you understand because it's easy

Code: Select all

<DIV style="margin: 20px;">{CONTENT}</DIV>
Soo you don't need margin: 20px in .articleHead, .articleList_tophead, h1, h2 and .articleText .
Post Reply