Table problems (3 posts)

  1. da4kinov
    Posted 4 years ago #

    This link leads to my website where I'm trying to put some text or pictures next to an element - google map. I palced the code into a table but nothing happened. The text or the images I want to place in the right, next to the map are going down?! Follow this it's the reservation menu. I also want to place something in this empty space or advice me how to proceed.

    Kind regards

  2. Jesper van Engelen
    Posted 4 years ago #

    If you want to keep the table, you can use the CSS-attribute "vertical-align" for the TD-element (using "top" as the value, so "vertical-align: top;"). That will align the text to the top of the table cell.

    I would like to advise you, however, not to use tables in general for anything except for displaying structured data. You could also use floating divs, for example.

  3. da4kinov
    Posted 4 years ago #

    This is what I've got. where to put this atribute? Am I need to declare a css class before that? and if yes where to add it?

    <table border="0">
    <td><iframe src="http://maps.google.bg/maps?f=q&source=s_q&hl=bg&geocode=&q=%D0%91%D0%BE%D0%BD%D0%B6%D1%83%D1%80+%D0%9F%D0%B0%D0%BD%D0%B0%D0%B3%D1%8E%D1%80%D0%B8%D1%89%D0%B5&aq=&sll=42.50542,24.191593&sspn=0.052202,0.111494&vpsrc=6&ie=UTF8&hq=%D0%91%D0%BE%D0%BD%D0%B6%D1%83%D1%80&hnear=%D0%9F%D0%B0%D0%BD%D0%B0%D0%B3%D1%8E%D1%80%D0%B8%D1%89%D0%B5,+%D0%9F%D0%B0%D0%B7%D0%B0%D1%80%D0%B4%D0%B6%D0%B8%D0%BA&t=h&cid=7601852203964014987&ll=42.507176,24.189513&spn=0.007593,0.013733&z=16&iwloc=A&output=embed" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="640" height="480"></iframe></td>
    <td> Hello<img class="aligncenter size-full wp-image-79" title="17.11.2011 г. 17-13-39 ч." src="http://bonjour-bg.com/wp-content/uploads/2011/11/17.11.2011-г.-17-13-39-ч..png" alt="" width="193" height="190" />I want to be higher</td>

Topic Closed

This topic has been closed to new replies.

About this Topic