CSS und width / CSS and width

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
ednong
Posts: 37
Joined: Tue 15. Jun 2004, 04:25
Location: Hannover, Germany

CSS und width / CSS and width

Post 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
deanloh
Posts: 99
Joined: Sat 12. Feb 2005, 05:31
Location: Singapore
Contact:

Post 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...
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post 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
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

Thanks for the explanation. very useful.
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post 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
ednong
Posts: 37
Joined: Tue 15. Jun 2004, 04:25
Location: Hannover, Germany

Danke / Thanks

Post 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
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post 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
Post Reply