homepage Welcome to WebmasterWorld Guest from 54.197.108.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

    
Problem with Opera table alignment
kosar




msg:1583966
 3:36 pm on Sep 15, 2004 (gmt 0)

i have a table using this code:

<table cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="images/h_faqs.gif" width="150" height="26" alt="My Cart"></td></tr>

<tr>
<td bgcolor="#E3EDF5" class="mycart">
<%=getFAQsList(cfg_FAQsPerPage)%>
</td>
</tr>

<tr>
<td><a href="Help.asp"><img src="images/f_faqs.gif" width="150" height="26" border="0" alt="More Questions"></a></td>
</tr>
</table>

the table in opera expands past the alotted space. help

 

quarantine




msg:1583967
 4:07 pm on Sep 15, 2004 (gmt 0)

if you're going to use an image in a table add:
img { display:block; }
to your stylesheet

not sure exactly what the problem is but this might solve it.

Birdman




msg:1583968
 4:17 pm on Sep 15, 2004 (gmt 0)

Hello,

No need for a table at all!

<div style="width: 150px;"> <!-- a "wrapper" div -->

<img src="images/h_faqs.gif" width="150" height="26" alt="My Cart">

<div style="background: #E3EDF5;" class="mycart">
<%=getFAQsList(cfg_FAQsPerPage)%>
</div>

<a href="Help.asp"><img src="images/f_faqs.gif" width="150" height="26" border="0" alt="More Questions"></a>

</div> <!-- close wrapper -->

If you still are getting the expansion problem, something in the ASP variable must be causing it.

Regards,
Birdman

kosar




msg:1583969
 6:12 pm on Sep 15, 2004 (gmt 0)

tanks birdman

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved