Page 1 of 1

CSS und width / CSS and width

Posted: Thu 24. Mar 2005, 00:37
by ednong
English Translation below.

Hallo,
ich bin nicht der große CSS-Kenner, denke aber schon, daß ich das Grundprinzip verstanden habe. :)
Nun habe ich mir auch mal das Standard-CSS angeschaut (im Bereich Admin) und bin da auf Angaben gestoßen, mit denen ich recht wenig anfangen kann:

Code: Select all

#container {
	width: 760px;
	\width: 780px;
	w\idth: 760px;
Width steht für die Weite/Breite eines Elements, soweit klar. Aber wofür stehen "\width" und "w\idth"? Die beiden Angaben sagen mir nix. Vielleicht gibt es ja hier einen Experten, der mir das erklären kann. Ich würd mich freuen. ;)

ednong

##
English Translation

Hello,
I'm not really the guru of CSS, I'm beginner. And I have take a look into the Standard CSS, which comes with phpWCMS (in the admin area).

And I know, what the value "width" means. But I have found s.th. like this:

Code: Select all

#container {
	width: 760px;
	\width: 780px;
	w\idth: 760px;
And here I don't know, what the values "\width" and "w\idth" are meaning. Is here somebody who can explain this to me? I would be very delight about this.

ednong

Posted: Thu 24. Mar 2005, 02:35
by deanloh
ednong

It is a technique called: Simplified Box Model Hack - a workaround to compensate for the incorrect implementation by IE5.x/Win of the CSS Box Model

Then the pro says...

Posted: Thu 24. Mar 2005, 08:16
by trip
Hi there
I was given this link, just yesterday...
its a detailed explanation of the HACK that deanloh talks about....

http://css-discuss.incutio.com/?page=BoxModelHack

enjoy...
remember there are a number of ways to correct CSS in different browsers and the order in which this appears is very important.

TriP

Posted: Thu 24. Mar 2005, 11:33
by isac
Thanks for the explanation. very useful.

Posted: Thu 24. Mar 2005, 14:41
by pepe
ATTENTION to all the ENGLISH USERS:

DONT READ THE FOLLOWING TEXT :!:


Für die unterdrückte :oops: Minderheit der DEUTSCH sprechenden Benutzer von phpWCMS,
ohne weitere Fremdsprachenkenntnisse gibt's auch etwas:

http://www.thestyleworks.de/tut-art/boxmodelhacks.shtml

Danke / Thanks

Posted: Thu 24. Mar 2005, 17:07
by ednong
Hallo,
vielen Dank für informative Auskunft. Ich habs mir schon gedacht, daß mal wieder der IE dran Schuld ist :)

###

Hello,
thanks for this interesting answer. I did thought that the IE was the source for this but now I know it :)


ednong

Posted: Thu 24. Mar 2005, 17:37
by isac
pepe wrote:ATTENTION to all the ENGLISH USERS:

DONT READ THE FOLLOWING TEXT :!:


Für die unterdrückte :oops: Minderheit der DEUTSCH sprechenden Benutzer von phpWCMS,
ohne weitere Fremdsprachenkenntnisse gibt's auch etwas:

http://www.thestyleworks.de/tut-art/boxmodelhacks.shtml
sure no problem