|
| |
|
|
midiman52
Posts: 17 Joined: 8/17/2004 Status: offline
|
table not centering in firefox - 7/1/2007 13:22:36
Hello ive just started using web expression. Not sure if this question has been posted but i need help with this problem. When i view my web page in Internet explorer the table is centered When i view it in Fire fox it is to the left of the page. This is on my css page .tabel { margin: 1px; background-position: center center; border: 4px solid #FFFFFF; padding: 1px; width: 22px; display: block; } This is on my html page. <table style="width: 22px" cellpadding="0" class="style4"> Because align="center" is outdated is there some coding i can put in to fix it. Thanks Roger
|
|
|
|
midiman52
Posts: 17 Joined: 8/17/2004 Status: offline
|
RE: table not centering in firefox - 7/1/2007 15:23:20
Hi Thanks for that it worked. The table is centered. The only problem now is i had an picture inside the table. It now appears outside the table to right of the table slightly overlapping it. This is the code <table style="width: 22px" cellspacing="1" cellpadding="0" class="tabel"> <tr> <td> <img alt="toe rings" src="toe%20rings.JPG" width="240" height="360" /></td> </tr> </table> Is there anything wrong with the coding. Or is there another problem. It still looks fine in IE. Thanks Roger
|
|
|
|
Tailslide
Posts: 6272 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: table not centering in firefox - 7/1/2007 15:55:07
Difficult to say without seeing the full page itself plus it's been a long while since I've used tables for layout but at first glance anyway you've got an image that's 240px wide in a table that's 22px wide.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
midiman52
Posts: 17 Joined: 8/17/2004 Status: offline
|
RE: table not centering in firefox - 7/1/2007 15:59:34
Hi All working now. I changed the width size to match the jpg width size. Fitted in and looks correct in Firefox. Thanks Roger
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|