rahmen / tables ?!

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
callya
Regular
Posts: 122
Joined: Sat Apr 02, 2005 8:42 pm
Location: Hamburg / Germany
Contact:

rahmen / tables ?!

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: rahmen / tables ?!

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
callya
Regular
Posts: 122
Joined: Sat Apr 02, 2005 8:42 pm
Location: Hamburg / Germany
Contact:

Post 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*
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
callya
Regular
Posts: 122
Joined: Sat Apr 02, 2005 8:42 pm
Location: Hamburg / Germany
Contact:

Post by callya »

danke nochmals.. aber das habe ich auch versucht.. (vllt an der falshcen stelle)

danke! ;)
pinafore
Regular
Posts: 13
Joined: Mon Mar 21, 2005 1:59 am

Post 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?
callya
Regular
Posts: 122
Joined: Sat Apr 02, 2005 8:42 pm
Location: Hamburg / Germany
Contact:

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
callya
Regular
Posts: 122
Joined: Sat Apr 02, 2005 8:42 pm
Location: Hamburg / Germany
Contact:

Post by callya »

wie man sich irren kann.. *pfeif* :)
Post Reply