Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Overwriting Default Table Style In Ie!?

This is a discussion on Overwriting Default Table Style In Ie!?, within the CSS section. This forum and the thread "Overwriting Default Table Style In Ie!?" are both part of the Designing Your Website category.

 
Closed TopicStart new topic
> Overwriting Default Table Style In Ie!?
Jason
post Feb 19 2008, 04:50 AM
Post #1


Master of the Universe
Group Icon

Posts: 1,298
Joined: 15-February 08
From: London, England


A CMS I am using is spitting out the menu in a table which looks a bit like this.

<table>
<tr><td>Item 1</td></tr>
<tr><td>Item 2</td></tr>
</table>

Firefox has no trouble floating tr elements. IE7 is stubborning refusing the CSS love.

I have tried this to no avail

CODE
#top_inner .moduletable table tr {
    width:100px; float:left;
}
#top_inner .moduletable table tr td {
    width:100px; float:left;
}



Any ideas on what I can do to get this working?


--------------------
Go to the top of the page
 
+Quote Post
Rakuli
post Feb 19 2008, 05:39 AM
Post #2


Squeeze Machine
Group Icon

Posts: 766
Joined: 13-February 08
From: Catching the squeezed drips downunder.


The whole structure of a table stops what you're doing from working -- you wouldn't really want to do this.

Are you able to alter the code in the CMS so it puts out divs that you can style with CSS?


--------------------
Luke Dingle . com

Turn Over a Playful Leaf on Web Design -- read about the javascript cat
Go to the top of the page
 
+Quote Post
Jason
post Feb 19 2008, 05:52 AM
Post #3


Master of the Universe
Group Icon

Posts: 1,298
Joined: 15-February 08
From: London, England


I was looking for a CSS solution instead of editing files with php. I will have a look at it.


--------------------
Go to the top of the page
 
+Quote Post
karinne
post Feb 19 2008, 09:21 AM
Post #4


Co-Founder
Group Icon

Posts: 3,107
Joined: 13-February 08
From: my little igloo up north


hmmmm.... I understand this is not your code so I won't comment on how stupid it is to have a menu in a table. I would go in and change that to have the menu in a <ul> then create the css accordingly. wink.gif


--------------------
a web design portfolio | web non-sense - REDESIGNED!
I'm also on: del.icio.us | flickr | virb | facebook | twitter
The Web Squeeze is also on: twitter | virb | facebook | stumbleupon
Go to the top of the page
 
+Quote Post
Jason
post Feb 19 2008, 09:34 AM
Post #5


Master of the Universe
Group Icon

Posts: 1,298
Joined: 15-February 08
From: London, England


I found a way around it, recoded the menu to display something a bit more usable.


--------------------
Go to the top of the page
 
+Quote Post
karinne
post Feb 19 2008, 09:41 AM
Post #6


Co-Founder
Group Icon

Posts: 3,107
Joined: 13-February 08
From: my little igloo up north


What's CMS is this anyways?


--------------------
a web design portfolio | web non-sense - REDESIGNED!
I'm also on: del.icio.us | flickr | virb | facebook | twitter
The Web Squeeze is also on: twitter | virb | facebook | stumbleupon
Go to the top of the page
 
+Quote Post
thesealportaltea...
post Feb 19 2008, 01:46 PM
Post #7


Rapid Squeezer
****

Posts: 218
Joined: 14-February 08
From: Currently loacted in bustle of vurtual servers hosted by GoDaddy.com.


IE 7 has also simplified tables, and Firefox mostly treats tables as div tags.


--------------------
We are sorry but complaint.hell is not registered to Heaven Inc.
TheSealPortal.com - Yea, we are celebrating are 200th post at TWS. Everybody Party.
Go to the top of the page
 
+Quote Post
Jason
post Feb 19 2008, 03:02 PM
Post #8


Master of the Universe
Group Icon

Posts: 1,298
Joined: 15-February 08
From: London, England


QUOTE (karinne @ Feb 19 2008, 02:41 PM) *
What's CMS is this anyways?


Its an unreleased CMS that my friend is developing. I volunteered to build a site with it to see what its short comings were.


--------------------
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   10 jackfranklin 397 17th February 2008 - 01:44 PM
Last post by: Rakuli
No New Posts   9 velo 425 26th February 2008 - 12:12 AM
Last post by: Vanessa
No New Posts   3 Jason 207 11th March 2008 - 03:06 PM
Last post by: Ryan
No new   18 Inkers 546 Yesterday, 01:00 PM
Last post by: rich97
No New Posts   11 MikeHopley 423 4th April 2008 - 06:37 AM
Last post by: MikeHopley