|
|
#1 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 894
Rep Power: 23 ![]() |
Hi,
For TruckYard.Com.Au - Buy And Sell New And Used Trucks & Buses Free i am using <table class="table4" width="960" id="table1"> in table4 is table.table4 { border: 0; align: centre; } In IE7 the logo image is centred, but if i view it in firefox it is aligned left. Any ideas why? Cheers
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
|
|
#2 |
|
The Master
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,400
Rep Power: 46 ![]() ![]() |
align doesnt exist in css
use text-align
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers. |
|
|
|
|
|
#3 |
|
Coder
Join Date: Mar 2006
Posts: 4,693
Rep Power: 114 ![]() ![]() ![]() |
__________________
Larry What I post here should be used only as a guide to point you in the right direction. If the code I post doesnt make any sense or work as posted then you should spend more time reading the various manuals and tutorials so it does make sense and you can tweak it to work. A sure fire way to get yourself in trouble is to implement changes you dont have an intimate understanding of. Im happy to help, but I am not here to teach you to code or create your site for you. |
|
|
|
|
|
#4 |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,691
Rep Power: 48 ![]() ![]() |
As Maffo already pointed out, there is no center like that in CSS.
Why not just put the alignment in the table itself as a table is an HTML "block" element. <table align="center">. To align a block element in CSS you need to use margin: auto -Mike
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.5) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#5 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 894
Rep Power: 23 ![]() |
Ok, XHTML doesn't allow align in the code, it needs to be in the css. Also how can i do width and height without putting it in the html?
<table align="centre" width="960" id="table1"> still does not work. Any ideas? Cheers
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
|
|
#6 |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,691
Rep Power: 48 ![]() ![]() |
center not centre
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.5) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#7 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 894
Rep Power: 23 ![]() |
Woops, my bad.
Thanks for the help.
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IE and Firefox problem | wesse249 | v4 Questions & Support | 3 | 09-06-2008 12:37 PM |
| IE7 V Firefox - V4 Ad Category layout | torrox | v4 Questions & Support | 1 | 06-09-2008 10:49 AM |
| firefox width problem? | Kavin | v3.1 Questions & Support | 4 | 07-27-2007 06:05 PM |
| firefox question | wel-usa | v3.1 Questions & Support | 1 | 07-25-2006 10:59 PM |
| Neat Firefox | juven14 | Off Topic | 5 | 06-21-2006 12:24 PM |