Use the ui binder and create an HTMLPanel. Thats what it's for.

2010/4/29 d95sld95 <[email protected]>

>
> How do I create a custom component or composite that creates HTML
> markup like this?
>
> <div class="footer_top"><img src="images/pixel.gif" alt="" /></div>
>
> <div class="footer_content">
>
>
>        <div id="footer_cont">
>
>
>                <div class="float_left">
>
>                        Copyright &copy; 2009 Company Name, Inc.
>
>                </div>
>
>
>                <div class="float_right">
>
>                        <a  href="index.html"
> title="">Home</a>&nbsp;&nbsp;|&nbsp;&nbsp;
>
>                        <a  href="about_us.html" title="">About
> Us</a>&nbsp;&nbsp;|
> &nbsp;&nbsp;
>
>                        <a  href="portfolio.html"
> title="">Portfolio</a>&nbsp;&nbsp;|
> &nbsp;&nbsp;
>
>                        <a  href="services.html" title="">Our
> Services</a>&nbsp;&nbsp;|
> &nbsp;&nbsp;
>
>                        <a href="#" title="">Terms &amp;
> Condition</a>&nbsp;&nbsp;|
> &nbsp;&nbsp;
>
>                        <a href="#" title="">Privacy
> Policy</a>&nbsp;&nbsp;|&nbsp;&nbsp;
>
>                        <a href="#" title="">Sitemap</a>
>
>                </div>
>
>                <div style="clear:both;"></div>
>
>
>        </div>
>
>
> </div>
>
>        <div class="footer_bottom"> </div>
>
> </div>
>
> Do I use DOM.createDiv() or how can I do this? I could use HTMLPanel -
> but how do I maintain browser compatibility then?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to