Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 HTML table problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hermes
Junior Member

Croatia
113 Posts

Posted - 24 August 2007 :  18:03:36  Show Profile

Dear Snitzers,
have problem with final look of some tables (HTML) design in different browsers.
In Firefox everything is ok. and layout is correct, but in IE 6 upper row with background image is mess up.

Here is link:
http://www.hermetizam.com/test_page.htm

please help


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 24 August 2007 :  20:15:07  Show Profile  Visit MaD2ko0l's Homepage
hiya,
it is the same with IE7 and it is the actual image.
in IE7 it keep on repeating the image that is set to the background.
unless u specify a specific width of the main table u wont be able to fix this problem (well i dont knwo of any ways), but if it was a fixed width u could use some absolute/relative positioning to place the background image in the correct place.

maybe u could relative position it to the left of the table

somthing liek this maybe

style="position:relative; left top"


maybe if u look into it u may find an answer


hope this helps

MaD2ko0l

© 1999-2010 MaD2ko0l
Go to Top of Page

gary b
Junior Member

USA
267 Posts

Posted - 24 August 2007 :  20:51:55  Show Profile  Visit gary b's Homepage
This is in the 'For what it is worth category'...

I see three levels of "nested" tables. In my experience, this complicates the format/layout. Here are my suggestions:
1. Use one table with width = 100% and rows as necessary. Set table to five columns... adjust as necessary. Use 'merge' to combine cells as necessary -- like first row: first cell has text, MERGE next four cells, apply background to <td colspan="4" background="... if desired.
2. I avoid mixing fixed width ( like '223') and percents (like 8%). Make all widths in percent and make sure the total for all columns = 100%! Adjust width % as necessary! Repeat matching percentage for each corresponding column in successive rows.
3. When designing the page tables, use borders. Set 'outermost table to border = red and =4 (for example), first nested table border = navy and = 3, NEXT nested table border = green and 2 and so on. It makes it easy to find/set alignment, etc!!! When done, simply set border = 0 and let color info as is -- in case you need to redesign.
4. Simplier is better... keep layout and table use as simple as possible.

HTH...
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 25 August 2007 :  04:43:54  Show Profile

Thank you guys,
I use Mad2koOl suggestion of ‘fixed table width’ for the time being, and in the future I will look at gary b ideas.

Best regards, H.


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 25 August 2007 :  09:45:58  Show Profile
<td width="223" valign="top" style="background-image:url('images/news/background/bg_head2.gif');
                                    background-repeat:no-repeat;
                                    background-position:100% 0%;"> </td>


or shorthand

<td width="223" valign="top" style="background: url('images/news/background/bg_head2.gif') no-repeat 100% 0%;"> </td>


w3c css school

Viewing thier examples with Firefox and it doesn't look like it supports the "top position" correctly.
O well its something to try anyway .

    _-/Cripto9t\-_
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 25 August 2007 :  11:07:34  Show Profile  Visit AnonJr's Homepage
Its also worth noting that you can use tools like the "IE Developer's Toolbar" or the "Web Developer's Toolbar" for IE and Fx respectively. Either one will give you an outline of your table elements and/or any other element. I've found both to be absolutely invaluable for this and many other reasons. I highly recommend that all web developers use both tools when checking in both browsers.

Just my USD$0.02.
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 26 August 2007 :  03:45:23  Show Profile

Thank you all for support.





ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07