Jump to content


Photo

not sure whats wrong


  • Please log in to reply
3 replies to this topic

#1 spyke01

spyke01
  • Members
  • PipPipPip
  • Advanced Member
  • 74 posts

Posted 25 May 2006 - 02:03 AM

i recently changed up my homebrew forum's css on [a href=\"http://www.fasttracksites.com/forum/index.php\" target=\"_blank\"]http://www.fasttracksites.com/forum/index.php[/a] and im having problems with it in FireFox, IE looks fine(usually its just the opposite). It looks like its now accepting the widths from [a href=\"http://www.fasttracksites.com/forum/themes/FTSBlue/dim.css\" target=\"_blank\"]http://www.fasttracksites.com/forum/themes/FTSBlue/dim.css[/a] this is the file that contains the dimensions of each item, the other pages(if you click on one of the forum names) they are using the same widths for the last post and such, can someone please help?

[a href="http://www.fasttracksites.com" target="_blank"]Cheap PHP Hosting[/a]

#2 Heero

Heero
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 25 May 2006 - 02:26 AM

Can you elaborate on the exact problem? I don't really understand what you are trying to say. The only real problem I see is the lack of padding in the cells.
I'm learning PHP and mySQL. Please forgive my ignorance :(

#3 spyke01

spyke01
  • Members
  • PipPipPip
  • Advanced Member
  • 74 posts

Posted 25 May 2006 - 04:09 AM

heres the problem [a href=\"http://www.fasttracksites.com/images/problem.jpg\" target=\"_blank\"]http://www.fasttracksites.com/images/problem.jpg[/a]

it looks fine in IE and opera, as in the tables dont get squished(looks looks though no width value was set), in FF its not seeing the width values that are set in the css file

[a href="http://www.fasttracksites.com" target="_blank"]Cheap PHP Hosting[/a]

#4 Heero

Heero
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 25 May 2006 - 06:28 AM

I see the problem now. Interesting. It's not that FF is not getting the values from your CSS file, but it is simply rendering it differently from IE. Like try putting like a width of 200px and you'll see FF will actually expand the cell width.

Why it does that? I don't know. A very simple, but not best solution would be to apply different widths for the two browsers. You can do this by using a star (*) hack to apply the widths only to IE.

Like if you do this

* html XXXXXX

where XXXXX is the name of the class or id then that set of properties for that class or id will apply only to IE. You can then do a normal set of properties for the other browsers.

Once again, a possible but definitely not the best solution.
I'm learning PHP and mySQL. Please forgive my ignorance :(




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users