navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

table not centering in firefox

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> table not centering in firefox
Page: [1]
 
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
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 14:01:44   
margin:0 auto; should work for Firefox and all the other good browsers.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to midiman52)
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


(in reply to Tailslide)
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

(in reply to midiman52)
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

(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> table not centering in firefox
Page: [1]
Jump to: 1





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