<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Towfiq, I'm not sure exactly what you're doing, and it could very
well be that Emil solution is perfect, but be careful with
overriding inline styles with width:auto. If you're overriding it
with width:100%, that's fine, but auto is problematic.<br>
<br>
The reason wp-caption has an inline width hard coded into it is
because valid CSS requires floated elements to have a width
declared. Using width:auto and float:left in the same rule isn't
valid, so watch out for that.<br>
<br>
Philip<br>
<br>
<br>
<blockquote
cite="mid:BANLkTimk33PBdnB6TZ1vZQhsqRT5OS0-3w@mail.gmail.com"
type="cite">Thanks for the response Philip, but Emil's solution
worked. I knew I could rewrite the default wp-caption output but
wouldn't want to get into that trouble. <br>
Didn't know css "!important" tag could beat the inline html style.
Thanks again :)<br>
<br clear="all">
<br>
-- <br>
<span style="color: rgb(153, 153, 153);">Towfiq I.</span><br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
theme-reviewers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a>
</pre>
</blockquote>
</body>
</html>