HighDots Forums  

What is it good for (cross post)

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss What is it good for (cross post) in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kim
 
Posts: n/a

Default What is it good for (cross post) - 11-25-2004 , 12:28 PM






I came across a strange style I've never seen before...

#container{
width:760px;
\width:770px;
w\idth:760px;}

I guess the \ hides the width for some browsers... but which and why?

Kim

Reply With Quote
  #2  
Old   
jojo
 
Posts: n/a

Default Re: What is it good for (cross post) - 11-25-2004 , 12:36 PM






Kim wrote:
Quote:
I came across a strange style I've never seen before...

#container{
width:760px;
\width:770px;
w\idth:760px;}

I guess the \ hides the width for some browsers... but which and why?

Kim
Not sure about the width with the escape character before the property
but the one with the escape character before the i is seen by IE6 FF and
most modern browsers. You would do this to feed in a different value to
those.

The escape character should not be placed before the letters a,b,c,d,e
or f - the hex value letters. So w\idth is ok and wi\dth is not ok.

--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
http://www.webade.co.uk
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm
----------------------------------------------------


Reply With Quote
  #3  
Old   
Gary White
 
Posts: n/a

Default Re: What is it good for (cross post) - 11-25-2004 , 01:05 PM



Kim wrote:

Quote:
I came across a strange style I've never seen before...

#container{
width:760px;
\width:770px;
w\idth:760px;}

I guess the \ hides the width for some browsers... but which and why?

See:
http://www.dithered.com/css_filters/css_only/escape_before_property.html
http://www.dithered.com/css_filters/css_only/simplified_box_model.html



Gary


Reply With Quote
  #4  
Old   
Kim
 
Posts: n/a

Default Re: What is it good for (cross post) - 11-25-2004 , 01:37 PM



Excellent... thanks both

Kim

Kim wrote:
Quote:
I came across a strange style I've never seen before...

#container{
width:760px;
\width:770px;
w\idth:760px;}

I guess the \ hides the width for some browsers... but which and why?

Kim

Reply With Quote
  #5  
Old   
Gary White
 
Posts: n/a

Default Re: What is it good for (cross post) - 11-25-2004 , 05:45 PM



Kim wrote:

Quote:
Excellent... thanks both

You're welcome.


Gary


Reply With Quote
  #6  
Old   
jojo
 
Posts: n/a

Default Re: What is it good for (cross post) - 11-26-2004 , 03:19 AM



Gary White wrote:

Quote:
You're welcome.
Ditto.

--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
http://www.webade.co.uk
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm
----------------------------------------------------


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.