![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
I'd call IE out of touch, for not supporting the properties that give the results you are really after - display:table etc. |
|
Are you aware that your doctype triggers quirks mode in IE6? Drop the xml prolog. |
#12
| |||
| |||
|
|
On 10 Apr, 05:19, Bergamot <berga... (AT) visi (DOT) com> wrote: Are you aware that your doctype triggers quirks mode in IE6? Drop the xml prolog. That's done on purpose because of IE6's bugs when in strict mode. IE7 is running in strict mode though. And this has no effect on this particular uissue. |
#13
| |||
| |||
|
|
Hi I've created a banner with a drop-shadow using a div - there's a mock- up at http://tinyurl.com/6n7czu . The only problem is that the way I've done it, I have to specify the width of the div - if I don't, it renders with a width of 100%. Is there any way of making the width fit the text it encloses (plus padding), and so that it expand automatically if you add more text? |
#14
| |||
| |||
|
|
Any reason why you are using XHTML? Bet not... |
#15
| |||
| |||
|
|
Dave Rado wrote: Hi I've created a banner with a drop-shadow using a div - there's a mock- up athttp://tinyurl.com/6n7czu. The only problem is that the way I've done it, I have to specify the width of the div - if I don't, it renders with a width of 100%. Is there any way of making the width fit the text it encloses (plus padding), and so that it expand automatically if you add more text? Use float is the only way I know of and include IE, else you must specify a width... simple examples http://www.littleworksstudio.com/tem....20080410.html -- Take care, Jonathan ------------------- LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com |
#16
| |||
| |||
|
|
On 10 Apr, 16:16, "Jonathan N. Little" <lws4... (AT) central (DOT) net> wrote: Any reason why you are using XHTML? Bet not... See for example: http://www.w3schools.com/xhtml/xhtml_why.asp |
#17
| |||
| |||
|
|
Do not be deceived,www.w3schools.comhas no association with w3.org. Much onwww.w3schools.comis just plain incorrect. |
|
Except for a very narrow, often never used features, XHTML is no better than HTML for creating websites. In fact unless you need the advanced namespace and other features (which you don't) XHTML is an impediment to your website design, much-much-much discussed here. If you do not know what I am talking about then you *absolutely* do not need and should not use XHTML. |
#18
| |||
| |||
|
|
Except for a very narrow, often never used features, XHTML is no better than HTML for creating websites. In fact unless you need the advanced namespace and other features (which you don't) XHTML is an impediment to your website design, much-much-much discussed here. If you do not know what I am talking about then you *absolutely* do not need and should not use XHTML. |
#19
| |||
| |||
|
|
Why does Dreamweaver give you an xhtml transitional doctype by default then? |
|
And given that I've already marked up several hundred webpages in valid xhtml, with closing /> tags for images etc., is it really worth the many hours of work it would take to change it back now? |
#20
| |||
| |||
|
|
Why does Dreamweaver give you an xhtml transitional doctype by default |
![]() |
| Thread Tools | |
| Display Modes | |
| |