|
Posted by Jonathan N. Little on 01/14/07 04:15
Jeff Bowman wrote:
> "Jonathan N. Little" <lws4art@centralva.net> wrote in message
> news:430c$45a85087$40cba7ca$31223@NAXS.COM...
>
>> 1. Use doctype strict
>> 2. Reorder your div's
>> 3. Simplifly your CSS
>
> Unfortunately doctype isn't an option here--all I have access to is the
> design-time markup for the control that's currently under construction.
> While it's certainly possible that a full HTML page is passed to the Visual
> Studio designer, I have no way of verifying that.
VSD is just the tool that you are generating the HTML, if it is not
generating valid markup either (a) it is not setup up to do so or (b)
it's a POS and should be used for web pages. But I bet it's (a).
BTW you may be using a MS to develop your markup but how can you
guarantee that your user will only use IE?
>
> Since IE will render a page with only a single DIV in it, however, it's also
> possible that only the control's markup is passed. I really have no idea,
> and I don't think any of us will be finding out anytime soon.
What do you mean by that? IE will render a page with only a single DIV
in it?
>
> BUT... your negative-top-margin tip and zero-bottom-margin follow-up are
> what did the trick. It now works like a champ, without doctype.
With out doctype throws IE in quirks mode so rendering CSS predictably
can be a joy! <sarcasm note>
>
> See? I keep telling you guys that you're the Kings, but you never believe me
> :-)
>
>
>
>> BTW you don't need to comment your styles anymore...
>
>
> Ah, good. Thanks.
>
>
>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|