Can someone take a look??

  • Allied77
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Apr 17, 2008
  • Posts: 40
  • Status: Offline

Post April 20th, 2008, 10:11 am

The td it's in is 100%. If I just select that row (where thegreybox is) and make it the width I want it works in IE but not FF. Does this mean that the css box will go automatically the size of the rest of the table?

If I make the box smaller in the css it DOES go smaller but centres the box. I wanted to have it at 585 but seems that i have to make it even smaller than that to be the same size as the boxes above that are 585 :lol:

any ideas?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 20th, 2008, 10:11 am

  • Allied77
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Apr 17, 2008
  • Posts: 40
  • Status: Offline

Post April 20th, 2008, 10:15 am

Woah! I think I got it:

Code: [ Select ]
.greybox {
    padding: 3px;
    background: #efefef;
    border: 1px solid #ccc;
    margin: 0px;
    width: 577px;
    float: left;

}
  1. .greybox {
  2.     padding: 3px;
  3.     background: #efefef;
  4.     border: 1px solid #ccc;
  5.     margin: 0px;
  6.     width: 577px;
  7.     float: left;
  8. }


Didn't know float is css speak for align!
Works in FF and IE now.

I had to make the box 8px smaller than the ones above it to make it work though. Why is that? Seems like it was the padding that messed with the size of the box?
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 10, 2004
  • Posts: 2194
  • Loc: Canada
  • Status: Offline

Post April 20th, 2008, 11:09 am

float isn't align lol
although, since you're using tables, float will work quite nicely :)
  • Allied77
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Apr 17, 2008
  • Posts: 40
  • Status: Offline

Post April 20th, 2008, 11:14 am

neksus wrote:
float isn't align lol
although, since you're using tables, float will work quite nicely :)


it isn't? :lol: what is it then??
  • Allied77
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Apr 17, 2008
  • Posts: 40
  • Status: Offline

Post April 20th, 2008, 4:49 pm

:hmm:

A member of this forum (XHA) was kind enough to send me an error report on my site. When tested in IE8 theres gaps all over the place (this site has problems in IE8 also btw and awhole load of other sites). Just when I got it working in IE7 with almost no problems (well..you know :wink: ) I run into awhole other set of issues. There are issues in FF2 but the absolute worst has to be IE8

http://www.juice49.com/mark/ie8b.jpg

anyone have any ideas?? I swear I'm ready to pack this in :lol: I never felt this annoying to others :lol:
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post April 20th, 2008, 5:41 pm

Lol, your not annoying... don't worry about IE8 though as it's still in BETA mode I think
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jan 02, 2007
  • Posts: 147
  • Loc: Romania
  • Status: Offline

Post April 20th, 2008, 11:53 pm

Man try to get ridd of the tables.. divs are more flexible.. tables are used these days with css for databases more rather than for actual design.. and also it takes less time building up with divs than tables:)
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post April 21st, 2008, 1:59 pm

I disagree about using tables for databases. Well, most people probably are using those things for databases because of loops, but I find looping <div>...</div> a bit easier rather than <tr><td>...</td></tr> or just the <td>...</td>... thing. But it's up to the programmer's preference.

And if you have read the second post and on from than... you would have noticed that that has being already suggested. Glad you agree though :P
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

  • Total Posts in this topic: 23 posts
  • Users browsing this forum: No registered users and 114 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.