Page 1 of 1

rahmen / tables ?!

Posted: Sat Apr 02, 2005 8:47 pm
by callya
!!! (my english suxx, i know) !!!

my question: i want a table around the entries... every entrie should be in a table..
how can i design this? which file?

i use serendipity 0.8-beta5 with the Kubrick theme... can anybody help me?!


-----------


für die deutschen! (ist vllt verständlicher was ich meine)

ich will um jeden eintrag so nen rahmen (table?) haben...
in der "entries.tpl" muss man das umschreiben, richtig?!

nur weiß ich nicht, wo und was ich da tuen muss.
wäre super, wenn mir jemand helfen könnte! :)

greetz callya

Re: rahmen / tables ?!

Posted: Sun Apr 03, 2005 2:41 am
by garvinhicking
Das was Du machen willst sollte man per CSS tun.

templates/kubrick/style.css öffnen und am Ende folgendes einfügen:

Code: Select all

.entrytext {
    border: 20px solid red;
}
(English: You should do this via CSS. Edit templates/kubrick/style.css and insert the code as above)

Regards,
Garvin

Posted: Sun Apr 03, 2005 8:08 pm
by callya
hey, danke.
hat funktioniert.

allerdings sieht das ein wenig "eng" aus...
zwischen dem rahmen und dem satzanfang eines eintrages, ist null platz.
also quasi:
_________________
|sofort der text...bla|
| so sollte es sein! |
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

meine tolle zeichnung! ;)
kann man das auch in der css datei ändern?! ist das nen table im table?!
*hilflos*

Posted: Mon Apr 04, 2005 11:25 am
by garvinhicking
Du solltest Dich einmal mit CSS auseinandersetzen und das lernen. Tabellen benutzt man heute nicht mehr.

Benutze folgendes CSS:

Code: Select all

.entrytext {
    border: 20px solid red;
    padding: 5px;
} 
English: He wants to have a padding within the entrytext, and can use the CSS code above to specify the padding :)

Regards,
Garvin

Posted: Mon Apr 04, 2005 3:26 pm
by callya
danke nochmals.. aber das habe ich auch versucht.. (vllt an der falshcen stelle)

danke! ;)

Posted: Mon Apr 04, 2005 11:16 pm
by pinafore
also ich kann mich noch nicht wirklich damit abfinden, keine tables zu benutzen. :)

@topic:

Code: Select all

.entrytext {
    border: 20px solid red;
} 
geht das auch im default-theme?

Posted: Mon Apr 04, 2005 11:18 pm
by callya
ich denke mal schon...
kenne mich zwar nicht aus, aber die themes greifen doch eh alle auf eine bestimmte datei zurück, oder nicht?!

die datei vorher sichern und testen! :p

Posted: Mon Apr 04, 2005 11:19 pm
by garvinhicking
Nein, das geht nicht im Default Template, da das kubrick Template auf WordPress aufsetzt. Die CSS IDs sind vollkommen anders.

Grüße,
Garvin

Posted: Mon Apr 04, 2005 11:20 pm
by callya
wie man sich irren kann.. *pfeif* :)